Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
964c60d086
Apply corrections identified by SonarQube ( #8457 )
2022-05-03 22:04:37 +01:00
Šimon Brandner
df591ee835
Make everything use the KeyBindingManager
( #7907 )
2022-02-28 16:05:52 +00:00
Šimon Brandner
93a9af7b3a
Keybinding code unification #3 ( #7850 )
2022-02-23 09:12:04 +00:00
Šimon Brandner
a17d585a12
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#2 ( #7674 )
2022-01-31 15:55:45 +00:00
Šimon Brandner
57a5647079
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#1 ( #7651 )
2022-01-27 11:37:53 +00:00
UwUnyaa
debf4caade
Add a keyboard shortcut to toggle hidden event visibility when labs are enabled. ( #7584 )
...
Notes: The keyboard shortcut is control (or cmd) shift h.
Signed-off-by: Katarzyna Stachura <uwunyaa@outlook.com>
2022-01-26 16:50:47 +00:00
Šimon Brandner
1f298250b9
Make the Keyboard Shortcuts
dialog into a settings tab ( #7198 )
2022-01-17 11:53:10 +00:00
Michael Telatynski
275e9c1d02
Update space panel expand mechanism ( #7230 )
2021-12-07 09:32:00 +00:00
Michael Telatynski
ebfe38dc4a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-07-15 09:59:40 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
60e7089c77
post-merge fixes, the new keybindings stuff made it messy
2021-05-11 11:14:21 +01:00
J. Ryan Stinnett
0e92251f70
Fix simple lint errors
2021-04-23 16:28:55 +01:00
Clemens Zeidler
57cd8afbc4
Split ApplySelection into CompleteOrPrevSelection and CompleteOrNextSelection
...
When moving through the autocomplete selection list distinguish between
the following cases:
1) When there is no autocomplete window open, only open one and select
the first item when the CompleteOrPrevSelection /
CompleteOrNextSelection actions are emitted (e.g. by pressing SHIFT +
TAB, TAB)
2) Otherwise navigate through the selection list (e.g. SHIFT + TAB, TAB,
UP, DOWN)
- Remove references to raw keyboard events in autocomplete.ts
- Clarify the purpose of startSelection (previously onTab)
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-03-29 13:38:03 +13:00
Clemens Zeidler
228070f533
Fix comment style + improve comments
2021-03-13 21:57:43 +13:00
Clemens Zeidler
a8a8741c06
Make FocusRoomSearch a NavigationAction
2021-03-12 19:40:28 +13:00
Clemens Zeidler
06181221a1
Add copyright headers
2021-03-07 19:05:36 +13:00
Clemens Zeidler
71d63f016a
Fix tests that mock incomplete key events
2021-03-06 14:17:53 +13:00
Clemens Zeidler
dadeb68bbf
Fix spelling
2021-03-05 22:02:18 +13:00
Clemens Zeidler
1cfb0e99d4
Add support for multiple key bindings provider
...
- This can be used to provide custom key bindings
- Move default key bindings into its own file
2021-03-01 22:16:05 +13:00
Clemens Zeidler
ef7284e69d
Add missing JumpToOldestUnread action
2021-03-01 22:15:05 +13:00
Clemens Zeidler
601be50b71
Split KeyAction into multiple enums
...
This gives some additional type safety and makes enum member usage more
clear.
2021-03-01 21:43:00 +13:00
Clemens Zeidler
32ec8b7dc8
Add key bindings for RoomList, Room and Navigation
2021-02-28 20:13:34 +13:00
Clemens Zeidler
f29a8ef0f7
Handle shift + letter combos
2021-02-28 20:12:36 +13:00
Clemens Zeidler
54c38844d2
Use key bindings in BasicMessageComposer
2021-02-17 22:00:48 +13:00
Clemens Zeidler
c84ad9bedc
Use key binding for cancelling a message reply
2021-02-16 19:12:18 +13:00
Clemens Zeidler
12387b4978
Use the KeyBindingsManager in EditMessageComposer
2021-02-16 19:05:39 +13:00
Clemens Zeidler
4a138f3b84
Only support a single key in the KeyCombo
...
Keep it simple...
2021-02-15 19:21:08 +13:00
Clemens Zeidler
b4c5dec4e5
Use the KeyBindingsManager for the SendMessageComposer
2021-02-14 15:56:55 +13:00
Clemens Zeidler
c7f9defd12
Add simple implementation of a KeyBindingsManager + match tests
2021-02-12 22:04:33 +13:00