IssueRaiser

Opening files In same tab, new tab, or new window: A flexible & consistent UI proposal

There are three ways files can be opened: 1. Same Tab 2. New Tab 2. New Window Everyone prefers a different thing. The way to satisfy everyone is to let them configure default behavior, and to give them a an easy way to **override** the default by holding down a meta key. (This proposal is intended to apply to all platforms, but the specifics below are given only for macOS.) ## File menu: customizable `New` and `Open` behavior Safari has an "Open Pages in Tabs Instead of Windows" setting. I propose Typora have a similar setting that governs `File:New` and `File:Open` menu commands: "Open files in `same tab` | `new tab` | `new window`" (dropdown selection) Regardless of this setting, users can at any time get any of the other behaviors by holding down a meta-key while clicking on the menu command (see below).[^1] ## Sidebar navigation The sidebar is perceived as a navigation bar. People expect navigation to take place in the same view port, i.e. in the same tab. In almost all apps, including web browsers, nav bar clicks by default open items in the current tab. Meta keys can be used to get different behavior (see below). This is how most other apps work. ## Markdown link navigation Since the main task in an editor is editing, clicks on Markdown links should support editing them, either by showing the underlying link markup and placing the cursor, or as described in #1313. But users will also want to navigate the links, to preview how, for example, their websit

Posted by vassudanagunta on Oct 27, 2017, 9:05 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

reliability (Other)

Opening files In same tab, new tab, or new window: A flexible & consistent UI proposal

vassudanaguntaOct 27, 2017, 9:05 PM

There are three ways files can be opened: 1. Same Tab 2. New Tab 2. New Window Everyone prefers a different thing. The way to satisfy everyone is to let them configure default behavior, and to give them a an easy way to **override** the default by holding down a meta key. (This proposal is intended to apply to all platforms, but the specifics below are given only for macOS.) ## File menu: customizable `New` and `Open` behavior Safari has an "Open Pages in Tabs Instead of Windows" setting. I propose Typora have a similar setting that governs `File:New` and `File:Open` menu commands: "Open files in `same tab` | `new tab` | `new window`" (dropdown selection) Regardless of this setting, users can at any time get any of the other behaviors by holding down a meta-key while clicking on the menu command (see below).[^1] ## Sidebar navigation The sidebar is perceived as a navigation bar. People expect navigation to take place in the same view port, i.e. in the same tab. In almost all apps, including web browsers, nav bar clicks by default open items in the current tab. Meta keys can be used to get different behavior (see below). This is how most other apps work. ## Markdown link navigation Since the main task in an editor is editing, clicks on Markdown links should support editing them, either by showing the underlying link markup and placing the cursor, or as described in #1313. But users will also want to navigate the links, to preview how, for example, their websit

Comments (0)

No comments yet. Start the discussion.

Comment on this issue