Travis Ralston
07030a9466
Merge branch 'develop' into travis/react-warnings/3-componentCannotDidMount
2020-04-01 11:14:19 -06:00
Michael Telatynski
8bc54ae205
Only auto-scroll to RoomTile when clicking on RoomTile or via shortcuts
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-01 10:08:26 +01:00
Travis Ralston
0a6f54da33
Label and use UNSAFE_componentWillMount to minimize warnings
...
These TODO comments are expected to be fixed ASAP, but until that happens let's minimize the errors in the console for development.
For https://github.com/vector-im/riot-web/issues/12877
These all aren't using componentDidMount because they do something which causes application instability if componentDidMount were used. Much of these calls are expected to move into constructors once they are converted to real classes.
2020-03-31 14:15:23 -06:00
Bruno Windels
cef1fd55b2
Merge pull request #4260 from matrix-org/bwindels/filtercanon-altaliases
...
Fix: filter room list (again) by canonical and alternative aliases
2020-03-23 12:48:03 +00:00
Bruno Windels
51c78809e6
filter room list by canonical and alternative aliases
2020-03-23 12:34:23 +01:00
Michael Telatynski
4da7ce10de
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 23:15:05 +00:00
Michael Telatynski
578b3f2b97
Improve Keyboard Shortcuts. Add alt-arrows & alt-shift-arrows.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 19:07:33 +00:00
Michael Telatynski
6137e5d5d8
Fix typo in tabIndex to make React happy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-13 17:52:06 +00:00
Marco Zehe
3bff5c55cf
Remove extraneous tab stop from room tree view.
...
This was introduced some time ago when the room list became scrollable. Divs with overflow:scroll; become focusable for the keyboard in Firefox, but since we have keyboard handling for the whole compound widget, we don't need that tab stop on the tree view container div. Putting tabindex="-1" on it fixes it.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-03-10 16:24:42 +01:00
Michael Telatynski
a1908a208e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/alpha_room_list
...
Conflicts:
src/components/views/rooms/RoomList.js
src/stores/RoomListStore.js
2020-02-26 23:02:06 +00:00
Travis Ralston
866ed68615
Ensure DMs tagged outside of account data work in the invite dialog
...
Fixes https://github.com/vector-im/riot-web/issues/12418
Includes a refactor so we don't need to litter the code with the same magic string for DM tags.
2020-02-24 19:43:49 -07:00
Michael Telatynski
8087f18bf7
Remove unused props
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-14 10:32:42 +00:00
Zoe
75da5b7944
Design pass for room icons
2020-01-24 13:37:47 +00:00
Michael Telatynski
2c6fe78012
Fix roving room list for resizer and ff tabstop a11y
2020-01-22 10:36:20 +00:00
Michael Telatynski
0bcfe5819f
Integrate handleHomeEnd
2020-01-20 20:31:36 +00:00
Michael Telatynski
2230b7732a
rearrange
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-16 01:45:16 +00:00
Michael Telatynski
781db63fa6
split out home/end handling into a helper as not all roving-tab-index widgets want it
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-16 01:35:42 +00:00
Michael Telatynski
2b37fe7624
do some renaming
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-16 00:40:08 +00:00
Michael Telatynski
e6ab18c9ba
Merge branches 'develop' and 't3chguy/roving' of github.com:matrix-org/matrix-react-sdk into t3chguy/roving
...
Conflicts:
src/components/views/rooms/RoomList.js
2020-01-16 00:31:43 +00:00
Michael Telatynski
5252cf4c45
Implement roving tab index context based magic thing and demo on LeftPanel
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-15 02:44:22 +00:00
Travis Ralston
135c84251c
Fix more imports post-merge
2020-01-09 14:19:19 -07:00
Travis Ralston
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00
Travis Ralston
59f608ffd6
Merge pull request #3761 from matrix-org/travis/babel7-wp-es6-export
...
Convert CommonJS exports to ES6 exports
2020-01-08 09:09:11 -07:00
Michael Telatynski
e552195701
Fix duplicate Incoming Call prompt on Community Invite sublist
2019-12-23 17:57:53 +00:00
Travis Ralston
f1ac3d2f64
Convert imports to ES6 from CommonJS
...
This is needed because `require()` means something different in webpack - it ends up importing the module as something we didn't expect (and is occasionally async)
2019-12-22 21:16:06 -07:00
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -07:00
Travis Ralston
344dac4fb9
Convert CommonJS exports to ES6-compatible exports
...
We use `export default` begrudgingly here. Ideally we'd use just `export`, though this entire SDK expects things to be exported as a default. Instead of breaking everything, we'll sacrifice our export pattern for a smaller diff - a later commit can always do the default export -> regular export conversion.
2019-12-22 21:01:02 -07:00
Michael Telatynski
24a1017d6d
Fix typo in comment
2019-12-21 20:26:32 +00:00
Michael Telatynski
e936f7eb09
Fix room list filtering weird case sensitivity
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-21 11:13:37 +00:00
Michael Telatynski
e54429680b
tidy up
2019-12-19 15:28:11 +00:00
Michael Telatynski
26980e2ad5
apply unhomoglyph when filtering room list to fuzzify it
2019-12-19 15:26:04 +00:00
Travis Ralston
225695ab5c
Fix exports for rate limited functions and MatrixClientPeg
...
MatrixClientPeg in particular doesn't work very well with this.
2019-12-12 19:33:08 -07:00
Michael Telatynski
9c63be7dc4
Remove wrapping div around RoomList to fix regression with scrollbars
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:32:14 +01:00
Michael Telatynski
3400808f6e
Use navigation treeview aria pattern for roomlist sublists and tiles
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-17 15:53:39 +01:00
Michael Telatynski
2de88449aa
Clean up RoomSubList from stale unused code paths
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-14 16:08:56 +01:00
Michael Telatynski
2621ad1b43
Group room tiles in room sub list in the room list for ARIA
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 16:04:43 +01:00
Bruno Windels
68dde07f49
make add room button go to create room dialog instead of room directory
2019-09-10 11:59:59 +02:00
Michael Telatynski
70ff2bc9cd
Switch to createReactClass: views/rooms and test/components. React 16 :D
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 15:04:46 +01:00
Travis Ralston
c2c55e06e6
Add voice labels for quick add room buttons
...
See https://github.com/vector-im/riot-web/issues/9747
2019-05-21 12:16:34 -06:00
Bruno Windels
41c5582a7b
make resizeNotifier optional so tests don't fail
2019-03-28 17:56:12 +01:00
Bruno Windels
bab2730d40
use ResizeNotifier as well to relayout room list
2019-03-15 10:16:21 +01:00
Bruno Windels
ab6535b135
lint
2019-02-11 16:27:29 +01:00
Bruno Windels
fbc0bbfb6f
clear hover flag after 1000ms of not moving the mouse
...
as a fix for #8184
2019-02-11 16:17:15 +01:00
Bruno Windels
2eff03ba78
fix whitespace
2019-02-08 12:03:58 +00:00
Bruno Windels
e8533beafb
guard custom tags with feature flag
2019-02-07 18:07:30 +00:00
Bruno Windels
87ddb8a453
Merge pull request #2575 from matrix-org/bwindels/customtags
...
Bring back custom tags, also badges on communities
2019-02-07 11:37:17 +00:00
Bruno Windels
1a1f8bdf82
fix wrong way of unregistering from store
2019-02-06 14:24:17 +00:00
Bruno Windels
414fffba3f
only show selected custom tags in room list
2019-02-05 17:38:36 +00:00
Bruno Windels
f029aad9fa
rename to getLayout
2019-02-04 18:38:31 +00:00
Bruno Windels
d30ff13c18
pass the layout to the resizer as a lamba to avoid having the wrong layout when filtering
2019-02-04 15:09:44 +00:00