Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Improve Keyboard Shortcuts. Add alt-arrows & alt-shift-arrows #4241

Merged
merged 8 commits into from
Mar 20, 2020

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Mar 19, 2020

Fixes element-hq/element-web#301

  • scroll to room tile so its visible when the room is active
  • expand room sublist when we enter it so we can see the room

Test build: https://riots.im/adhoc/shortcuts2/
The new test build (v2) no longer disables RLS' stickyRoom so expect that failure mode until element-hq/element-web#11743 is fixed.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
…x-org/matrix-react-sdk into t3chguy/shortcuts1
@ara4n
Copy link
Member

ara4n commented Mar 19, 2020

If you order rooms by unread, it's a bit surprising that as you flip through the rooms you mark them read... and so their position jumps to the read section of the list, so if you're trying to alt-up/down through the list one by one, it's a bit surprising that the list jumps around from under you.

Not sure what the right solution to that is, other than possibly debouncing the jumps somehow?

@t3chguy
Copy link
Member Author

t3chguy commented Mar 19, 2020

I believe that is what sticky room is meant to do, I disabled it in the test build as it's very very jumpy when switching successively

…croll event

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@t3chguy t3chguy requested a review from a team March 19, 2020 23:19
@t3chguy t3chguy marked this pull request as ready for review March 19, 2020 23:19
@dbkr dbkr requested review from dbkr and removed request for a team March 20, 2020 10:13
@bwindels bwindels added the X-Release-Blocker This affects the current release cycle and must be solved for a release to happen label Mar 20, 2020
…x-org/matrix-react-sdk into t3chguy/shortcuts1
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@t3chguy t3chguy requested a review from dbkr March 20, 2020 16:01
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ace, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
X-Release-Blocker This affects the current release cycle and must be solved for a release to happen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard shortcut to jump to next room with unread messages
4 participants