Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Dynamic tabs wrapper for views #70

Open
miguelrk opened this issue Jun 19, 2020 · 1 comment
Open

[UI] Dynamic tabs wrapper for views #70

miguelrk opened this issue Jun 19, 2020 · 1 comment
Labels
enhancement New feature or functionality prio:low

Comments

@miguelrk
Copy link
Contributor

Problem
Switching between TDs/SDs/Folders is somewhat cumbersome for the users, as he must save before switch, or all edits (e.g. in editor) will be lost.

Solution
A dynamically tabbed interface similar to that of code editors like vscode can be implemented, such that a new tab is created when the user clicks (or double clicks) an item in the left tree-view, a new tab is created. Users can then perform edits, switch tabs, return and changes will be there (although not saved) until manually saved (see bellow).

wade-tabs-dynamic

A keyboard shortcut to save current view edits with Cmd/Ctrl + S could be done as follows:

// 83 corresponds to the "S" character in the ASCII Table
@keydown.ctrl.83="save()"
@keydown.meta.83="save()" // On Macintosh keyboards, meta is the command key (⌘).
@eileenoo
Copy link
Collaborator

Problem
Switching between TDs/SDs/Folders is somewhat cumbersome for the users, as he must save before switch, or all edits (e.g. in editor) will be lost.

Solution
A dynamically tabbed interface similar to that of code editors like vscode can be implemented, such that a new tab is created when the user clicks (or double clicks) an item in the left tree-view, a new tab is created. Users can then perform edits, switch tabs, return and changes will be there (although not saved) until manually saved (see bellow).

wade-tabs-dynamic

A keyboard shortcut to save current view edits with Cmd/Ctrl + S could be done as follows:

// 83 corresponds to the "S" character in the ASCII Table
@keydown.ctrl.83="save()"
@keydown.meta.83="save()" // On Macintosh keyboards, meta is the command key (⌘).

Cool idea! Sounds like a lot of work though 😄
Adding some kind of keyboard commands could be a good first step!

@eileenoo eileenoo added enhancement New feature or functionality prio:low labels Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or functionality prio:low
Projects
None yet
Development

No branches or pull requests

2 participants