Repository navigation
Replies: 1 comment 2 replies
|
A question. When you traverse the sidebar shelf, and have a thread selected. Does the system focus move into context menus when keyboard based context is invoked ie the same as 2 finger click or right click? On windows you can right click or press shift + f10 or applications key. Reason I ask is that if the system focus isn't transferred through, the context menu items are not able to be accessed via keyboard either, requiring mouse intervention when a context menu is invoked either via mouse click or keyboard activated. This would mean arrow keys cant move up and down within the context menu for a thread. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
thread.nextandthread.previous(Cmd+Shift+]andCmd+Shift+[by default) walk the sidebar in its order: pinned, active, Working, Snoozed, Settled. They only walk rows that are drawn, though. A collapsed shelf, which is the default, is skipped entirely, so a snoozed or settled thread cannot be reached from the keyboard without first opening its shelf with the mouse.Proposal
Let next and previous walk every shelf, collapsed or not, in the same order.
Cmd+1toCmd+9keep numbering only the drawn rows, so their hints stay correct.No new command, binding, or setting.
Prototype
Branch: imqdee/t3code@main...sidebar-traversal-collapsed-shelves (about 70 lines in
Sidebar.tsxandSidebar.logic.ts, plus tests inSidebar.logic.test.ts).Walk from the last active thread into the collapsed Snoozed and Settled shelves and back (slowed 2x, test data):
MP4 version
Questions
thread.previousnow lands on the last settled thread instead of the last active one. Is that acceptable?If the direction and scope look right, I will open the PR against this proposal.
Related
All reactions