[FR] Tabs improvements
Description
This is a master issue for any improvement related to the Tabs implementation.
Features:
- [ ] Restore tabs on restart (#3036)
- [ ] Drag and drop to reorder tabs
- [x] Shortcuts for opening and closing tabs
CTRL + Wto close current tabTertiary Clickon menu item to open a new tabCTRL/CMD + Left clickclick to open a new tabCTRL/CMD + PGUP/CTRL /CMD+ PGDNto navigate between tabs
This relates to #2312
Impact
Better experience when frequently using tabs
Additional Context
No response
What if I use a trackpad without a mouse?
@annieappflowy I did suggest a double-click but it's probably harder to implement than for mmb.
I think we also need navigating between tabs with a keyboard, i.e. CTRL+TAB and CTRL+SHIFT+TAB.
CTRL + left click or right click -> open in new tab is usually how you would do so without using the middle mouse button.
Personally, I use CTRL + PGUP and CTRL + PGDN to navigate between tabs.
What if I use a trackpad without a mouse?
Then you right click and click open in a new tab... :eyes: - Or hold CTRL/CMD + Left Click
Edit: I can see right click doesn't open the menu items action menu, I'll check if there's an existing issue or create one.
@annieappflowy I did suggest a double-click but it's probably harder to implement than for mmb.
I think we also need navigating between tabs with a keyboard, i.e. CTRL+TAB and CTRL+SHIFT+TAB.
The problem with double clicking is, that it is basically implemented using debounce, which means single taps will have some delay lag, which I'm not a huge fan of.
CTRL + left click or right click -> open in new tab is usually how you would do so without using the middle mouse button.
Personally, I use CTRL + PGUP and CTRL + PGDN to navigate between tabs.
Will implement both CTRL + Left Click and Ctrl + PGUP/Ctrl + PGDN
https://github.com/AppFlowy-IO/AppFlowy/issues/6109
https://github.com/AppFlowy-IO/AppFlowy/issues/6279
I would also like for us to be able to open a page link (inside a document) in a new tab using MMB.