Jorik Schellekens
1dd9c1eea3
Use avatar sisze inplace
2020-07-01 12:28:32 +01:00
Jorik Schellekens
de7df7dcf9
Lint
2020-07-01 12:28:00 +01:00
Jorik Schellekens
1889ee202b
Add tooltips for breadcrumbs
2020-07-01 12:23:27 +01:00
Travis Ralston
ad982624fe
Remove context menu on invites in new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14198
For both, the decision has been made to not have a context menu pending further considerations of where invites should (and should not) be. Likely this will be dealt with in FTUE Notifications.
2020-06-30 19:43:00 -06:00
Travis Ralston
0868af650a
Appease the linter
2020-06-30 19:37:00 -06:00
Travis Ralston
d402808101
Disable use of account-level ordering options in new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14069
We can't drop them completely for compatibility with the old room list.
2020-06-30 19:31:59 -06:00
Travis Ralston
7674030c6e
Show 'show more' when there are less tiles than the default
...
For example, if you only have 3/10 rooms required for the default then resize smaller, we should have a 'show more' button.
This works by changing the rendering to be slightly more efficient and only looping over what is seen (renderVisibleTiles(), using this.numTiles in place of tiles.length) and using a new setVisibleTilesWithin() function on the layout. Previously resizing the 3/10 case would be setting visibleTiles to ~8 instead of ~1 like it should (because the getter returns a default).
2020-06-30 19:14:36 -06:00
Jorik Schellekens
aab372c648
Add tooltips
2020-07-01 01:50:31 +01:00
Jorik Schellekens
d2fb30a211
Hide scrollbar without pixel jumping
2020-06-30 23:52:13 +01:00
Jorik Schellekens
2379ec577c
Lint semicolons
2020-06-30 23:39:25 +01:00
Jorik Schellekens
0904ae8c7a
Bug fixes
2020-06-30 23:35:59 +01:00
Jorik Schellekens
dcd51b5be3
Implement breadcrumb notifications and scrolling
2020-06-30 23:24:46 +01:00
J. Ryan Stinnett
b456529c3e
Merge pull request #4860 from matrix-org/jryans/read-marker-jump-invis-2
...
Fix jumping to read marker for events without tiles
2020-06-30 23:01:19 +01:00
Michael Telatynski
508dea1c89
Wire up Notifications context menu on room tile 2
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-30 22:53:30 +01:00
Michael Telatynski
198958dcdd
Iterate to match figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-30 22:32:59 +01:00
Michael Telatynski
cbd2a9cd35
Redo Iconized Context Menu styling to match Figma and simplify future a11y work by flattening the DOM
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-30 22:11:12 +01:00
Michael Telatynski
2a12fd1f6e
Fix User context menu alignment to match Figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-30 21:58:54 +01:00
Michael Telatynski
fe4cf9f9b4
Merge branches 'develop' and 't3chguy/room-list/2' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/2
2020-06-30 21:16:37 +01:00
Travis Ralston
782a555e44
Make badges represent old list behaviour
...
Fixes https://github.com/vector-im/riot-web/issues/14160
2020-06-30 13:45:10 -06:00
Travis Ralston
393eaf84c3
Move notification states out of the NotificationBadge component
...
Fixes https://github.com/vector-im/riot-web/issues/14153
2020-06-30 13:34:44 -06:00
J. Ryan Stinnett
51118863c7
Fix jumping to read marker for events without tiles
...
It is possible for your read marker to be set to an event without a tile (like a
reaction). We would still render the read marker at the position of those events
in the timeline, even though there's no matching tile, which breaks a core
assumption of jump to read marker path: it assumes that if the read marker node
is present in the DOM, then there must also be an event tile with a scroll token
matching the event ID.
This fixes the situation by setting a scroll token on the read marker so it can
always be scrolled to, no matter what kind of event it might represent.
Fixes vector-im/riot-web#10975
2020-06-30 18:40:52 +01:00
David Baker
2247400010
Merge pull request #4847 from matrix-org/dbkr/recovery_key_upload_2
...
Add file upload button to recovery key input
2020-06-30 18:06:12 +01:00
David Baker
7caf2d5459
remove rogue blank line
2020-06-30 17:56:50 +01:00
David Baker
21c5c745c1
Merge pull request #4831 from matrix-org/dbkr/recovery_key_passphrase_2
...
Implement new design on security setup & login
2020-06-30 17:55:03 +01:00
Michael Telatynski
f269aefe18
Merge pull request #4855 from matrix-org/t3chguy/download_toast
...
Add Generic Expiring Toast and timing hooks
2020-06-30 17:02:04 +01:00
Michael Telatynski
446f3e35e9
Merge pull request #4846 from matrix-org/t3chguy/notifications0
...
Fix Room Custom Sounds regression and make ProgressBar relevant again
2020-06-30 16:56:57 +01:00
Michael Telatynski
cd06910713
Merge pull request #4854 from matrix-org/t3chguy/fix-redirect-loop
...
Including start_sso and start_cas in redirect loop prevention
2020-06-30 16:56:38 +01:00
Michael Telatynski
54419878fa
Add room notifications context menu and non-default indicator to RoomTile2
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-30 00:16:51 +01:00
Michael Telatynski
adf186f568
Fix RoomTile2 Context Menu to match Figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-29 23:03:44 +01:00
Travis Ralston
bb9ae7b55b
Merge pull request #4850 from matrix-org/travis/room-list/todo-cleanup
...
Clean up TODO comments for new room list
2020-06-29 13:10:52 -06:00
Michael Telatynski
b2b909aa53
Including start_sso and start_cas in redirect loop prevention
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-29 15:40:20 +01:00
Michael Telatynski
1a1b7e5e70
Add Generic Expiring Toast
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-29 11:38:50 +01:00
J. Ryan Stinnett
d1d4bef795
Merge pull request #4622 from aaronraimist/redaction-timestamp
...
Show timestamp of redaction on hover
2020-06-29 11:10:25 +01:00
Travis Ralston
175ade8ac4
Merge branch 'develop' into travis/room-list/todo-cleanup
2020-06-28 20:04:41 -06:00
Travis Ralston
ee2c216c4d
Clean up TODO comments for new room list
...
All relevant TODOs should still be present, and reference an issue for easy finding.
2020-06-28 20:03:04 -06:00
Travis Ralston
753f7aa5b8
Remove the DM button from new room tiles
...
Fixes https://github.com/vector-im/riot-web/issues/14221
2020-06-27 22:48:54 -06:00
☕ Tim
c8381021b8
Hide room list show less button if it would do nothing
...
Signed-off-by: ☕ Tim <tim@wants.coffee>
On the new rooms list, if the show less button wouldn't result in a
smaller list, don't show it.
Fixes vector-im/riot-web#14219
2020-06-28 04:08:06 +08:00
Michael Telatynski
10492fe72f
fix StyledRadioGroup React key warning
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-27 18:30:15 +01:00
David Baker
0579c9f748
Fix tests
2020-06-26 20:25:38 +01:00
David Baker
916f606872
Apparently we need to null check here
2020-06-26 19:07:39 +01:00
David Baker
5f2127ddf5
Disable spellcheck on the recovery key entry
2020-06-26 18:55:23 +01:00
David Baker
24baf19d65
Set field validity (ie. border colour) correctly
...
Changes flagInvalid to forceValidity which can force valid as well
as invalid.
2020-06-26 18:50:05 +01:00
David Baker
b74674ced8
Right name for security key and fix cancel button
2020-06-26 18:04:06 +01:00
Michael Telatynski
cf3c914382
Merge branches 'develop' and 't3chguy/notifications0' of github.com:matrix-org/matrix-react-sdk into t3chguy/notifications0
2020-06-26 15:35:36 +01:00
David Baker
15ebaa1470
Port recovery key upload button to new designs
2020-06-26 15:22:04 +01:00
Travis Ralston
67cc84d00d
Merge branch 'develop' into travis/room-list/preview-copy
2020-06-26 07:29:49 -06:00
Travis Ralston
3abc9d8d56
Merge branch 'develop' into travis/room-list/tag-panel
2020-06-26 07:26:57 -06:00
Travis Ralston
424443927f
Merge pull request #4843 from matrix-org/travis/room-list/user-menu
...
Make the whole user row clickable in the new room list
2020-06-26 07:25:50 -06:00
Michael Telatynski
72035c8078
Make <ProgressBar /> relevant again
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-26 14:19:58 +01:00
Michael Telatynski
46058a17f8
Fix Room Custom Sounds regression
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-26 14:18:38 +01:00
David Baker
f4460ca78f
Merge remote-tracking branch 'origin/develop' into dbkr/recovery_key_passphrase_2
2020-06-26 13:12:06 +01:00
David Baker
178cbca934
Use mask images in key entry dialogs
2020-06-26 12:56:41 +01:00
David Baker
e18ea55d20
Convert icons to masks
...
so they're a sensible colour in other themes
2020-06-26 12:41:24 +01:00
Andrew Morgan
77b618e4f3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into anoa/new_spinner
...
* 'develop' of github.com:matrix-org/matrix-react-sdk:
bandaid
make js-sdk import happy?
ts-ignore because something is made of fail
js-sdk imports suck
Iterate on the new room list resize handle
Welcome no longer needs any props
unexport things which need not exporting
Instead of passing sso and cas urls to Welcome, route via start_sso and start_cas
Move to mx_sso_hs_url and co for sso persistance to not conflict with guest creds
Fix Welcome.html URLs
improve typing
Add account and room-account data hooks
Create a StaticNotificationState for representative purposes
Add StyledRadioGroup to simplify use of StyledRadioButton and use in Appearance Tab
2020-06-26 10:17:26 +01:00
Michael Telatynski
113dfc5ed2
Merge pull request #4845 from matrix-org/t3chguy/hf1
...
ts-ignore because something is made of fail
2020-06-26 10:10:18 +01:00
Andrew Morgan
96e4b938b2
Don't modify the size of the MessagePanel spinner
2020-06-26 09:42:44 +01:00
Michael Telatynski
a905028d3a
bandaid
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-26 09:37:55 +01:00
Michael Telatynski
274e6f3825
make js-sdk import happy?
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-26 09:35:29 +01:00
Andrew Morgan
228a6adfdf
indentation
2020-06-26 09:27:33 +01:00
Michael Telatynski
9391d151f3
ts-ignore because something is made of fail
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-26 09:15:02 +01:00
Michael Telatynski
538c853149
Merge pull request #4838 from matrix-org/t3chguy/hf1
...
Fix Welcome.html CAS and SSO URLs not working
2020-06-26 09:09:39 +01:00
Travis Ralston
7ce3cc1db7
Allow the tag panel to be disabled in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14156
2020-06-25 20:35:40 -06:00
Travis Ralston
555758d3d2
Remove extra space
2020-06-25 20:23:37 -06:00
Travis Ralston
1888cda5ee
Remove debug
2020-06-25 20:22:41 -06:00
Travis Ralston
588fea3a9b
Make the menu show up where it was before
2020-06-25 19:55:08 -06:00
Travis Ralston
411271422c
Make the whole UserMenu a button to open the menu
2020-06-25 19:54:17 -06:00
Travis Ralston
bcfdd4d984
Move all of the UserMenu into the UserMenu component
2020-06-25 19:38:11 -06:00
Travis Ralston
dafce40d1b
Rename UserMenuButton to UserMenu for new scope
2020-06-25 19:29:12 -06:00
Andrew Morgan
b00d822bc0
Remove alt, use aria-label
2020-06-26 01:22:49 +01:00
Andrew Morgan
87f961df3f
Put behind a labs flag
2020-06-26 01:22:46 +01:00
Andrew Morgan
6ea5dc7b7c
Change the look of the spinner
2020-06-26 01:19:38 +01:00
Michael Telatynski
6116cfc2b9
js-sdk imports suck
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 23:52:32 +01:00
Michael Telatynski
85c5bb3bc3
Merge pull request #4835 from matrix-org/t3chguy/notifications0
...
More small tweaks in preparation for Notifications rework
2020-06-25 23:34:28 +01:00
Travis Ralston
30489ce819
Merge pull request #4840 from matrix-org/travis/room-list/resizer-2
...
Iterate on the new room list resize handle
2020-06-25 16:27:39 -06:00
Travis Ralston
acf56559e1
Introduce an entirely new system for handling message preview copy
...
This reverts earlier changes made to textForEvent as they are no longer needed.
This also implements an entire tree of textForEvent-like behaviour as the previews need to be different, which is easiest done with its own stack.
2020-06-25 16:26:49 -06:00
Travis Ralston
326fa8be7d
Merge pull request #4837 from matrix-org/travis/room-list/hover-states
...
Update sublists for new hover states
2020-06-25 16:05:25 -06:00
Travis Ralston
555078a993
Iterate on the new room list resize handle
...
Only show shadow when resizing, increase the hit area, and make the handle show up when the list itself is hovered.
2020-06-25 16:03:56 -06:00
Travis Ralston
7b79dd6be1
Make the sign out button red
2020-06-25 15:13:28 -06:00
Michael Telatynski
29b0505bdb
Welcome no longer needs any props
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 22:02:39 +01:00
Michael Telatynski
c65ccbcacf
Instead of passing sso and cas urls to Welcome, route via start_sso and start_cas
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 22:00:22 +01:00
Michael Telatynski
1c00ae8dd3
Move to mx_sso_hs_url and co for sso persistance to not conflict with guest creds
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 21:59:46 +01:00
Michael Telatynski
3524d678f7
Fix Welcome.html URLs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 21:24:24 +01:00
Travis Ralston
0af1507eed
Update sublists for new hover states
...
Fixes https://github.com/vector-im/riot-web/issues/14135
Unblocks https://github.com/vector-im/riot-web/issues/14089
2020-06-25 12:11:10 -06:00
Travis Ralston
5efa5d2c80
Implement new resize handle for dogfooding
...
Smaller handle width, small shadow on the top of the show more button if there's more rooms to be shown. The resize handle also only shows when you're hovering in the area now.
The original design called for the shadow to show up only if the user is cutting a tile or dragging, however that is complicated implementation-wise. For speed and encouraging a dogfooding pattern we're going ahead with this behaviour instead.
2020-06-25 10:08:44 -06:00
Travis Ralston
c920cf784e
Create a StaticNotificationState for representative purposes
2020-06-25 16:35:54 +01:00
Michael Telatynski
ed634a2bde
Add StyledRadioGroup to simplify use of StyledRadioButton and use in Appearance Tab
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 16:35:40 +01:00
David Baker
78f750265c
Remove unused code
...
No reset option here anymore
2020-06-25 16:33:07 +01:00
Michael Telatynski
7683f2fe1a
Merge pull request #4834 from matrix-org/t3chguy/notifications0
...
Hide app badge count for hidden upgraded rooms (non-highlight)
2020-06-25 15:43:50 +01:00
David Baker
648c0c28c2
Add placeholder to security phrase input
2020-06-25 15:36:06 +01:00
Michael Telatynski
61618d5162
tidy up
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 15:02:52 +01:00
Jorik Schellekens
a2d53229ea
Merge pull request #4822 from matrix-org/joriks/appearance-tab-compact-to-advanced
...
Move compact modern layout checkbox to 'advanced'
2020-06-25 14:38:18 +01:00
Travis Ralston
4d47dcaabd
Merge pull request #4825 from matrix-org/travis/room-list/default-lists
...
Allow the user to resize the new sublists to 1 tile
2020-06-25 07:18:26 -06:00
Travis Ralston
92f0f1a5d8
Merge pull request #4832 from matrix-org/travis/react-can-shush
...
Make LoggedInView a real component because it uses shouldComponentUpdate
2020-06-25 07:17:56 -06:00
Travis Ralston
a3b38a2b5f
Make LoggedInView a real component because it uses shouldComponentUpdate
...
React demands this.
2020-06-25 07:14:02 -06:00
David Baker
2b144a846a
Apply some of the newer styling to passphrase / recovery key entry
2020-06-25 12:44:15 +01:00
Michael Telatynski
edd09f66d1
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/notifications0
2020-06-25 08:45:32 +01:00
Michael Telatynski
dc099efb19
make Notifier getSoundForRoom synchronous
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-25 08:43:35 +01:00
Travis Ralston
90ff4585d5
Remove extraneous debug from the new left panel
2020-06-24 20:14:01 -06:00
Travis Ralston
37a415693f
Allow the user to resize the new sublists to 1 tile
...
For dogfooding https://github.com/vector-im/riot-web/issues/14137
To change the default: `localStorage.setItem("mx_dogfood_rl_defTiles", 4);`
2020-06-24 20:08:26 -06:00
Travis Ralston
752b2acc56
Move MessagePreviewStore into the room list namespace
2020-06-24 19:51:55 -06:00