Michael Telatynski
85f2f46d13
fix tests
2020-08-29 13:38:28 +01:00
Michael Telatynski
646c9f1a83
Fix this contexts
2020-08-29 13:19:05 +01:00
Michael Telatynski
517dee413e
Delint
2020-08-29 12:57:11 +01:00
Michael Telatynski
78812b6f85
Fix some stuff
2020-08-29 12:53:04 +01:00
Michael Telatynski
34b960d8cb
fix naming conflict
2020-08-29 12:17:50 +01:00
Michael Telatynski
72498df28f
Remove create-react-class
2020-08-29 12:14:16 +01:00
Michael Telatynski
672d0fe97b
Remove redundant components and devDependencies
2020-08-29 12:09:07 +01:00
Travis Ralston
275ff6b41e
Wire up the invite button
2020-08-28 20:08:12 -06:00
Travis Ralston
35e4d89545
Add aria labels to menu options
2020-08-28 20:04:19 -06:00
Michael Telatynski
9ba33c7f80
Fix eslint ts override tsx matching and delint
2020-08-29 01:11:08 +01:00
Travis Ralston
02095389e7
Add structure for mixed prototype UserMenu
2020-08-28 17:03:17 -06:00
Travis Ralston
01b0acbe62
Make the UserMenu echo the current community name
2020-08-28 16:14:08 -06:00
Travis Ralston
90d9d7128d
Use FlairStore's cache for group naming
...
Turns out GroupStore doesn't really know much.
2020-08-28 14:56:59 -06:00
Travis Ralston
e68c4efd0b
Merge branch 'travis/copy2' into travis/communities/proto/userinfo
2020-08-28 13:54:03 -06:00
Travis Ralston
6f237161fd
Appease the linter
2020-08-28 13:28:54 -06:00
Travis Ralston
e58b514803
Add clarifying text to DM dialog about what is about to happen
2020-08-28 13:22:20 -06:00
Michael Telatynski
1fc55b33c1
Stash lodash import optimization
2020-08-28 18:53:43 +01:00
Michael Telatynski
2823156ef6
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/display-capture
2020-08-28 17:26:10 +01:00
Michael Telatynski
b9cfa95ceb
Add display-capture to iframe allow
2020-08-28 17:06:56 +01:00
Travis Ralston
cc2fc911af
Minor copy addition to DM dialog for communities prototype
2020-08-28 10:03:27 -06:00
Travis Ralston
52e095fa61
Merge pull request #5151 from matrix-org/travis/copy-change
...
Update create room dialog copy & community prototype home icon
2020-08-28 09:47:53 -06:00
Travis Ralston
f038103f97
Fix copy
2020-08-28 09:47:36 -06:00
J. Ryan Stinnett
e2acec6059
Merge pull request #5149 from matrix-org/jryans/defer-cross-signing-setup
...
Migrate to new, separate APIs for cross-signing and secret storage
2020-08-28 12:40:35 +01:00
Travis Ralston
3c176f762e
Remove disabled clear button from tag panel + dead code
2020-08-27 14:27:06 -06:00
Travis Ralston
bbd343f414
Fix clicking the background of the tag panel not clearing the filter
...
Fixes https://github.com/vector-im/element-web/issues/12988
2020-08-27 14:17:55 -06:00
Travis Ralston
be1de1d295
Update create room dialog copy
2020-08-27 13:49:40 -06:00
Michael Telatynski
bf3c49b8df
Remove redundant CSS rules
2020-08-27 10:46:29 +01:00
Michael Telatynski
89ec90cf04
Rewrite useLocalStorageState hook
2020-08-27 10:27:27 +01:00
resynth1943
2c20afc047
Fix lodash imports
...
Signed-off-by: resynth1943 <resynth1943@tutanota.com>
2020-08-26 23:23:18 +01:00
Travis Ralston
4f29770adb
Force the GroupStore to update after creating a prototype community
2020-08-26 11:02:14 -06:00
Travis Ralston
027f263589
Remove prototype code from CreateGroupDialog
...
The prototype code paths prevent users from ending up here, so we don't need custom code.
2020-08-26 11:01:58 -06:00
nurjinn jafar
95051a42b1
checking for unreadMessages before sending confetti
...
throwing the confetti on the sender's side
change sendHtmlMessage to sendTextMessage in slashCommands
2020-08-26 18:56:23 +02:00
Travis Ralston
c28134eb11
Associate created rooms with the selected community
2020-08-26 10:53:06 -06:00
Travis Ralston
fd71bca7c0
Change menu label if in a community
2020-08-26 10:33:05 -06:00
Travis Ralston
b294ec6427
Merge pull request #5145 from matrix-org/travis/communities/proto/switcher
...
Communities v2 prototype: Tag panel selection changes
2020-08-26 10:22:50 -06:00
Travis Ralston
82949c038a
Merge pull request #5144 from matrix-org/travis/communities/proto/create-flow
...
Communities v2 prototype: Create community flow
2020-08-26 09:07:17 -06:00
Travis Ralston
82b015bd5f
Rename components to match prior convention
2020-08-26 08:52:39 -06:00
Travis Ralston
3e7d82b421
Change tip copy
2020-08-26 08:48:01 -06:00
Travis Ralston
0c67a42b0f
Make padding only on the prototype tag panel
2020-08-26 08:42:26 -06:00
Travis Ralston
20c562c208
Change user avatar to a home icon
2020-08-25 21:46:26 -06:00
Travis Ralston
c9e967f05c
Don't override UserMenu with group changes
2020-08-25 21:21:16 -06:00
Travis Ralston
56c7f86983
Add an invite users to community step to dialog flow
2020-08-25 21:08:31 -06:00
Travis Ralston
7c1a9993e3
Add new create group dialog
2020-08-25 21:08:24 -06:00
Travis Ralston
8feda74156
Wire up TagPanel's create button to the dialog
2020-08-25 21:08:19 -06:00
Travis Ralston
65fe562cbf
Select new tag after creating the group
2020-08-25 21:08:12 -06:00
Travis Ralston
2d4ac548d0
Override invite metadata if the server wants a group profile
2020-08-25 21:03:11 -06:00
nurjinn jafar
5753c96431
a workaround to make ocnfetti work on recipient side.
...
changed the implementation of on.Event.decrypted function
2020-08-25 16:39:57 +02:00
J. Ryan Stinnett
a732c55797
Add secret storage readiness checks
...
This visits all places that were checking for cross-siging readiness and adapts
them to also check for secret storage readiness if needed.
Part of https://github.com/vector-im/element-web/issues/13895
2020-08-25 13:20:15 +01:00
nurjinn jafar
1123545cfa
Merge branch 'develop' of https://github.com/nordeck/matrix-react-sdk into feature_confetti#14676
...
Conflicts:
src/SlashCommands.tsx
src/i18n/strings/de_DE.json
2020-08-25 11:52:48 +02:00
nurjinn jafar
d41ffb1b4b
pass ev to handleConfetti in order to check content before dispatch
2020-08-25 11:09:57 +02:00
nurjinn jafar
eef654e0e3
fix indentation and remove console.log
2020-08-25 11:09:10 +02:00
Michael Telatynski
634f7ba938
Merge pull request #5142 from matrix-org/t3chguy/hooks/base-avatar
...
BaseAvatar avoid initial render with default avatar
2020-08-25 09:02:57 +01:00
Michael Telatynski
186374a950
BaseAvatar avoid initial render with default avatar
2020-08-24 21:08:07 +01:00
J. Ryan Stinnett
8e0742b9fe
Merge pull request #5130 from matrix-org/jryans/secure-backup-required
...
Enforce Secure Backup completion when requested by HS
2020-08-24 17:32:58 +01:00
J. Ryan Stinnett
35f19d53a5
Mention issue for view state store
2020-08-24 16:44:47 +01:00
Travis Ralston
84d782022f
Merge pull request #5139 from matrix-org/travis/communities/room-behaviour
...
Communities v2 prototype: Explore rooms, global state, and default room
2020-08-24 07:43:01 -06:00
Travis Ralston
56e08f440e
Merge pull request #5133 from matrix-org/travis/communities/tag-panel
...
Add communities v2 prototyping feature flag + initial tag panel prototypes
2020-08-24 07:41:44 -06:00
nurjinn jafar
5b7ccb5a78
fix indentation spaces and readability line spaces
2020-08-24 14:04:20 +02:00
Michael Telatynski
ef137d2234
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785
2020-08-24 11:13:04 +01:00
nurjinn jafar
2a8b1e0ccd
remove space before function parentheses and maximum allowed line
2020-08-24 11:55:23 +02:00
nurjinn jafar
03b2a529ef
remove unused var
2020-08-24 11:29:46 +02:00
nurjinn jafar
77de63bf4b
confetti file added
2020-08-24 10:44:49 +02:00
nurjinn jafar
a7567b2e31
confetti animationsd handeled on roomViewTimeline
2020-08-24 10:44:32 +02:00
Travis Ralston
f0bd4d3625
Show the group's room if one is returned
2020-08-21 18:19:34 -06:00
Travis Ralston
276ed90884
Add a personal group for an all-communities state
...
Design is approximate and needs review, though being completed out of band.
2020-08-21 18:19:29 -06:00
Travis Ralston
1b5abdab23
Override the room directory with the selected group's rooms
2020-08-21 18:19:25 -06:00
Michael Telatynski
97d8cec94e
dedup
2020-08-21 16:40:05 +01:00
Michael Telatynski
35cc1fb06d
small tweaks
2020-08-21 16:38:28 +01:00
Michael Telatynski
cca5ccd79d
Switch widget resizing to re-resizable and add persistence
2020-08-21 16:29:07 +01:00
Travis Ralston
d1c7d749aa
Merge pull request #5134 from matrix-org/travis/cleanup2
...
Remove some unused components
2020-08-21 07:45:32 -06:00
Heiko Carrasco
9193c81008
Fix image avatar view for 1:1 rooms
...
Signed-off-by: Heiko Carrasco <heiko.carrasco@yahoo.com>
2020-08-21 11:44:47 +02:00
Travis Ralston
c815a370e7
Remove some unused components
...
We no longer have tinting support, so remove it. We still need the `Tinter` to exist though as it's used in quite a few places (though does nothing). Similarly, we have to keep the `roomColor` setting due to it being used in a few places - another PR can take away the tinter support properly.
The room tile context menu and top left menu are artifacts of the old room list.
The end to end tests weren't failing before as the code path is unused, however it seems worthwhile to keep it as we will eventually need it.
2020-08-20 20:47:02 -06:00
Travis Ralston
d7a43df793
Disable context menu for v2 communities
2020-08-20 19:54:09 -06:00
Travis Ralston
81a7be29aa
Show the selected community in the top left menu
2020-08-20 19:45:54 -06:00
Travis Ralston
5c71e33362
Merge pull request #5132 from matrix-org/travis/leave-room
...
Run all room leaving behaviour through a single function
2020-08-20 07:17:13 -06:00
Michael Telatynski
ae65ed5c2e
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into resizable-appsdrawer
...
Conflicts:
res/css/views/rooms/_AppsDrawer.scss
2020-08-20 10:26:35 +01:00
David Baker
0690c02e0c
Merge pull request #5131 from matrix-org/dbkr/clarify_media_device_id
...
Add clarifying comment in media device selection
2020-08-20 09:26:27 +01:00
Travis Ralston
e0b8343088
Run all room leaving behaviour through a single function
...
Fixes https://github.com/vector-im/element-web/issues/14999
Fixes https://github.com/vector-im/element-web/issues/10380
We were failing to handle errors when `/part`ing a room, though the leave room button was fine. This runs both the button and command through the same function for handling, including the 'view next room' behaviour.
2020-08-19 19:21:40 -06:00
David Baker
d1bca2838f
Add clarifying comment in media device selection
...
Hopefully explain the confusing mismatch.
2020-08-19 19:07:12 +01:00
Travis Ralston
c9d98a1d19
Merge pull request #5124 from matrix-org/travis/settings-v3
...
Settings v3: Feature flag changes
2020-08-19 12:00:48 -06:00
J. Ryan Stinnett
e56a61ec68
Invoke Secure Backup flow inside the app when requested by HS
...
If the Secure Backup required mode is set the client `.well-known` file, then
this will ensure that everyone already inside the app is required to complete
setup matching that policy.
Fixes https://github.com/vector-im/element-web/issues/14954
2020-08-19 16:23:27 +01:00
J. Ryan Stinnett
fed7ebb6bc
Hide Delete Backup button when Secure Backup required
...
If Secure Backup is required by the HS admin, then this hides the Delete Backup
button in Settings to ensure everyone keeps their backup per policy.
Part of https://github.com/vector-im/element-web/issues/14954
2020-08-19 16:23:27 +01:00
Michael Telatynski
d700a5a78c
Merge pull request #5129 from matrix-org/t3chguy/fix/14989
...
Clear url previews if they all get edited out of the event
2020-08-19 11:40:57 +01:00
Michael Telatynski
b95956a3a4
Clear url previews if they all get edited out of the event
2020-08-19 10:38:26 +01:00
Michael Telatynski
0bda80c57d
Consider tab completions as modifications for editing purposes to unlock sending
2020-08-19 10:32:24 +01:00
Travis Ralston
534f0cc89e
Revert "Merge pull request #5125 from matrix-org/travis/spec-i18n"
...
This reverts commit d3dba0ba3a
.
2020-08-18 13:09:33 -06:00
Travis Ralston
d3dba0ba3a
Merge pull request #5125 from matrix-org/travis/spec-i18n
...
Use matrix-doc for SAS emoji translations
2020-08-18 11:41:42 -06:00
Michael Telatynski
8cff59f123
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into travis/download-logs
2020-08-18 17:36:04 +01:00
Michael Telatynski
24a390f840
Merge pull request #5123 from matrix-org/t3chguy/room-list/14466
...
Room List filtering visual tweaks
2020-08-18 17:22:05 +01:00
nurjinn jafar
ecd4d6e19e
test commit for confetti changes
2020-08-18 17:57:51 +02:00
Bruno Windels
5c6a36f89a
Merge pull request #5072 from matrix-org/bwindels/make-reply-not-overlay
...
Make reply preview not an overlay so you can see new messages
2020-08-18 11:48:41 +00:00
Michael Telatynski
697ba12b3a
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/room-list/14466
2020-08-18 12:48:32 +01:00
Michael Telatynski
d1971cb163
Merge pull request #5113 from matrix-org/t3chguy/room-list/14959
...
Allow room tile context menu when minimized using right click
2020-08-18 12:45:55 +01:00
Bruno Windels
5d98805d77
Merge branch 'develop' into bwindels/make-reply-not-overlay
2020-08-18 13:39:06 +02:00
Bruno Windels
fa1e27076d
remove dupe method
2020-08-18 12:34:43 +02:00
nurjinn jafar
4394a20f87
setting added to User Settings -> Preferences -> Timeline as an opt out for users with german translation
2020-08-18 09:56:38 +02:00
Travis Ralston
d9e7253561
Use matrix-doc for SAS emoji translations
...
This is done through the js-sdk's new SASEmojiV1 class.
2020-08-17 15:37:36 -06:00
Travis Ralston
4f851542ac
Implement force state for features like in the proposal
2020-08-17 13:51:41 -06:00
Travis Ralston
3659115921
Followup on some SettingsStore removals
2020-08-17 13:37:16 -06:00
Travis Ralston
eda4e24926
Update LabsUserSettings for new feature behaviour
2020-08-17 13:19:15 -06:00
Travis Ralston
96087d61f6
Convert feature setting usages to regular settings
2020-08-17 13:12:18 -06:00
Michael Telatynski
e20b375433
Add filter results count and explore prompt
2020-08-17 18:20:00 +01:00
Michael Telatynski
a4d11cc190
Change highlighting around the room list filter
2020-08-17 16:59:29 +01:00
Michael Telatynski
70f0701de5
null guard group inviter for corrupted groups
2020-08-17 10:59:43 +01:00
Michael Telatynski
21cdf5073c
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/room-list/14617
2020-08-14 18:58:26 +01:00
Michael Telatynski
be1d390a93
Merge pull request #5106 from matrix-org/t3chguy/room-list/14608
...
Switch out the globe icon and colour it depending on theme
2020-08-14 18:10:29 +01:00
Michael Telatynski
655cc95570
fix typo
2020-08-14 13:37:28 +01:00
Michael Telatynski
591847b274
Watch for Event.status instead as we can do some things in SENT
2020-08-14 13:37:11 +01:00
Michael Telatynski
de9816574f
Make event subscriptions conditional when needed
2020-08-14 13:30:27 +01:00
Michael Telatynski
f982c7b334
Message Action Bar, subscribe to localEventIdReplaced events
2020-08-14 13:22:52 +01:00
Michael Telatynski
8f0e4dae9d
Allow room tile context menu when minimized using right click
2020-08-14 12:01:16 +01:00
Michael Telatynski
4ec602b960
Make cutout in the decorated room avatar transparent rather than fixed
2020-08-14 10:20:59 +01:00
Michael Telatynski
b8a260bb84
Change add room action for rooms to context menu
2020-08-13 16:18:26 +01:00
Michael Telatynski
8aa50ecb59
Iterate rageshake download styling
2020-08-13 13:08:07 +01:00
Michael Telatynski
df980dbf92
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into travis/download-logs
2020-08-12 22:48:03 +01:00
Jorik Schellekens
0060acbb33
Merge pull request #5056 from matrix-org/joriks/style-fighting
...
Quick win session 24/07/2020
2020-08-12 15:21:06 +01:00
J. Ryan Stinnett
0c76af19f0
Merge pull request #5100 from matrix-org/jryans/remove-rebranding-toast
...
Remove rebranding toast
2020-08-12 15:18:44 +01:00
J. Ryan Stinnett
9e429ee669
Remove rebranding toast
...
It's time to remove the rebranding toast, as we believe people have had
sufficient warning now.
Fixes https://github.com/vector-im/element-web/issues/14931
2020-08-11 14:27:53 +01:00
Travis Ralston
d866b2d9ef
Generate previews for rooms when the option changes
...
Fixes https://github.com/vector-im/element-web/issues/14853
This likely regressed in https://github.com/matrix-org/matrix-react-sdk/pull/5048 when the message preview information was made state, and the component wasn't updating the preview when the control flags changed.
2020-08-10 20:52:05 -06:00
Michael Telatynski
be2d0c9de7
Merge pull request #5095 from matrix-org/t3chguy/fix/14906
...
Fix Bridge Settings tab
2020-08-10 16:34:24 +01:00
J. Ryan Stinnett
538e222d1f
Merge pull request #5081 from matrix-org/msuess/fix-edit-multiple-widget-instances
...
get screen type from app prop
2020-08-10 14:14:25 +01:00
Michael Telatynski
4799f0ee43
Merge pull request #5085 from matrix-org/t3chguy/notifications11
...
Factor out Iconized Context menu for reusability
2020-08-08 11:41:28 +01:00
Michael Telatynski
5c0d332e9d
Convert Bridge Settings Tab to Typescript
2020-08-08 11:38:57 +01:00
Michael Telatynski
f784500b1c
Fix Bridge Settings Tab
2020-08-08 11:28:44 +01:00
Michael Telatynski
fee808a75e
fix indentation
2020-08-08 11:16:28 +01:00
Michael Telatynski
a095f858b0
Merge pull request #5087 from matrix-org/t3chguy/fix/14868
...
Make the room sublist show more/less buttons treeitems
2020-08-08 10:46:57 +01:00
J. Ryan Stinnett
4c1956a3c2
Show master key cache status in Settings
2020-08-06 15:25:33 +01:00
Michael Telatynski
0da31de5ad
Merge pull request #5086 from matrix-org/t3chguy/notifications12
...
Create Map comparison utilities and convert Hooks to Typescript
2020-08-05 16:28:52 +01:00
Jorik Schellekens
b871d7e849
Fix room security radios
2020-08-05 13:53:19 +01:00
J. Ryan Stinnett
7748e3ae1a
Merge pull request #5083 from matrix-org/jryans/riot-to-element
...
Replace Riot with Element in docs and comments
2020-08-05 12:25:45 +01:00
Michael Telatynski
f1505833b7
Make the room sublist show more/less buttons treeitems
2020-08-05 09:56:31 +01:00
Michael Telatynski
cd29edb442
Write more typescript defs
2020-08-05 09:13:01 +01:00
Michael Telatynski
d126f5c1e6
tidy up IconizedContextMenu CSS
2020-08-04 21:42:45 +01:00
Michael Telatynski
b30ce0355e
Factor out Iconized Context Menu for reusabilit
2020-08-04 21:42:39 +01:00
Jorik Schellekens
271eeeabee
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/style-fighting
2020-08-04 15:04:56 +01:00
Bruno Windels
c1ec41715c
Merge pull request #5082 from matrix-org/bwindels/fixinvitedialogcrash
...
Add null guard in InviteDialog
2020-08-04 08:35:20 +00:00
Jorik Schellekens
5426d9f105
Use accessible button for copy icon.
2020-08-03 19:21:24 +01:00
J. Ryan Stinnett
ce226ab534
Replace Riot with Element in docs and comments
...
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.
Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
Bruno Windels
fe1d375dd2
Merge remote-tracking branch 'origin/develop' into bwindels/remove-composer-overlay-icons
2020-08-03 18:05:26 +02:00
Bruno Windels
71a9fef491
fix InviteDialog crash
2020-08-03 17:42:54 +02:00
Marco Süß
5b8a8ecc5e
get screen type from app prop
2020-08-03 16:26:25 +02:00
Bruno Windels
fba1158700
Merge pull request #5079 from matrix-org/bwindels/alert-file-panel-empty-state
...
Add title and icon to empty state of file and notification panel
2020-08-03 12:58:13 +00:00
Michael Telatynski
25499fc687
Merge pull request #5045 from matrix-org/t3chguy/fix/10818
...
Mass redact ignore room creation events
2020-08-03 13:52:21 +01:00
Michael Telatynski
0a700bc8e4
Iterate copy on download logs button
2020-08-03 13:21:04 +01:00
Michael Telatynski
cbcac9dd49
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into travis/download-logs
...
Conflicts:
package.json
2020-08-03 12:54:06 +01:00
Bruno Windels
5a3bda7eea
Add title and icon to empty state of file and notification panel
2020-08-03 13:30:56 +02:00
Travis Ralston
e8d1024c45
Merge pull request #5076 from matrix-org/travis/cleanup/1
...
Clean up documentation of Whenable + fix other code concerns
2020-07-31 11:27:19 -06:00
Travis Ralston
3443761007
Merge pull request #5062 from matrix-org/travis/settings/ts
...
Convert SettingsStore to TypeScript
2020-07-31 11:07:07 -06:00
Bruno Windels
a3ca80b206
move the reply preview one level higher so the buttons and avatar don't get centered with it
2020-07-31 18:27:07 +02:00
Travis Ralston
7645fe6b23
Update context transaction states
2020-07-31 10:00:02 -06:00
Bruno Windels
5c05b494df
remove emoji icons in autocomplete/reply by designer request
2020-07-31 14:14:37 +02:00
Bruno Windels
d24ddc415b
Notify the timeline it's height has changed, so it can keep being at the bottom
...
this way new messages will appear in the timeline without needing to scroll
2020-07-31 14:02:40 +02:00
Bruno Windels
01d624fdaf
Make the reply preview not an overlay on the timeline anymore
...
As users can't scroll down all the way down to the timeline like this to
see the last message (and perhaps adjust their reply to it)
This also remove the wrapper div as it is not needed anymore
2020-07-31 13:47:40 +02:00
J. Ryan Stinnett
af49639bd8
Merge pull request #5065 from matrix-org/travis/echo/audit
...
Add local echo for notifications in the new room list
2020-07-31 12:20:20 +01:00
J. Ryan Stinnett
76293970f4
Merge pull request #5070 from matrix-org/travis/room-list/regressions
...
Fix various small regressions in the room list's behaviour
2020-07-31 11:46:30 +01:00
Travis Ralston
49abfc1fb2
Ensure sublists are updated when rooms are removed from them
...
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 2)
This is in two parts itself: The `RoomSublist` needs to break its references to the `RoomListStore`, so it now clones the room arrays. The `Algorithm` is the other part, which is slightly more complicated.
It turns out that we weren't handling splicing as a change in the `ImportanceAlgorithm`, therefore the `Algorithm` wasn't really feeling like it needed to change anything. Further, the `Algorithm` was using the wrong reference to where it should be dumping rooms (`this.cachedRooms` is a getter which returns a different object depending on conditions), so having fixed that we need to ensure that the filtered and sticky maps are also updated when we remove a room. Because we send the new tag through a Timeline update, we'll end up updating the tag later on and don't need to update the filter and sticky collections.
2020-07-30 15:06:04 -06:00
Travis Ralston
5b15d12865
Ensure list visibility changes get counted as list changes
...
Fixes https://github.com/vector-im/riot-web/issues/14799
We were checking to see if the tags were visible at render time, but we needed to ensure that they were(n't) included when checking for diffs. This introduces a new kind of object cloning for semantic reasons.
This also fixes the selection indicator being a bit off on custom tags.
2020-07-30 14:18:54 -06:00
Travis Ralston
e953bfbf88
Replace flawed objectHasValueChange usage with objectHasDiff
...
Fixes https://github.com/vector-im/riot-web/issues/14782
We need to check if the keys changed, not just the values.
2020-07-30 14:08:18 -06:00
David Baker
f3320f5041
Fix key backup warning on soft logout page
...
It always showed the warning (if you had at least one session key
in your store) because flagAllGroupSessionsForBackup returns the
number of keys pending backup after flagging them all for backup,
ie. all of them. Seems like the intention was to only show the
warning if there were keys that had not yet been backed up.
Fixes https://github.com/vector-im/riot-web/issues/14829
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1429
2020-07-30 19:09:47 +01:00
Travis Ralston
968fbd5cba
Merge branch 'develop' into travis/echo/audit
2020-07-30 10:18:30 -06:00
Travis Ralston
7522380763
Update copy
2020-07-30 10:17:47 -06:00
Travis Ralston
fca6def588
Rename and document what local echo is
2020-07-30 09:15:19 -06:00
Travis Ralston
9bbb7a5310
Merge branch 'develop' into travis/settings/ts
2020-07-30 08:51:42 -06:00
Jorik Schellekens
b1f8fe40d6
Merge pull request #5036 from swapnilraj/swapnilraj/right-panel-ts
...
Convert right_panel to TS
2020-07-30 13:37:01 +01:00
Swapnil Raj
1b4b594f92
Change public to protected for onAction
2020-07-30 16:13:13 +05:30
Swapnil Raj
d0e2695114
Add access specifier to class methods
2020-07-30 15:58:07 +05:30
Swapnil Raj
fbc341a2f5
Clean up types properly
2020-07-30 11:51:10 +05:30
Swapnil Raj
9aa128a6e8
Revert "Cleanup types"
...
This reverts commit 97cef335e8
.
2020-07-30 11:45:49 +05:30
Swapnil Raj
97cef335e8
Cleanup types
2020-07-30 11:27:53 +05:30
Travis Ralston
c5574219bb
Implement dialog for resending local echo transactions
2020-07-29 20:36:04 -06:00
Travis Ralston
14b0def143
Fix echo handling and show a barebones toast on error
...
The EchoTransaction was wrongly assuming that it knew better than the caller for when the success condition was met, so the echo marking has been left an exercise for the caller. In this case, we mark when we finally receive the sync with the updated rules.
We also have to cancel previous transactions otherwise if the user mashes buttons we could forever show the toast, and that would be bad.
2020-07-29 19:11:24 -06:00
Travis Ralston
0f1b9937a9
Connect RoomTile's notification volume to local echo
...
This presumes success as we don't yet have a UI for failures.
2020-07-29 16:54:33 -06:00
Travis Ralston
14757cacd5
Introduce a concept of "non-urgent" toasts
...
This is somewhat expected to be temporary.
2020-07-29 12:43:35 -06:00
Swapnil Raj
b8e51076a8
Fix private functions for RoomHeaderButtons
2020-07-29 23:58:32 +05:30
Travis Ralston
9c8682428f
Fix various TypeScript linting issues
2020-07-29 11:03:43 -06:00
Swapnil Raj
8120a26135
A bit more cleanup
2020-07-29 17:35:55 +05:30
Swapnil Raj
aa160095fa
Cleanup
2020-07-29 17:26:51 +05:30
Swapnil Raj
bf450ad075
Fix the type for SetRightPanelPhasePayload
...
Fix uses of it as well
2020-07-29 16:59:29 +05:30
Travis Ralston
4969cfe9de
Appease the linter
2020-07-28 16:37:09 -06:00
Travis Ralston
1f7f40736b
Fix imports for SettingLevel to point at new file
2020-07-28 11:53:43 -06:00
Jorik Schellekens
f64ef65f97
Use StyledRadioGroup
2020-07-28 17:13:58 +01:00
J. Ryan Stinnett
79348b44cb
Merge pull request #4075 from MarcoZehe/SuppressSpeechWhenSending
...
Don't speak the outgoing message if it is in the Sending state.
2020-07-28 16:24:28 +01:00
Michael Telatynski
2d918a6dfc
Merge pull request #5052 from matrix-org/t3chguy/fix/14501
...
Remove poorly contrasted "dark style" heading in Room Preview Bar
2020-07-28 16:13:43 +01:00
Jorik Schellekens
4f55ef685d
Merge pull request #4989 from matrix-org/joriks/resize-handlebars-2.0
...
Fix handlebar interaction
2020-07-28 14:30:00 +01:00
Jorik Schellekens
4ab3ea395a
lint
2020-07-28 13:56:18 +01:00
Travis Ralston
3561de3f8a
Merge pull request #5054 from matrix-org/travis/perf6
...
Minor improvements to filtering performance
2020-07-28 06:37:27 -06:00
Jorik Schellekens
9cd232617d
Unify composer and room header icons
2020-07-28 13:19:11 +01:00
Michael Telatynski
e7ec34e61e
Fix TextWithTooltip "leaking" tooltip wrappers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-28 10:13:13 +01:00
Travis Ralston
2a8881f753
Fix typing error
2020-07-27 17:41:23 -06:00
Travis Ralston
900c234434
Internalize notification state handling for lists
...
This reduces the update cost of rooms changing, and fixes a bug where when a sublist became filtered it would change the notification count of the sublist.
This does change the expected usage of the state store to ensuring that only one place updates the rooms on the list states, which is currently the room list store. Ideally the state store could listen to the room list store to update itself, however due to a complicated require() loop it is not possible.
2020-07-27 17:33:27 -06:00
Travis Ralston
517c93a7d5
Move expand-on-filter into the sublist
...
It's a bit more complicated this way, but helps reduce some of the latency involved in remounting the entire room list.
2020-07-27 16:35:48 -06:00
Travis Ralston
c6033b9410
Move search out of RoomList and LeftPanel, into RoomSearch
...
This prevents the entire left panel from having to re-mount whenever the search query changes.
2020-07-27 16:35:48 -06:00
Travis Ralston
42498d32cc
Move community filtering into the sublist
...
This is a step towards the room list not having to concern itself with the search parameters.
2020-07-27 16:35:48 -06:00
Jorik Schellekens
447ef63950
Replace old checkboxes
2020-07-27 16:36:31 +01:00
Jorik Schellekens
d55699211e
Update copy icon on pre block and share dialogues
2020-07-27 15:13:02 +01:00
Michael Telatynski
992d7215c7
Remove poorly contrasted "dark style" heading in Room Preview Bar
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 14:59:00 +01:00
Michael Telatynski
a74470aff0
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/desync
...
Conflicts:
src/components/views/rooms/RoomTile.tsx
2020-07-27 14:42:26 +01:00
Michael Telatynski
368d1bf699
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 14:40:41 +01:00
Michael Telatynski
1085d89e11
RoomList listen to notificationState updates for bolding
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-27 14:39:30 +01:00
Travis Ralston
8e7b60b11e
Remove useless if statement
2020-07-24 14:07:37 -06:00
Travis Ralston
593b472e50
Ensure notification badges stop listening when they unmount
2020-07-24 14:02:43 -06:00
Travis Ralston
46f9d44e64
Use PureComponent instead
...
It ranges wildly between 10 and 50ms while ours is stable at 30-40ms, but the effort doesn't need to be duplicated.
2020-07-24 13:58:21 -06:00
Travis Ralston
e3800dba0e
Remove debug logging
2020-07-24 13:23:51 -06:00
Travis Ralston
c3623f439c
Rip hover support out of the RoomTile component
...
It's all handled by CSS and this literally does nothing but spam renders.
2020-07-24 13:10:39 -06:00
Travis Ralston
37035f945b
Move message previews into RoomTile's state
...
Now that it doesn't re-render without state updates, we should just wedge it into state.
2020-07-24 13:09:26 -06:00
Travis Ralston
09808fa7be
Only update RoomTiles when they change significantly
2020-07-24 12:58:10 -06:00
Travis Ralston
d26fcb7f16
Update src/components/views/rooms/RoomList.tsx
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2020-07-24 11:16:40 -06:00
Travis Ralston
4d7980eb07
Ensure references to the room list store are broken for diffing
...
See commit diff for details.
2020-07-24 10:38:04 -06:00
Travis Ralston
0a31bd169c
Skip updates in collapsed lists too
2020-07-24 10:20:00 -06:00
Travis Ralston
82f90c4734
Do the faster length change check first
...
... because it's faster. Also we don't need to diff the array here.
2020-07-23 22:31:52 -06:00
Travis Ralston
fd15fc3984
Ensure message previews update when needed
...
In 9969b01c5f
we stopped updating the sublist whenever we felt like it, which indirectly froze message previews for room tiles (badges, unread state, etc were unaffected because that is managed by a different store). To fix this, we simply have to listen for changes and perform an update.
2020-07-23 22:24:07 -06:00
Travis Ralston
7e50464eeb
Fix filtering causing sticky header artifacts
...
In 7b97c3032b
we reduced the RoomList updates to just added/removed sublists, but didn't consider that we might also have to handle lengths of those sublists changing enough for us to fix the sticky headers.
2020-07-23 22:19:16 -06:00
Travis Ralston
9969b01c5f
Only render sublists when they change significantly
...
We can ignore off-screen updates, so do that. See diff for more details on what we're doing.
2020-07-23 22:13:32 -06:00
Travis Ralston
ad92e6ba00
Don't constantly re-mount the sublists with a new addRoomFn
...
Any time we though that the room list had to re-render we were dynamically creating a new addRoomFn, which would signal to the sublist that it needed to re-render.
The only reason we wrap the function from the aesthetics is to provide theoretical tiling/multiaccount support through use of different dispatchers, however considering that's not a reality yet we can just use a default dispatcher when none is supplied.
2020-07-23 22:12:10 -06:00
Travis Ralston
7b97c3032b
Make the sublists aware of their own list changes
...
This cuts the render time in half (from ~448ms to ~200ms on my account) per received event, as we're no longer re-mounting the entire room list and instead just the section(s) we care about.
2020-07-23 21:36:43 -06:00
Michael Telatynski
c1d2e27f9c
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into SuppressSpeechWhenSending
2020-07-24 00:03:55 +01:00
Michael Telatynski
862856d3be
Also add aria-atomic=true
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-24 00:03:42 +01:00
Michael Telatynski
60a6b13f4b
Merge pull request #5026 from matrix-org/t3chguy/room-list/14440
...
Put low priority xor toggle back in the room list context menu
2020-07-24 00:02:50 +01:00
Travis Ralston
2abec8b100
Disable lint in InviteDialog
2020-07-23 15:58:06 -06:00
Michael Telatynski
253d4abb49
Mass redact ignore room creation events
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-23 21:30:49 +01:00
Michael Telatynski
ff8f1af01e
Merge pull request #5037 from matrix-org/t3chguy/room-list/14705
...
Fix BaseAvatar wrongly using Buttons when it needs not
2020-07-23 09:27:20 +01:00
Michael Telatynski
6546f98e18
Fix BaseAvatar wrongly using Buttons when it needs not
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-22 20:01:14 +01:00
Swapnil Raj
5ea7be5d53
Cleanup comments
2020-07-22 21:17:58 +05:30
Travis Ralston
67fd6e6122
Merge pull request #5034 from matrix-org/travis/fix-perf
...
Mixed bag of performance improvements: ScrollPanel and notifications
2020-07-22 08:24:04 -06:00
Michael Telatynski
7c1935a44e
Key EventTile's using txnId if it is set to prevent a remount
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-22 11:10:55 +01:00
Swapnil Raj
d7728881a3
lint
2020-07-22 15:22:16 +05:30
Swapnil Raj
8ae11ce886
Fix shadow-variable errors in EncryptionPanel
2020-07-22 15:14:50 +05:30
Swapnil Raj
0f0b4035b7
Fix shadow variable errors
2020-07-22 15:14:50 +05:30
Swapnil Raj
5ddae04fb0
lint
2020-07-22 15:14:50 +05:30
Swapnil Raj
8fac7a8167
Convert VerificationPanel to TS
2020-07-22 15:14:50 +05:30
Swapnil Raj
3e64ec11c0
lint
2020-07-22 15:14:50 +05:30
Swapnil Raj
36974c4231
Convert EncryptionPanel to TS
2020-07-22 15:14:50 +05:30
Swapnil Raj
dac19cffce
Convert EncryptionInfo to TS
2020-07-22 15:14:50 +05:30
Swapnil Raj
a4959f43d2
Convert GroupHeaderButtons to TS
...
Fix typo in SetRightPanelPhasePayload
2020-07-22 15:14:50 +05:30
Swapnil Raj
887d507772
Fix key to match SetRightPanelPhasePayload's key
...
member -> members
2020-07-22 15:14:50 +05:30
Swapnil Raj
23e4b67a69
Convert HeaderButton to TS
2020-07-22 15:14:50 +05:30
Swapnil Raj
0f59e34a3a
Nest groupId in refireParams to match types
2020-07-22 15:14:50 +05:30
Swapnil Raj
1c913b85e2
Replace strings action with correspoding type
2020-07-22 15:14:50 +05:30
Swapnil Raj
2c8b5b49ed
lint
2020-07-22 15:14:50 +05:30
Swapnil Raj
1d3635e1c8
Replaced string actions with their corresponding types
2020-07-22 15:14:50 +05:30
Swapnil Raj
344185a375
Translate right panel stuff to ts
...
Add actions for right panel
2020-07-22 15:14:50 +05:30
Robin Townsend
83ab151d96
Translate create room buttons
...
Signed-off-by: Robin Townsend <robintown@tcakoi.dev>
2020-07-22 03:54:15 +00:00
Travis Ralston
c9da1e1874
Remove even more tags from the notification state fetching for a room
2020-07-21 20:58:59 -06:00
Travis Ralston
97739c9a73
Add more statements to avoid layout changes
2020-07-21 20:56:07 -06:00
Travis Ralston
507fa01ade
Remove missed area for notification state fetching
2020-07-21 20:51:40 -06:00
Travis Ralston
dd16ec070c
Replace countRoomsWithNotif with a dedicated NotificationState
...
Fixes https://github.com/vector-im/riot-web/issues/14694
Instead of spending 10-1000ms in a function iterating over a whole lot of room events, we can use our cached state from the Notification State Store.
This commit sets up a structure that could be applied to communities in the TagPanel too, as that could probably use a similar optimization.
This reduces the updateStatusIndicator() time to just 4ms on average.
2020-07-21 20:24:44 -06:00
Travis Ralston
928acbdc11
Wrap ScrollPanel layout changes in if statements
...
These conditions are rarely true, but when they are it saves ~28ms of forced layout changes.
2020-07-21 19:52:50 -06:00
Robin Townsend
951570a97f
Escape single quotes in composer placeholder
...
Signed-off-by: Robin Townsend <robintown@tcakoi.dev>
2020-07-22 00:47:48 +00:00
Michael Telatynski
70c81cc377
Merge branches 'develop' and 'travis/download-logs' of github.com:matrix-org/matrix-react-sdk into travis/download-logs
...
Conflicts:
src/i18n/strings/en_EN.json
src/rageshake/submit-rageshake.ts
2020-07-21 22:22:28 +01:00
Travis Ralston
0a846cb1b5
Don't hammer on the layout engine with avatar updates for the background
...
Changing the property on every render of the left panel (which is basically all the time) is super bad on the GPU and for our CPU. We should only do that when something changes.
2020-07-21 15:02:59 -06:00
Hubert Chathi
cbe4f04cd7
Merge pull request #5029 from uhoreg/sanitize_language
...
don't syntax highlight languages that begin with "_"
2020-07-21 13:12:51 -04:00
Hubert Chathi
2ce493307e
don't syntax highlight languages that begin with "_"
2020-07-21 12:47:40 -04:00
Jorik Schellekens
501e0c29ca
Merge remote-tracking branch 'origin' into joriks/eslint-config
2020-07-21 15:32:50 +01:00
Travis Ralston
37aed54d12
Merge pull request #5024 from matrix-org/travis/room-list/custom-tags
...
Support custom tags in the room list again
2020-07-21 06:46:50 -06:00
Michael Telatynski
29c984455e
tidy up
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 13:43:42 +01:00
Michael Telatynski
ae069576f6
Fix the tag panel context menu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 10:33:30 +01:00
Michael Telatynski
fe0c660fac
Put low priority xor toggle back in the room list context menu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-21 09:50:20 +01:00
Travis Ralston
a0b2859436
Support custom tags in the room list again
...
Fixes https://github.com/vector-im/riot-web/issues/14091
Design needs work, however this is behind labs anyways. This re-implements the behaviour of the old room list.
The implementation ended up being a lot easier due to early confusion with what the TagOrderStore and TagPanel take care of. Turns out they don't deal with tags, but groups. As such, we don't need to do anything with filtering (though we keep some sanity checks in place for safety), and just have to wire up the CustomRoomTagPanel and CustomRoomTagStore.
2020-07-20 16:51:16 -06:00
Jorik Schellekens
c0ce6e8161
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/eslint-config
2020-07-20 20:44:52 +01:00
Michael Telatynski
9fca422de7
Merge branches 'develop' and 't3chguy/ts/2' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/2
2020-07-20 17:07:18 +01:00
Michael Telatynski
06cc76f7d8
mark some things as public
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-20 16:34:52 +01:00
Jorik Schellekens
b3fa855bd8
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/eslint-config
2020-07-20 16:22:32 +01:00
Michael Telatynski
446e8de39e
Merge pull request #5017 from matrix-org/t3chguy/fix/14596
...
Fix Breadcrumbs2 ending up with 2 tabIndexes on Firefox
2020-07-20 15:35:07 +01:00
Michael Telatynski
0de6cada57
Merge pull request #5023 from matrix-org/t3chguy/room-list/14644
...
Add min-width to floating Jitsi
2020-07-20 15:24:26 +01:00
Michael Telatynski
f02115f2a9
Merge branches 'develop' and 't3chguy/fix/14596' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/14596
2020-07-20 15:20:08 +01:00
Michael Telatynski
9e6532e46e
Merge pull request #5016 from matrix-org/t3chguy/tooltips2
...
Use mouseleave instead of mouseout for hover events. Fix tooltip flicker
2020-07-20 15:19:32 +01:00
Michael Telatynski
476c3eb7c8
Merge pull request #5014 from matrix-org/t3chguy/tooltips
...
Fix field tooltips
2020-07-20 15:18:53 +01:00
Michael Telatynski
828cfb7138
Add min-width to floating Jitsi
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-20 15:15:21 +01:00
Michael Telatynski
8063263665
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-20 14:56:47 +01:00
Michael Telatynski
8aceb11992
Fix community right panel button regression
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-20 14:47:06 +01:00
Travis Ralston
7996013cd5
Merge pull request #5013 from matrix-org/travis/room-list/rm-old
...
[BREAKING] Remove the old room list
2020-07-20 06:46:05 -06:00
Michael Telatynski
fabed26b09
Fix Breadcrumbs2 ending up with 2 tabIndexes on Firefox due to explicit css overflow scroll
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-18 12:19:03 +01:00
Michael Telatynski
e9633b2e3b
Use mouseleave instead of mouseout for hover events. Fix tooltip flicker
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-18 12:01:51 +01:00
Michael Telatynski
c980b58c69
Fix field tooltips
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-18 11:36:23 +01:00
Travis Ralston
7fc5ba50c8
Update references to issues
2020-07-17 16:22:33 -06:00
Travis Ralston
c5d732a631
IncomingCallBox2 -> IncomingCallBox
2020-07-17 15:56:58 -06:00
Travis Ralston
76902a752f
CallPreview2 -> CallPreview
2020-07-17 15:56:07 -06:00
Travis Ralston
7f5c501b2b
CallView2 -> CallView
2020-07-17 15:55:30 -06:00
Travis Ralston
cbf967ea69
Remove legacy call components
2020-07-17 15:53:13 -06:00
Travis Ralston
d7ada5f7c5
Remove TODO flags
2020-07-17 15:47:37 -06:00
Travis Ralston
c9b0b3b31d
RoomSublist2 -> RoomSublist
2020-07-17 15:46:46 -06:00
Travis Ralston
96065ae982
RoomTile2 -> RoomTile
2020-07-17 15:43:29 -06:00
Travis Ralston
8dfe7b6cc7
RoomBreadcrumbs2 -> RoomBreadcrumbs
2020-07-17 15:32:06 -06:00
Travis Ralston
a7c18bfbfa
RoomList2 -> RoomList
2020-07-17 15:27:49 -06:00
Travis Ralston
2441cbc9ac
LeftPanel2 -> LeftPanel
2020-07-17 15:22:18 -06:00
Travis Ralston
2b15ba21dd
Rename RoomListStore file
2020-07-17 15:11:34 -06:00
Jorik Schellekens
58532f2ac4
Merge pull request #4990 from matrix-org/joriks/irc-layout-truncate-upload-name
...
ellipse senders for images and videos
2020-07-17 22:04:19 +01:00
Travis Ralston
1810711380
Dismantle usage of the proxy store class
2020-07-17 14:25:09 -06:00
Travis Ralston
3c047cecfd
Remove core structures for the old room list
2020-07-17 14:17:11 -06:00
Travis Ralston
06336a88b3
Remove setting for old room list
2020-07-17 14:06:30 -06:00
Michael Telatynski
7529bb8bc0
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 19:25:37 +01:00
Michael Telatynski
3639170789
fix types
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 19:00:02 +01:00
Michael Telatynski
b951516077
Add tooltip to Explore rooms button
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:57:38 +01:00
Michael Telatynski
8ea806b43e
Add tooltip to collapsed sublists
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:54:09 +01:00
Michael Telatynski
38dc3c8bd1
Replace non-functional Interactive Tooltip
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:43:42 +01:00
Michael Telatynski
fc66a15504
Add tooltips to the Message Action Bar
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:36:32 +01:00
Michael Telatynski
1c205c7704
Add buttons to composer actions
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:16:31 +01:00
Michael Telatynski
a402f7e38f
Add tooltips to top right buttons
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:16:21 +01:00
Michael Telatynski
23fa952905
Add tooltips to minimized roomlist2 tiles and sublists
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:16:00 +01:00
Michael Telatynski
efd0bd3d00
Fix AccessibleButton defaultProps to match its types
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 18:15:44 +01:00
Michael Telatynski
a8f5731c07
Fix tooltip towards right side of screen going wrong direction
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 17:09:43 +01:00
Michael Telatynski
4380ebcbb8
Add ContextMenuTooltipButton
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 16:43:24 +01:00
Michael Telatynski
0a08fb09a2
Fix references to IAccessibleButtonProps
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 16:22:56 +01:00
Michael Telatynski
9ec2ca447c
Update style of default tooltips to match the new style
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 16:19:10 +01:00
Michael Telatynski
16b1dbc375
remove unused view_tooltip
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 16:10:36 +01:00
Travis Ralston
08f88550b1
Merge pull request #5008 from matrix-org/travis/fix-devtools
...
Fix size call for devtools state events
2020-07-17 07:19:20 -06:00
Michael Telatynski
549bacabc3
Merge pull request #5009 from matrix-org/t3chguy/fix/14573
...
Null guard no e2ee for UserInfo
2020-07-17 13:44:51 +01:00
Michael Telatynski
3305ca26f0
fix
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 12:07:54 +01:00
Michael Telatynski
5c8d12ab25
Null guard no e2ee for UserInfo
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-17 10:49:57 +01:00
Travis Ralston
87743fe0e8
Fix size call for devtools state events
...
Fixes https://github.com/vector-im/riot-web/issues/14565
It's not a function
2020-07-16 18:34:19 -06:00
Hubert Chathi
16a084bca7
Merge pull request #5006 from uhoreg/sanitize_replies
...
use a proper HTML sanitizer to strip <mx-reply>, rather than a regexp
2020-07-16 18:17:57 -04:00
Hubert Chathi
b05a19ef13
lint
2020-07-16 18:07:51 -04:00
Hubert Chathi
a85af47b0a
use a proper HTML sanitizer to strip <mx-reply>, rather than a regexp
2020-07-16 17:46:49 -04:00
Travis Ralston
c29da883db
Convert room list log setting to a real setting
...
To debug https://github.com/vector-im/riot-web/issues/14554 and https://github.com/vector-im/riot-web/issues/14508
2020-07-16 14:43:43 -06:00
Travis Ralston
8b65b19e60
Merge pull request #4936 from matrix-org/travis/general/perf/js-roomstate-map
...
Convert devtools dialog to use new room state format
2020-07-16 13:01:45 -06:00
Travis Ralston
9c9ff281e7
Use .entries()
2020-07-16 13:00:02 -06:00
Michael Telatynski
82f6a6b710
Merge pull request #5000 from swapnilraj/swapnilraj/update-discovery-checkbox
...
Update checkbox
2020-07-16 17:04:36 +01:00
Jorik Schellekens
173ccbcec9
Fix handles
2020-07-16 16:21:38 +01:00
Jorik Schellekens
d794e17d4d
Fix handlebar interaction
2020-07-16 16:16:41 +01:00
Michael Telatynski
a704eefdd5
Merge branches 'develop' and 't3chguy/nad/rampage' of github.com:matrix-org/matrix-react-sdk into t3chguy/nad/rampage
...
Conflicts:
src/components/views/elements/AccessibleTooltipButton.tsx
2020-07-16 15:47:12 +01:00
Michael Telatynski
d5f2d43429
Improve Tooltip font/layout consistency
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 15:15:00 +01:00
Michael Telatynski
f2104b59f0
Simplify room sublist context menu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 14:38:04 +01:00
Swapnil Raj
8de6863bf6
Fix indentation
2020-07-16 18:12:11 +05:30
Michael Telatynski
f4da1b6f6b
Merge pull request #4976 from matrix-org/t3chguy/a11y-toolbar-breadcrumbs
...
Wire up new room list breadcrumbs as an ARIA Toolbar
2020-07-16 12:52:59 +01:00
Swapnil Raj
15f94d3732
Update checkbox
2020-07-16 17:22:35 +05:30
Michael Telatynski
9db05db951
Merge pull request #4999 from matrix-org/t3chguy/room-list/14503
...
Fix Room Tile Icon to not ignore DMs in other tags
2020-07-16 12:42:07 +01:00
Michael Telatynski
b1d57ca13e
Merge pull request #4996 from matrix-org/t3chguy/room-list/14491
...
Fix enter in new room list filter breaking things
2020-07-16 12:41:39 +01:00
Michael Telatynski
19d733561d
Merge pull request #4995 from matrix-org/t3chguy/room-list/14509
...
Notify left panel of resizing when it is collapsed&expanded
2020-07-16 12:41:32 +01:00
Michael Telatynski
05b100f44d
Merge pull request #4975 from matrix-org/t3chguy/a11y-toolbar
...
Create a generic ARIA toolbar component
2020-07-16 12:41:05 +01:00
Michael Telatynski
c94c937b31
Fix Room Tile Icon to not ignore DMs in other tags
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 12:33:05 +01:00
Michael Telatynski
b160fe886f
Merge pull request #4987 from matrix-org/t3chguy/room-list/room-tile-icon-tooltip
...
Add tooltip to Room Tile Icon
2020-07-16 10:21:06 +01:00
Michael Telatynski
ed9d3a36a2
fix typescript definitions
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 08:58:11 +01:00
Michael Telatynski
2f959a974a
Fix enter in new room list filter breaking things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 06:31:06 +01:00
Michael Telatynski
48aa203b95
Notify left panel of resizing when it is collapsed&expanded
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-16 06:05:53 +01:00
Jorik Schellekens
e873ba9608
ellipse senders for images and videos
2020-07-16 02:52:16 +01:00
Marco Zehe
636b0236b6
Update to use more strict rules for suppressing
...
Signed-off-by: Marco Zehe <marco@marcozehe.de>
2020-07-15 19:02:00 +02:00
Hubert Chathi
aa445a061d
check that encryptionInfo.sender is set
2020-07-15 12:25:10 -04:00
Michael Telatynski
78da0c863a
Update copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 16:52:10 +01:00
Michael Telatynski
ae17cd3ec6
Add tooltip to Room Tile Icon
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 16:46:39 +01:00
David Baker
7ab1416787
Merge pull request #4986 from matrix-org/dbkr/update_help_link
...
Update help link
2020-07-15 16:30:03 +01:00
Marco Zehe
d8373576f8
Merge remote-tracking branch 'upstream/develop' into SuppressSpeechWhenSending
2020-07-15 17:27:35 +02:00
David Baker
7d5f40876e
Update help link
2020-07-15 14:31:15 +01:00
David Baker
6e35cd1d0c
Update cover photo link
2020-07-15 14:22:58 +01:00
David Baker
fad5edf794
Fix TS lint errors
2020-07-15 10:56:50 +01:00
David Baker
c6418fb083
A visit from the lint bunny
2020-07-15 10:51:57 +01:00
Michael Telatynski
8812f98b35
Convert editor to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:45:45 +01:00
Travis Ralston
895dc9c37f
Fix homepage logo
2020-07-15 00:09:39 -06:00
Michael Telatynski
2a683354a8
Wire up new room list breadcrums as an ARIA Toolbar
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 04:22:37 +01:00
Michael Telatynski
1b08c1e9df
Fix AccessibleTooltipButton leaking tooltipclassname into the DOM
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 04:19:51 +01:00
Michael Telatynski
8703bc1abc
Create a generic ARIA toolbar component which works with existing roving tab index context
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 03:47:35 +01:00
Travis Ralston
cc22be4f1d
Update attribution
2020-07-14 15:51:34 -06:00
Travis Ralston
556da7fe5c
Swap out Modular for EMS
2020-07-14 15:47:03 -06:00
David Baker
b2e5bc3fa1
Merge branch 'dbkr/fix_show_less_broken' into 'element'
...
Fix bug where 'show more' sometimes did nothing
See merge request new-vector/element/element-web/matrix-react-sdk!23
2020-07-14 21:04:58 +00:00
Travis Ralston
322d58ba0c
Merge branch 'develop' into element
2020-07-14 15:04:17 -06:00
David Baker
839851c90f
Fix bug where 'show more' sometimes did nothing
...
a3a1e2e01f
added the padding
to maxTilesPx which was confusing the calculation of whether we
should be showing the 'show more' button or the 'show less' button.
Hopefully this fixes the issue without undoing fixes from
https://github.com/matrix-org/matrix-react-sdk/pull/4964 or the
above commit by adding the padding in all cased in `get padding()`.
2020-07-14 21:49:51 +01:00
Travis Ralston
76fbb7c1b0
Merge branch 'develop' into joriks/delabs-font-scaling
2020-07-14 14:48:21 -06:00
Jorik Schellekens
3eac852ad0
Change font slider values
2020-07-14 21:27:01 +01:00
Travis Ralston
945dab6b1f
Revert "Turn previews on for DMs and ensure they get rendered"
...
This reverts commit b19ae3ac93
.
2020-07-14 13:36:28 -06:00
Travis Ralston
f6b9d44e4b
Invert logging
2020-07-14 13:18:06 -06:00
Travis Ralston
b19ae3ac93
Turn previews on for DMs and ensure they get rendered
2020-07-14 12:49:29 -06:00
Travis Ralston
e955feb12d
Revert "Merge pull request #4972 from matrix-org/travis/room-list/prelaunch/3-remove-debug"
...
This reverts commit e1b34acdc8
.
2020-07-14 12:02:40 -06:00
Travis Ralston
3a8b3e26ac
Fix appearance tab saying the wrong theme is selected
...
Fixes https://github.com/vector-im/riot-web/issues/14275
2020-07-14 11:53:10 -06:00
J. Ryan Stinnett
f452abf822
Merge branch 'jryans/font-text' into 'element'
...
Fix font input branding
See merge request new-vector/element/element-web/matrix-react-sdk!14
2020-07-14 17:08:20 +00:00
J. Ryan Stinnett
c0a552bfb0
Fix font input branding
2020-07-14 18:04:29 +01:00
Bruno Windels
b1444146e6
rename traces of element(-dark) theme in code
2020-07-14 18:40:32 +02:00
J. Ryan Stinnett
ea511faafe
Merge remote-tracking branch 'origin/develop' into element
2020-07-14 16:57:00 +01:00
Travis Ralston
e1b34acdc8
Merge pull request #4972 from matrix-org/travis/room-list/prelaunch/3-remove-debug
...
Remove debug logging from new room list
2020-07-14 09:56:17 -06:00
Bruno Windels
b6a5fa38e1
Merge branch 'element' into 'nadonomy/ui-tweaks-part-deux'
...
# Conflicts:
# res/css/views/rooms/_RoomSublist2.scss
2020-07-14 12:40:52 +00:00
Bruno Windels
4f466300b7
Merge branch 'element' of https://gitlab.matrix.org/new-vector/element/element-web/matrix-react-sdk into element
2020-07-14 14:32:08 +02:00
Bruno Windels
4fe4788c2e
Merge branch 'develop' into element
2020-07-14 14:31:31 +02:00
Michael Telatynski
9c5f7492e3
undo changes which are no longer needed
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-14 12:53:55 +01:00
Michael Telatynski
507d493b60
Merge branch 'nadonomy/ui-tweaks-part-deux' of https://gitlab.matrix.org/new-vector/element/element-web/matrix-react-sdk into nadonomy/ui-tweaks-part-deux
2020-07-14 12:42:58 +01:00
Michael Telatynski
4e8203cca1
revert some changes to resolve what looks like a props mutation race-condition
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-14 12:42:51 +01:00
J. Ryan Stinnett
a09f773edd
Tweak sticky header hiding to avoid pop
...
When transitioning between sublists, there can be a visibly observable jump in
the positioning of list items when the header container is restored to normal
size outside of sticky mode.
To avoid this problem, this leaves all headers at normal size. This creates a
new issue of a permanent gap at the top of the list for the first header, but
this can be solved by always hiding (since it can only ever appear stuck to
top).
Fixes https://github.com/vector-im/riot-web/issues/14429
2020-07-14 12:16:17 +01:00
Bruno Windels
106c91aec0
Merge branch 'element' into 'nadonomy/ui-tweaks-part-deux'
...
# Conflicts:
# res/css/views/rooms/_RoomSublist2.scss
2020-07-14 09:26:04 +00:00
J. Ryan Stinnett
aea3ad48b5
Merge remote-tracking branch 'origin/develop' into element
2020-07-14 10:17:43 +01:00
Michael Telatynski
f394190423
Merge pull request #4973 from matrix-org/t3chguy/room-list/14395
...
Fix show-all keyboard focus regression
2020-07-14 09:56:03 +01:00
Michael Telatynski
03f94779f1
Fix show-all keyboard focus regression
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-14 09:38:31 +01:00
J. Ryan Stinnett
f16962bb41
Merge pull request #4970 from matrix-org/travis/room-list/prelaunch/1-cleanup
...
Clean up TODOs, comments, and imports in the new room list
2020-07-14 09:38:30 +01:00
Travis Ralston
6632db01cf
Remove debug logging from new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14408
Yes, all the issue references are wrong :(
2020-07-13 20:34:05 -06:00
Travis Ralston
bdb136e24e
Clean up TODOs, comments, and imports in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14412
2020-07-13 20:25:02 -06:00
Travis Ralston
917c41dfa0
Update sticky headers when breadcrumbs pop in or out
...
Fixes https://github.com/vector-im/riot-web/issues/14455
2020-07-13 20:08:12 -06:00
Michael Telatynski
d4e397cbd0
Switch to svg masks for the e2eicon and border it for the EntityTile avatars
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-14 00:52:03 +01:00
Michael Telatynski
4d432f23e4
Fix room header timeline and composer alignment
...
Room header use DecoratedRoomAvatar instead of manual e2eIcon overlay
move e2eIcon next to it instead of private padlock
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 23:56:25 +01:00
Travis Ralston
a3a1e2e01f
Fix show less button occluding the last tile
...
Fixes https://github.com/vector-im/riot-web/issues/14450
People may have to click various combinations of 'show more' and 'show less' until it fixes itself, as their layout could be a bit weird now.
2020-07-13 16:38:13 -06:00
Michael Telatynski
646c5d4a64
Replace timeline tooltips to match breadcrumb tooltips
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 23:14:00 +01:00
J. Ryan Stinnett
a54b18adfe
Merge remote-tracking branch 'origin/develop' into element
2020-07-13 21:54:45 +01:00
J. Ryan Stinnett
f47e94259e
Merge branch 'jryans/rename-strings' into 'element'
...
Update server dialog, analytics
See merge request new-vector/element/element-web/matrix-react-sdk!7
2020-07-13 20:43:53 +00:00
J. Ryan Stinnett
4b5faf8148
Update top vs. bottom sticky styles separately
...
If a sublist changes from sticky top to sticky bottom in a single run of the
logic (without passing through the default state), we were leaving the previous
top position set. This handles them independently to resolve this.
Fixes https://github.com/vector-im/riot-web/issues/14390
Maybe helps with https://github.com/vector-im/riot-web/issues/14443
For vector-im/riot-web#13635
2020-07-13 21:24:47 +01:00
J. Ryan Stinnett
b50c809d35
Merge remote-tracking branch 'origin/develop' into element
2020-07-13 20:28:57 +01:00
Travis Ralston
8e982f52ff
Fix extra room tiles being rendered on smaller sublists
...
Fixes https://github.com/vector-im/riot-web/issues/14426
The issue only applies to lists which won't have a 'show less' button, as the lists with the button would have the button's height considered when determining visible tiles. For lists that were under that (1-4 rooms), the show more button wasn't being considered and thus leading to the padding being added rather than subtracted, causing an extra tile to render.
By ensuring we include the padding for both show more and show less, we ensure that no extra tiles get rendered and that the cutoff semantics are still present.
2020-07-13 12:59:09 -06:00
Jorik Schellekens
6bf6ae2031
try to fix test
...
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/delabs-font-scaling
2020-07-13 19:08:44 +01:00
J. Ryan Stinnett
995a7879a1
Merge remote-tracking branch 'origin/develop' into element
2020-07-13 18:49:55 +01:00
J. Ryan Stinnett
231c26c8a4
Update CustomServerDialog to use brand token
2020-07-13 17:57:56 +01:00
Michael Telatynski
33422f1744
Switch out Labs spinner to be the Flow-generated from Design
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 17:39:57 +01:00
Michael Telatynski
cc49e645b7
Merge pull request #4961 from matrix-org/t3chguy/room-list/14273
...
Fix room sub list header collapse/jump interactions on bottom-most sublist
2020-07-13 17:36:13 +01:00
Bruno Windels
62bdbb22e8
Merge branch 'element-roomlist-polish' into 'element'
...
Element roomlist polish
See merge request new-vector/element/element-web/matrix-react-sdk!5
2020-07-13 16:26:49 +00:00
Bruno Windels
c346122adf
align room header with user menu button
2020-07-13 18:24:28 +02:00
Bruno Windels
02b27086da
swap search field and breadcrumbs
2020-07-13 18:24:28 +02:00
Michael Telatynski
fd8f43e245
Fix room sub list header collapse/jump interactions on bottom-most sublist
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 17:17:05 +01:00
Michael Telatynski
3060cdf934
Iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 17:01:50 +01:00
Michael Telatynski
5bee948717
Fix room tile context menu for Historical rooms
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-13 16:35:03 +01:00
Jorik Schellekens
59e153e024
Merge branch 'develop' into joriks/delabs-font-scaling
2020-07-13 16:15:52 +01:00
Jorik Schellekens
71e97177b0
Merge pull request #4957 from matrix-org/joriks/room-list-avatar-aspect-ratio
...
Stop classname from overwritting baseavatar's
2020-07-13 16:02:06 +01:00
Michael Telatynski
1ce3ae0cf2
Merge pull request #4952 from matrix-org/t3chguy/room-list/14413
...
Remove redundant scroll-margins and fix RoomTile wrongly scrolling
2020-07-13 15:57:27 +01:00
Jorik Schellekens
3e2280a6f4
Stop classname from overwritting baseavatar's
2020-07-13 15:43:34 +01:00
Michael Telatynski
3c096fdf23
Merge pull request #4953 from matrix-org/t3chguy/fix/14402
...
Fix RoomAvatar viewAvatarOnClick to work on actual avatars instead of default ones
2020-07-13 15:28:29 +01:00
Michael Telatynski
72407a30d3
Merge pull request #4954 from matrix-org/t3chguy/room-list/14409
...
Room List v2 Enter in the filter field should select the first result
2020-07-13 15:27:16 +01:00
J. Ryan Stinnett
c77b312fd3
Merge branch 'jryans/rename-strings' into 'element'
...
Update brand name using variable in all strings
See merge request new-vector/element/element-web/matrix-react-sdk!3
2020-07-13 12:23:28 +00:00
Travis Ralston
0908e813fb
Merge branch 'develop' into travis/room-list/enable
2020-07-12 22:50:27 -06:00
Michael Telatynski
d253c58830
Room List v2 Enter in the filter field should select the first result
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-12 19:06:47 +01:00
Michael Telatynski
71ecd5dc85
clean-up
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-12 18:40:24 +01:00
Michael Telatynski
3f51bb84e1
Fix RoomAvatar viewAvatarOnClick to work on actual avatars instead of default ones
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-12 18:24:28 +01:00
Michael Telatynski
213e2df9fc
Remove redundant scroll-margins and fix RoomTile wrongly scrolling
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-12 08:49:04 +01:00
J. Ryan Stinnett
0c06975e7a
Merge remote-tracking branch 'origin/develop' into element
2020-07-11 19:16:26 +01:00
Travis Ralston
cfc39dc4a9
Remove now-dead code from sublist resizing
2020-07-10 16:10:05 -06:00
J. Ryan Stinnett
9085627a28
Use brand name from config in all strings
2020-07-10 19:57:01 +01:00
J. Ryan Stinnett
5f78522681
Move the default brand into the config module
2020-07-10 19:57:01 +01:00
J. Ryan Stinnett
063e6e3e9c
Fix a few types
2020-07-10 18:23:27 +01:00
Travis Ralston
bdb641279a
Merge branch 'develop' into travis/room-list/enable
2020-07-10 11:11:25 -06:00
David Baker
503159c1c8
Merge branch 'dbkr/in-app-rebrand-prompt' into 'element'
...
Add in-app rebranding toasts & prompts
See merge request new-vector/element/element-web/matrix-react-sdk!1
2020-07-10 17:09:17 +00:00
Bruno Windels
b7ded18fde
Merge branch 'element' of https://gitlab.matrix.org/new-vector/element/element-web/matrix-react-sdk into element
2020-07-10 19:05:46 +02:00
Bruno Windels
952200f031
Merge branch 'develop' into element
2020-07-10 19:04:45 +02:00
Travis Ralston
1175eb001f
Fix bad merge
2020-07-10 11:01:11 -06:00
Travis Ralston
477472c178
Merge branch 'develop' into travis/room-list/showmore2
2020-07-10 10:57:17 -06:00
Bruno Windels
ae8d6f5523
make tsc happy
2020-07-10 18:48:54 +02:00
Bruno Windels
15ea3a5287
add types
2020-07-10 18:42:51 +02:00
Bruno Windels
85ac256231
cleanup
2020-07-10 18:40:09 +02:00
Bruno Windels
e2aa6ecf6b
fix show X more counter
2020-07-10 18:40:09 +02:00
Bruno Windels
86817430c5
update initially shown amount of tiles on component update
...
as rooms aren't all available at ctor time
2020-07-10 18:40:09 +02:00
Bruno Windels
96f2968854
make all height changes update component state
...
also set visibleTiles as side-effect
2020-07-10 18:40:09 +02:00
Bruno Windels
652fb9e613
track height in pixels in component state
2020-07-10 18:40:09 +02:00
Bruno Windels
49f7170d95
extract type
2020-07-10 18:31:53 +02:00
Bruno Windels
725b7f8950
make show more button a bit less tall
2020-07-10 18:30:52 +02:00
Bruno Windels
d5a3071518
put show more button inside resizer
...
this way we have a flexbox layout in the resizer with:
- the resize handle (fixed)
- the show more/less button, if any (fixed)
- the list of tiles (grabbing whatever is left)
2020-07-10 18:29:39 +02:00
Travis Ralston
bf0a503e44
[WITH CONFLICTS] Merge branch 'develop' into travis/room-list/enable
2020-07-10 10:18:12 -06:00
Travis Ralston
3a3bfb39ee
Make the theme switcher switch between Element themes
2020-07-10 09:18:53 -06:00
J. Ryan Stinnett
28bbac8574
Merge remote-tracking branch 'origin/develop' into element
2020-07-10 16:03:11 +01:00
David Baker
8701e9293e
Add in-app rebranding toasts & prompts
...
Either shows an informational dialog telling you the name has changed,
or a more naggy one if the user needs to log in on a different URL.
The new URL (if any) is hardcoded based on the current URL, and also
with a bonus config param in case other deployments need to do similar.
2020-07-10 15:32:34 +01:00
Travis Ralston
840a4127db
Merge pull request #4944 from matrix-org/travis/room-list/perf/log-disable
...
Add an option to disable room list logging, and improve logging
2020-07-10 07:16:56 -06:00
Bruno Windels
7880c10b21
Merge branch 'element' of https://gitlab.matrix.org/new-vector/element/element-web/matrix-react-sdk into element
2020-07-10 12:28:47 +02:00
Bruno Windels
6dc7a5631b
make tag panel less wide
2020-07-10 12:27:48 +02:00
J. Ryan Stinnett
ab51dd28dc
Merge remote-tracking branch 'origin/develop' into element
2020-07-10 11:08:33 +01:00
Bruno Windels
f2f813c43c
make tag panel context menu icons follow text color
2020-07-10 10:20:26 +02:00
Travis Ralston
75dbd5f1d4
Merge branch 'develop' into travis/room-list/enable
2020-07-09 22:28:16 -06:00
Jorik Schellekens
ceff68476d
Remove useless dispatches
2020-07-10 02:25:47 +01:00
Jorik Schellekens
1983591cbf
Remove unused actions
2020-07-10 02:22:34 +01:00
Travis Ralston
cf154ec9cf
Add an option to disable room list logging, and improve logging
...
For https://github.com/vector-im/riot-web/issues/14035
**This option is not recommended as it completely obliterates all chances of being able to support someone with a broken room list. It is intended for specific testing scenarios only.**
2020-07-09 18:19:38 -06:00
Travis Ralston
859f65659c
Attempt to support a hard cutoff with the show more button
...
Known issues:
* Causes scroll jumps when the button gets added to DOM
* Resize handle is invisible when there's a show more button
TODO:
* Clean up comments
* Clean up useless code (all the padding stuff isn't needed)
2020-07-09 13:07:13 -06:00
Bruno Windels
ce68314de9
Revert "Merge pull request #4932 from matrix-org/travis/room-list/invisible-show-more"
...
This reverts commit f58a0a7538
.
2020-07-09 12:13:12 -06:00
Jorik Schellekens
8a7bebc6bf
lint
2020-07-09 18:37:18 +01:00
Jorik Schellekens
ade89ab4e9
Move sublist auto expand to out from layouts
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-07-09 18:32:28 +01:00
Jorik Schellekens
9b79de7fe7
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/room-list-auto-expand-on-search
2020-07-09 17:14:52 +01:00
Bruno Windels
d90fc57469
Merge branch 'develop' into element
2020-07-09 17:59:56 +02:00
Jorik Schellekens
d94b6e2b36
Merge pull request #4937 from matrix-org/joriks/appearance-tab-irc-setting-in-advanced
...
Move irc layout option to advanced
2020-07-09 16:20:37 +01:00
Jorik Schellekens
1033eda7fb
Move irc layout option to advanced
2020-07-09 15:54:44 +01:00
Bruno Windels
f58a0a7538
Merge pull request #4932 from matrix-org/travis/room-list/invisible-show-more
...
Potential solution to supporting transparent 'show more' buttons
2020-07-09 14:43:20 +00:00
Travis Ralston
bd8e1f7198
Merge pull request #4931 from matrix-org/travis/room-list/sticky-headers
...
Improve performance and stability in sticky headers for new room list
2020-07-09 08:00:56 -06:00
Travis Ralston
57b2ae9a0d
Merge branch 'develop' into travis/room-list/perf/notifications
2020-07-09 07:46:01 -06:00
Travis Ralston
8aa2ed0c8b
Merge pull request #4934 from matrix-org/travis/room-list/perf/layout
...
Move list layout management to its own store
2020-07-09 07:44:44 -06:00
Jorik Schellekens
ecc109c45d
Merge pull request #4933 from matrix-org/joriks/room-list-noop-first-breadcrumb
...
Noop first breadcrumb
2020-07-09 13:47:38 +01:00
Travis Ralston
545f11d742
Convert devtools dialog to use new room state format
2020-07-08 22:23:51 -06:00
Travis Ralston
47380306c2
Move and improve notification state handling
...
Previously we were creating a notification state whenever we needed one, which was leading to hundreds of listeners even on a small account. To ease the burden, and reduce the load of having to wake so many listeners, we now record a single listener for each tag ID and room combination.
This commit also introduces a number of utilities to make future notification work a bit of an easier transition, such as the `isX` and `hasX` getters on the new NotificationState abstract class. Similarly, "snapshots" have been added to reduce code duplication between different kinds of states checking for updates.
The ListNotificationState is now heavily tied into the store which offers it to help reuse the cache of room notification states.
Fixes https://github.com/vector-im/riot-web/issues/14370
2020-07-08 19:26:25 -06:00
Jorik Schellekens
2baa78d26b
Move no-op to breadcrumb store
2020-07-09 01:31:44 +01:00
Travis Ralston
c5812d6c27
Move list layout management to its own store
...
This is more general maintenance than performance as the RoomList doesn't need to be generating layouts for the sublists, and it certainly doesn't need to be creating a bunch of extra ones.
The sublists are perfectly capable of getting their own layout instance and using it, and we are perfectly able to limit the number of these things we create through the session's lifespan.
2020-07-08 18:28:21 -06:00
Jorik Schellekens
016710af6a
Noop first breadcrumb
2020-07-09 00:44:23 +01:00
Michael Telatynski
ada68c4220
Merge pull request #4892 from jugglinmike/gh-13135-highlight-jump-to-bottom
...
Highlight "Jump to Bottom" badge when appropriate
2020-07-09 00:20:37 +01:00
Travis Ralston
8972cf9378
Potential solution to supporting transparent 'show more' buttons
...
In this demonstration, we remove the cutting line (as it collides with the tile in a weird spot) and instead replace the tile with a placeholder when the text is about to collide with the avatar in the tile. We use a `round()` for this because through some amazing coincidence the collision happens at 0.47, which is close enough to 0.5 for people not to notice.
2020-07-08 16:09:45 -06:00
Travis Ralston
74ca0618ac
Improve scrolling performance for sticky headers
...
The layout updates are anecdotal based on devtools flagging the values which are "changing" even if they aren't. The scrolling feels better with this as well, though this might be placebo.
2020-07-08 14:55:28 -06:00
Travis Ralston
f9aca7c05e
Avoid bounding box usage in sticky headers & improve reliability
...
We now use offsets and scroll information to determine where the headers should be stuck to, still supporting the transparent background.
Some scroll jumps were originally introduced as part of the change in numbering, so they have been fixed here. By proxy, some additional scroll jump/instability should be fixed as well.
This has a lingering problem of still causing a huge number of no-op UI updates though, which will be dealt with in a future commit.
2020-07-08 14:37:35 -06:00
Travis Ralston
6e20850567
Remove sanity check from requestAnimationFrame
...
It should be in all major browsers as of years ago, and we use it unguarded elsewhere in the app. The performance benefits of it appear to be worthwhile enough to keep it, though it's not a perfect solution.
2020-07-08 12:17:51 -06:00
Michael Telatynski
3abf1586f9
Merge pull request #4930 from matrix-org/t3chguy/room-list/14380
...
Don't render the context menu within its trigger otherwise unhandled clicks bubble
2020-07-08 19:13:20 +01:00
Michael Telatynski
e2d65222a2
Don't render the context menu within its trigger otherwise unhandled clicks will re-trigger
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-08 18:59:27 +01:00
Jorik Schellekens
bb18e677f9
Lint semis
2020-07-08 18:05:07 +01:00
Jorik Schellekens
fe2bb355ab
Hide archive button
2020-07-08 18:02:20 +01:00
Jorik Schellekens
8773d67df7
Auto expand room list on search
2020-07-08 17:28:15 +01:00
Bruno Windels
7390baf451
Merge branch 'develop' into element
2020-07-08 18:09:38 +02:00
Travis Ralston
eb38d80bd5
Merge pull request #4920 from matrix-org/joriks/room-list-priorities
...
Enable options to favourite and low priority rooms
2020-07-08 10:08:02 -06:00
Bruno Windels
d5747ad6c0
Merge branch 'develop' into element
2020-07-08 18:07:45 +02:00
Travis Ralston
0368bff5b1
Merge pull request #4904 from matrix-org/joriks/room-list-voip
...
Move voip previews to bottom right corner
2020-07-08 10:07:42 -06:00
Bruno Windels
571bd30898
update call icons
2020-07-08 18:02:30 +02:00
Jorik Schellekens
9dd28a9ce0
semi
2020-07-08 17:02:26 +01:00
Jorik Schellekens
4ae64aff9a
lint line length
2020-07-08 16:14:04 +01:00
Jorik Schellekens
6ca7150533
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into
...
joriks/room-list-priorities
2020-07-08 16:08:55 +01:00
Jorik Schellekens
53bdddfcdd
Fix discrepancies with style
2020-07-08 16:07:38 +01:00
Jorik Schellekens
fb6791e221
Merge pull request #4923 from matrix-org/joriks/room-list-focus-search
...
Focus room filter on openSearch
2020-07-08 15:20:08 +01:00
Travis Ralston
3912f2d21c
Merge remote-tracking branch 'origin/develop' into travis/room-list/resizable
2020-07-08 07:55:10 -06:00
Travis Ralston
b2abe61fc5
clarify which NumberSize to use
2020-07-08 07:51:48 -06:00
Bruno Windels
7dad56ca86
Merge branch 'develop' into element
2020-07-08 15:50:17 +02:00
Bruno Windels
269c30f8e8
Revert "also blur the sticky headers"
...
This reverts commit 82e0816d86
.
2020-07-08 15:47:01 +02:00
Bruno Windels
989e4a9ceb
Merge pull request #4912 from matrix-org/bwindels/bettersticky
...
Add wrapper to room list so sticky headers don't need a background
2020-07-08 13:34:01 +00:00
Bruno Windels
a361ac3f83
make collapsing/expanding the first header work again
2020-07-08 15:11:47 +02:00
Bruno Windels
0d94cfa97a
put sticky headers in padding of wrapper
...
this way they don't need a background, as the list is already clipped
2020-07-08 14:49:38 +02:00
Bruno Windels
75751abc60
add wrapper we can then add padding to when sticking headers
2020-07-08 14:49:04 +02:00
Michael Telatynski
5d23e4216e
Merge pull request #4908 from matrix-org/t3chguy/room-list/12345
...
New room list view_room show_room_tile support
2020-07-08 13:34:28 +01:00
Michael Telatynski
ec54d509e5
remove stale debug log
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-08 13:24:40 +01:00
Michael Telatynski
d7ad555c12
Merge pull request #4871 from matrix-org/t3chguy/room-list/3
...
Convert Context Menu to TypeScript
2020-07-08 13:24:10 +01:00
Michael Telatynski
64d7580494
Merge pull request #4913 from matrix-org/t3chguy/fix/14363
...
Fix MELS summary of 3pid invite revocations
2020-07-08 13:23:45 +01:00
Michael Telatynski
7b115056b0
Fix sticky headers being left on display:none if they change too quickly
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-08 09:21:33 +01:00
Michael Telatynski
faa9124f2b
Merge branches 'develop' and 't3chguy/room-list/12345' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/12345
...
Conflicts:
src/components/views/rooms/RoomTile2.tsx
2020-07-08 08:57:01 +01:00
Travis Ralston
15b6a273c9
Swap out the resizer lib for something more stable
...
react-resizer appears to be okay at tracking state, but it often desyncs from reality. re-resizer is more maintained and more broadly used (160k downloads vs 110k), and appears to generally do a better job of tracking the cursor.
The new library has some oddities though, such as deltas, touch support (hence the polyfill), and calling handles "Enable".
For https://github.com/vector-im/riot-web/issues/14022
2020-07-07 22:21:00 -06:00
Jorik Schellekens
8679d90703
lint semi
2020-07-08 00:27:29 +01:00
Jorik Schellekens
70c1bf3e5c
Focus room filter on openSearch
2020-07-08 00:25:43 +01:00
Jorik Schellekens
f4e05142db
lint
2020-07-07 23:17:56 +01:00
Jorik Schellekens
b3f50b6e17
Enable options to favourite and low priority rooms
2020-07-07 23:14:04 +01:00
Travis Ralston
a59a8b76a9
Update TODO comments to point to new issue
2020-07-07 14:51:43 -06:00
Travis Ralston
8ef4b1b2e7
Replace labs flag with a real setting
2020-07-07 13:56:46 -06:00
Travis Ralston
baccabeae4
Remove extraneous true
2020-07-07 11:34:52 -06:00
Travis Ralston
e6b20088c0
Try using requestAnimationFrame if available for sticky headers
...
This might help performance, or it might not. Let's try it!
2020-07-07 11:33:32 -06:00
Michael Telatynski
853b280673
Fix MELS summary of 3pid invite revocations
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 18:30:57 +01:00
Michael Telatynski
28310cb648
remove TODOs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 17:48:39 +01:00
Michael Telatynski
a33717a475
Wire up Room sublist show more/less as roving tabindex button using new helper
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 17:47:21 +01:00
Michael Telatynski
f18db23cc4
Remove some TODOs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 17:18:56 +01:00
Michael Telatynski
986d56ffdc
Merge branches 'develop' and 't3chguy/room-list/12345' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/12345
...
Conflicts:
src/components/views/rooms/RoomSublist2.tsx
src/components/views/rooms/RoomTile2.tsx
2020-07-07 17:11:04 +01:00
Michael Telatynski
92e86af162
Show more/Show less keep focus in a relevant place
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 17:07:51 +01:00
Jorik Schellekens
e3dbda2abf
Fix tests
2020-07-07 16:44:15 +01:00
Jorik Schellekens
dad3dce364
Merge branch 'develop' into joriks/room-list-voip
2020-07-07 15:45:45 +01:00
Jorik Schellekens
bc4167180c
Lint whitespaces and semis
2020-07-07 15:40:05 +01:00
Michael Telatynski
8ba2be0be5
Merge pull request #4900 from matrix-org/t3chguy/room-list/1234
...
New Room List implement view_room_delta for keyboard shortcuts
2020-07-07 15:36:30 +01:00
Michael Telatynski
8c2286a044
Move all the ContextMenu semantic helper (ARIA) components out to separate modules
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 15:24:46 +01:00
Jorik Schellekens
8458572032
lint
2020-07-07 15:18:10 +01:00
Jorik Schellekens
0d6e7759d0
Fix review details
...
- spelling mistake
- unwatch watched setting
- lint (indentation)
- use more performant component
2020-07-07 15:11:08 +01:00
Jorik Schellekens
527fe24cd6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/room-list-voip
2020-07-07 15:04:22 +01:00
Michael Telatynski
afac330143
Merge branches 'develop' and 't3chguy/room-list/3' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/3
...
Conflicts:
src/components/structures/ContextMenu.tsx
src/components/structures/UserMenu.tsx
src/components/views/rooms/RoomSublist2.tsx
src/components/views/rooms/RoomTile2.tsx
2020-07-07 15:01:27 +01:00
Michael Telatynski
69852ecef4
Merge branches 'develop' and 't3chguy/room-list/123' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/123
...
Conflicts:
src/components/views/rooms/RoomSublist2.tsx
2020-07-07 14:10:58 +01:00
Michael Telatynski
44ae83f228
Move the Volume union type out to a throwaway
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 14:07:35 +01:00
Travis Ralston
b3b404f121
Merge pull request #4906 from matrix-org/travis/room-list/invites-list
...
Fix a number of issues with the new room list's invites
2020-07-07 06:55:30 -06:00
Travis Ralston
1b48b99f99
Append community invites to bottom instead
2020-07-07 06:53:17 -06:00
Travis Ralston
994d8708f2
Move to a fragment
2020-07-07 06:52:44 -06:00
Bruno Windels
7115c07c65
Merge branch 'develop' into element
2020-07-07 13:21:49 +02:00
Bruno Windels
2ca9044171
swap order of context menu buttons so it does not jump when muted
2020-07-07 12:46:33 +02:00
Bruno Windels
1ef73958f3
change hide community icon in context menu
2020-07-07 12:16:31 +02:00
Bruno Windels
38ff58f8dd
remove upload icon
2020-07-07 12:16:16 +02:00
Michael Telatynski
19e1c79796
update comment
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 10:35:16 +01:00
Michael Telatynski
63ec793fad
Support view_room's show_room_tile in the new room list
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-07 10:34:42 +01:00
Mike Pennisi
d237d02c03
Highlight "Jump to Bottom" badge when appropriate
...
This resolves https://github.com/vector-im/riot-web/issues/13135
Signed-off-by: Mike Pennisi <mike@mikepennisi.com>
2020-07-06 23:09:54 -04:00
Travis Ralston
3284cc730e
Show ordering options on invites
...
Fixes https://github.com/vector-im/riot-web/issues/14309
2020-07-06 20:42:43 -06:00
Travis Ralston
f103fd1ccf
Make community invites appear even if there's no room invites
...
Fixes https://github.com/vector-im/riot-web/issues/14358
2020-07-06 20:32:37 -06:00
Travis Ralston
b28a267669
Remove old community invite placeholder handling
...
We ended up shoving it into the invite list, so don't render it here.
2020-07-06 20:32:09 -06:00
Michael Telatynski
6bc39547c7
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/12345
2020-07-07 00:10:06 +01:00
Jorik Schellekens
5176685d20
Implement incoming call box
2020-07-06 23:05:00 +01:00
Travis Ralston
d14dd777b7
Revert "don't need to set width with javascript?"
...
This reverts commit a2cf641c0e
.
2020-07-06 15:23:20 -06:00
Michael Telatynski
3094bb32ec
Merge pull request #4901 from matrix-org/t3chguy/room-list/112
...
Fix some room list sticky header instabilities
2020-07-06 22:21:02 +01:00
Michael Telatynski
abfbcf4090
use uglier style for props but be consistent :'(
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 22:04:30 +01:00
Michael Telatynski
f038dd52e6
Merge pull request #4903 from matrix-org/t3chguy/room-list/14353
...
null-guard against groups with a null name in new Room List
2020-07-06 22:01:41 +01:00
Michael Telatynski
60225154e6
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 21:58:44 +01:00
Michael Telatynski
97d4295bf5
Merge pull request #4902 from matrix-org/t3chguy/room-list/14306
...
Allow vertical scrolling on the new room list breadcrumbs
2020-07-06 21:53:54 +01:00
Michael Telatynski
f6aa6208ee
null-guard against groups with a null name :((
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 21:53:20 +01:00
Bruno Windels
7647072b05
remove prop instead of assigning unset
2020-07-06 14:36:07 -06:00
Bruno Windels
201f6ebe83
make stick headers jump in a bit later so the transition is less jumpy
2020-07-06 14:36:01 -06:00
Bruno Windels
a2cf641c0e
don't need to set width with javascript?
2020-07-06 14:35:53 -06:00
Bruno Windels
61a5807fd1
only show topmost top sticky header
2020-07-06 14:35:46 -06:00
Michael Telatynski
c9bc318ca7
Allow vertical scrolling on the new room list breadcrumbs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 21:32:46 +01:00
Michael Telatynski
8233dec72e
Fix some room list sticky header instabilities
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 21:05:06 +01:00
Michael Telatynski
2c1eb07768
Merge pull request #4883 from matrix-org/t3chguy/ts123
...
Convert things to Typescript, including languageHandler
2020-07-06 18:54:19 +01:00
Michael Telatynski
18064c19a3
add TODO
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 18:13:11 +01:00
Michael Telatynski
8acec1f417
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 17:58:39 +01:00
Michael Telatynski
1849ed90d2
Implement ViewRoomDelta for the new Room List
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 17:58:29 +01:00
Michael Telatynski
2da1320d99
Type view_room_delta as ViewRoomDelta
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 17:57:40 +01:00
Michael Telatynski
6042e015e0
Remove unused dispatches view_indexed_room and view_prev_room
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 17:49:37 +01:00
Bruno Windels
8fd9dbf1d8
moar icon changes
2020-07-06 18:28:54 +02:00
Jorik Schellekens
1e0ff01d50
De labs font-scaling
2020-07-06 15:43:49 +01:00
Bruno Windels
3e5664de7b
update user menu icons
2020-07-06 16:12:36 +02:00
Michael Telatynski
66ca095706
Fix double handling of native inputs wrapped for aria menus
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 10:41:35 +01:00
Michael Telatynski
823ada374d
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 10:30:06 +01:00
Michael Telatynski
6cb0ac6a50
Fix checkboxes/radios in context menus should only close on ENTER, not SPACE
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 10:18:49 +01:00
Bruno Windels
08c44333cf
Update develop
2020-07-06 09:29:23 +02:00
Michael Telatynski
87a7a8a02b
Add TODOs
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 01:15:53 +01:00
Michael Telatynski
b7c23b690c
Include more classes for room list keyboard navigation
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 01:14:02 +01:00
Michael Telatynski
2d09ac9f88
Improve UserMenu label
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-06 01:01:40 +01:00
Michael Telatynski
7c29a53ebd
aria-hide the notifications badge on room tiles as we have manual labels here
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-05 19:59:29 +01:00
Michael Telatynski
a68e23c9e0
Make message previews accessible via describedby
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-05 19:38:45 +01:00
Michael Telatynski
3cebfc8072
Fix StyledMenuItemCheckbox and StyledMenuItemRadio
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-05 19:31:24 +01:00
Michael Telatynski
069cdf3ce0
Fix room list v2 context menus to be aria menus
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-05 18:23:57 +01:00
Michael Telatynski
1620feb55e
Sprinkle in some better ARIA props
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-05 01:07:46 +01:00
Michael Telatynski
4c7014167d
Improve a11y of default BaseAvatar
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-05 01:06:36 +01:00
Michael Telatynski
ae5ab4c394
Merge pull request #4893 from matrix-org/t3chguy/room-list/101
...
Radio button outline fixes including for new room list context menu
2020-07-03 20:35:17 +01:00
Michael Telatynski
599cc9c9ed
Merge pull request #4882 from matrix-org/t3chguy/room-list/6
...
First step towards a11y in the new room list
2020-07-03 20:17:33 +01:00
Michael Telatynski
c8bb6f5904
Improve radio outlines for message layout to be more consistent
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 19:48:22 +01:00
Michael Telatynski
5a542281ed
Make Styled Radio Button outlines default-off
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 19:27:45 +01:00
Michael Telatynski
a475887c3e
Merge pull request #4891 from matrix-org/t3chguy/room-list/111
...
Fix theme selector clicks bubbling out and causing context menu to float away
2020-07-03 16:52:32 +01:00
Michael Telatynski
3f62f20a85
Fix theme selector bubbling out its click events and causing context menu to float away
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 16:29:48 +01:00
Bruno Windels
52fdf92180
remove prop instead of assigning unset
2020-07-03 16:52:52 +02:00
Bruno Windels
8cd20eedeb
make stick headers jump in a bit later so the transition is less jumpy
2020-07-03 16:52:28 +02:00
Bruno Windels
b370e3f078
don't need to set width with javascript?
2020-07-03 16:52:01 +02:00
Bruno Windels
82e0816d86
also blur the sticky headers
...
added a DOM element so we can set the background on the parent and
the blur on the new element
2020-07-03 16:50:01 +02:00
Michael Telatynski
c8a93e9dd7
clean-up
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 14:49:25 +01:00
Michael Telatynski
47ee00ec5d
Make explore button at all accessible
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 14:43:02 +01:00
Michael Telatynski
9b0c711837
Make the UserMenu more accessible
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 14:34:43 +01:00
J. Ryan Stinnett
04142a8723
Remove duplicate compact settings, handle device level updates
...
This removes the duplicate setting for compact layout from the appearance tab,
and leaves the "advanced" one, matching the intention from Design.
This also adds the relevant handling to ensure the device-level setting triggers
an update immediately when changed.
Fixes https://github.com/vector-im/riot-web/issues/14304
2020-07-03 12:06:00 +01:00
Bruno Windels
eb5f6de25f
only show topmost top sticky header
2020-07-03 12:17:54 +02:00
Travis Ralston
26ce801ef1
Merge pull request #4887 from matrix-org/t3chguy/room-lists/99
...
fix notifications icons some more
2020-07-02 17:16:45 -06:00
Michael Telatynski
22ac7e6def
fix notifications icons some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-03 00:14:51 +01:00
Michael Telatynski
9cf162e267
Merge branches 'develop' and 't3chguy/room-list/6' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/6
...
Conflicts:
src/components/views/rooms/RoomSublist2.tsx
src/components/views/rooms/RoomTile2.tsx
2020-07-03 00:02:37 +01:00
Michael Telatynski
0854924b8d
iterate some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 23:51:02 +01:00
Michael Telatynski
404009c8cb
Merge branches 'develop' and 't3chguy/room-list/3' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/3
...
Conflicts:
src/components/structures/ContextMenu.tsx
src/components/views/rooms/RoomSublist2.tsx
2020-07-02 23:46:12 +01:00
Michael Telatynski
96cfd26bd4
fix imports some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 23:32:21 +01:00
Michael Telatynski
08392d53f0
Merge pull request #4884 from matrix-org/t3chguy/room-lists/99
...
Fix bell icon mismatch on room tile between hover and context menu
2020-07-02 23:31:48 +01:00
Michael Telatynski
5c5482a8ae
I've got 99 problems and this badge mismatch is no longer one
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 23:20:16 +01:00
Michael Telatynski
48ce294a49
Transition languageHandler to Typescript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 23:15:08 +01:00
Travis Ralston
cc23f23f19
Merge pull request #4881 from matrix-org/travis/room-list/enable-default
...
Enable the new room list by default and trigger an initial render
2020-07-02 15:28:36 -06:00
Michael Telatynski
289f40ce29
First step towards a11y in the new room list
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 22:21:10 +01:00
Travis Ralston
df05273225
Merge remote-tracking branch 'origin/joriks/room-list-tooltips' into develop
2020-07-02 15:20:27 -06:00
Travis Ralston
1df092d79b
Merge pull request #4879 from matrix-org/travis/room-list/context-menu-fixes
...
Fix selection states of room tiles in the new room list
2020-07-02 15:18:19 -06:00
Travis Ralston
ea787ad430
Merge pull request #4876 from matrix-org/travis/room-list/notif-dropdown
...
Update mute icon behaviour for new room list designs
2020-07-02 15:15:56 -06:00
Travis Ralston
3847dc91c0
Move the stoppage to somewhere more generic
2020-07-02 15:15:33 -06:00
Travis Ralston
547690374e
Wrap event stoppage in null checks
...
Some of the code paths (particularly onFinished) do not have events, but the code paths we care about to prevent the room selection do have events - we can stop those without stopping further menus.
2020-07-02 14:53:21 -06:00
Travis Ralston
0549ef83db
Merge pull request #4878 from matrix-org/travis/room-list/fix-community-invites
...
Fix alignment of avatars on community invites
2020-07-02 14:39:25 -06:00
Travis Ralston
1b782ce5f2
Enable the new room list by default and trigger an initial render
...
We have to trigger an initial render because during the login process the user will have started syncing (causing lists to generate) but the RoomList component won't be mounted & listening and therefore won't receive the initial lists. By generating them on mount, we ensure that the lists are present once the user gets through the login process.
2020-07-02 14:27:36 -06:00
Travis Ralston
0d9ce0721f
Don't include empty badge container in minimized view
...
Fixes https://github.com/vector-im/riot-web/issues/14294
It takes up space, and it won't hold anything anyways.
2020-07-02 14:11:31 -06:00
Travis Ralston
e08512020f
Fix a couple badge alignment issues with community invites
2020-07-02 14:05:31 -06:00
Travis Ralston
aa702514ce
Don't try and show context menus if we don't have one
...
Fixes https://github.com/vector-im/riot-web/issues/14295
2020-07-02 13:59:28 -06:00
Travis Ralston
e51f9d2492
Fix closing the context menu causing the tile to be selected
...
Fixes https://github.com/vector-im/riot-web/issues/14293
2020-07-02 13:53:38 -06:00
Travis Ralston
349c3f7090
Only show mute notification icon on rooms, not all notif icons
2020-07-02 13:33:06 -06:00
Travis Ralston
45f4a2a980
Fix imports for NotificationStates
2020-07-02 13:28:06 -06:00
Travis Ralston
b54635863f
Merge branch 'develop' into travis/room-list/notification-state
2020-07-02 13:26:16 -06:00
Travis Ralston
43db4b98df
Merge branch 'develop' into joriks/room-list-breadcrumbs
2020-07-02 13:22:51 -06:00
Michael Telatynski
4a03b464d6
Merge pull request #4875 from matrix-org/t3chguy/room-list/4
...
Add click-to-jump on badge in the room sublist header
2020-07-02 20:04:43 +01:00
Michael Telatynski
ae2a6ebc07
improve comments
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 19:56:41 +01:00
Michael Telatynski
a658612078
Add click-to-jump on badge in the room sublist header
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-02 19:48:06 +01:00
Michael Telatynski
c4bbdefa8d
Merge pull request #4870 from matrix-org/t3chguy/room-list/2
...
Room List v2 context menu interactions
2020-07-02 18:02:21 +01:00
Travis Ralston
32642d592c
Add a key
2020-07-02 09:27:42 -06:00
Travis Ralston
b7aa8203b6
Wedge community invites into the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14179
Disclaimer: this is all of the horrible because it's not meant to be here. Invites in general are likely to move out of the room list, which means this is temporary. Additionally, the communities rework will take care of this more correctly. For now, we support the absolute bare minimum to have them shown.
2020-07-02 09:04:38 -06:00
J. Ryan Stinnett
209b386e23
Merge remote-tracking branch 'origin/develop' into jryans/room-view-crypto-crash
2020-07-02 13:46:50 +01:00
J. Ryan Stinnett
a928785f72
Check whether crypto is enabled in room recovery reminder
...
This avoids a soft crash that may occur otherwise.
Fixes https://github.com/vector-im/riot-web/issues/14289
2020-07-02 13:19:27 +01:00
J. Ryan Stinnett
b5c94acbe6
Remove unused crypto import
2020-07-02 13:17:51 +01:00
Michael Telatynski
9fcc2ced3d
fix types some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:59:06 +01:00
Michael Telatynski
07e0a017e7
fix types
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:56:57 +01:00
Michael Telatynski
6802f9b4df
unbreak copyright
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:52:49 +01:00
Michael Telatynski
58718dab37
Convert ContextMenu to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:51:12 +01:00
Michael Telatynski
4b27a67e33
improve default behaviour for consistency
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:16:54 +01:00
Michael Telatynski
6424ffb22a
fix repeated context menu interaction by not erroring
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:13:54 +01:00
Michael Telatynski
e8702aafa5
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:09:02 +01:00
Michael Telatynski
5c2b291510
Support right click context menu interactions on Room List 2
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:06:26 +01:00
Michael Telatynski
89bd572371
Fix context menu nesting causing bubbling and instabilities
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 23:05:37 +01:00
Jorik Schellekens
62314cac06
Merge pull request #4863 from matrix-org/joriks/room-list-autohide-scrollbar
...
Hide scrollbar without pixel jumping
2020-07-01 20:07:32 +01:00
Michael Telatynski
28e430060c
Merge pull request #4858 from matrix-org/t3chguy/room-list/2
...
Room Tile context menu, notifications, indicator and placement
2020-07-01 19:20:09 +01:00
Travis Ralston
51ce80f333
Merge branch 'develop' into travis/room-list/notification-state
2020-07-01 12:01:07 -06:00
Travis Ralston
2cd6fae2ce
Merge pull request #4865 from matrix-org/travis/room-list/default-vis
...
Improve resizing interactions in the new room list
2020-07-01 11:59:54 -06:00
Travis Ralston
946fde5cc5
Be consistent in visible tiles usage
2020-07-01 11:59:32 -06:00
Jorik Schellekens
2162517a37
Display breadcrumbs only after 20 rooms have been joined
2020-07-01 16:05:27 +01:00
Jorik Schellekens
ad27dbbfab
Clean up classnames
2020-07-01 15:15:18 +01:00
Michael Telatynski
9831698b1e
Hide notifications menu from invite tiles
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 14:28:00 +01:00
Michael Telatynski
10e547539d
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/2
2020-07-01 14:26:56 +01:00
Travis Ralston
fed0c327d5
Merge pull request #4866 from matrix-org/travis/room-list/rm-ordering-options
...
Disable use of account-level ordering options in new room list
2020-07-01 07:25:04 -06:00
Michael Telatynski
3b7b6eca6f
align context menus even better
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 14:05:33 +01:00
Michael Telatynski
b5014282a4
Iterate PR based on Figma design and feedback
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-01 13:59:50 +01:00
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
Bruno Windels
6fc4be386a
add blurred, blended avatar background to left panel
2020-06-30 13:28:19 +02: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
Jorik Schellekens
b110639c76
Merge remote-tracking branch 'origin' into joriks/eslint-config
2020-06-29 16:49:33 +01: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
J. Ryan Stinnett
767090dd78
Merge pull request #4821 from matrix-org/jryans/more-reset-paths
...
Show cross-signing / secret storage reset button in more cases
2020-06-24 17:35:24 +01:00
Travis Ralston
906b72082e
Merge pull request #4819 from matrix-org/travis/room-list/icon-masks
...
Use theme-capable icons in the user menu
2020-06-24 10:34:29 -06:00
Jorik Schellekens
0638b94cc2
Move compact checkbox
2020-06-24 16:06:50 +01:00
J. Ryan Stinnett
b01015f5c5
Show cross-signing / secret storage reset button in more cases
...
This exposes the cross-signing / secret storage reset button in more cases to
hopefully give people a better chance of trying again in case something failed
halfway through set up. In particular, any combination of keys existing now
reveals the reset button.
Fixes https://github.com/vector-im/riot-web/issues/13993
2020-06-24 14:30:12 +01:00
Travis Ralston
5c7e59b132
Use theme-capable icons in the user menu
...
They're still inconsistent weights, but at least they are the right color on non-light-theme clients.
2020-06-23 21:17:39 -06:00
Travis Ralston
380aed4244
Update profile information in User Menu
...
Fixes https://github.com/vector-im/riot-web/issues/14158 (we needed an HTTP avatar URL)
Fixes https://github.com/vector-im/riot-web/issues/14159
Fixes https://github.com/vector-im/riot-web/issues/14157
Also fixes an issue where it wasn't updating automatically when the user changed their profile info.
This is all achieved through a new OwnProfileStore which does the heavy lifting, as we have to keep at least 2 components updated.
2020-06-23 21:01:50 -06:00
Hubert Chathi
74e4ea7d48
Merge pull request #4797 from matrix-org/uhoreg/distrust_backup
...
Mark messages with a black shield if the megolm session isn't trusted
2020-06-23 15:38:03 -04:00
Jorik Schellekens
7699aafcaf
Use new eslint package- fix lint issues in ts and js
2020-06-23 17:01:19 +01:00
Jorik Schellekens
1e39279a77
Merge pull request #4761 from matrix-org/joriks/appearance-advanced
...
Custom font selection
2020-06-23 15:38:50 +01:00
J. Ryan Stinnett
3829362754
Fix up merge to develop
2020-06-23 15:24:02 +01:00
RiotRobot
6161f95434
Merge branch 'master' into develop
2020-06-23 15:18:35 +01:00
David Baker
6ce8584337
Implement first screen (recovery key / passphrase choice)
2020-06-23 15:04:39 +01:00
Jorik Schellekens
680e997a94
Cleanup tooltip classnames
2020-06-23 13:38:50 +01:00
Travis Ralston
fc5ee64fce
Fix read receipt handling in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14064
Fixes https://github.com/vector-im/riot-web/issues/14082
Turns out the event doesn't reference a room, so we need to use the accompanied room reference instead.
2020-06-22 15:12:30 -06:00
Travis Ralston
fb551781c2
Force DMs to always be red notifications
...
This also passes the tagId to the sublist so it doesn't have to rip it out of the `layout`. It doesn't get a layout until later anyways, which causes some null issues.
2020-06-22 14:52:17 -06:00
Travis Ralston
894357f7f6
Merge branch 'develop' into travis/room-list/unread-2
2020-06-22 14:16:52 -06:00
Travis Ralston
26317b6826
Merge pull request #4803 from matrix-org/travis/room-list/setting-diff
...
Only fire setting changes for changed settings
2020-06-22 14:16:24 -06:00
Travis Ralston
1fe3e33dbf
Factor out cloning to a util and use it everywhere
2020-06-22 14:14:43 -06:00
Travis Ralston
aca6c65ef3
Merge pull request #4810 from matrix-org/travis/room-list/theme
...
Have the theme switcher set the device-level theme to match settings
2020-06-22 13:53:03 -06:00
Travis Ralston
f66f220a3e
Merge pull request #4808 from matrix-org/travis/room-list/collapsed
...
Fix layout of minimized view for new room list
2020-06-22 13:51:38 -06:00
Travis Ralston
6c48966bf5
Have the theme switcher set the device-level theme to match settings
...
Fixes https://github.com/vector-im/riot-web/issues/14111
This is a shortcut into the Appearance tab, so use the same level. It was an explicit decision to have the tab set the theme at the device level.
2020-06-22 13:34:49 -06:00
Travis Ralston
1a427b8ff7
Fix sticky headers over/under extending themselves in the new room list
...
Fixes https://github.com/vector-im/riot-web/issues/14095
2020-06-22 13:09:42 -06:00
Travis Ralston
cf92fc37d4
Fix layout of minimized view for new room list
2020-06-22 12:51:53 -06:00
Travis Ralston
63ad14ae1e
Clean up imports
2020-06-22 10:35:55 -06:00
Travis Ralston
8201eed929
Encourage counts if the user has a mention (red state)
2020-06-22 10:26:37 -06:00
Travis Ralston
eeb408a081
Update badge logic for new setting and behaviour
...
For https://github.com/vector-im/riot-web/issues/14084
2020-06-22 10:26:19 -06:00
Jorik Schellekens
d54676aefe
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/appearance-advanced
2020-06-22 15:35:48 +01:00
Jorik Schellekens
aab42a291b
implement appearance tab nits
...
- fix border colours in dark theme
- lighten dark theme preview background
- add missing return statement
2020-06-22 12:28:15 +01:00
Jorik Schellekens
086177d808
Merge pull request #4770 from matrix-org/joriks/font-scaling-message-preview
...
Add message preview for font slider
2020-06-22 11:43:52 +01:00
Jorik Schellekens
3d7427ccca
Fix semicolons
2020-06-22 11:39:11 +01:00
Jorik Schellekens
2294d23b32
Merge branch 'develop' into joriks/appearance-advanced
2020-06-22 11:27:48 +01:00
David Baker
ee6af6ae9e
Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss
2020-06-19 17:17:18 +01:00
David Baker
a1592704a2
Unused code & import
2020-06-19 17:17:04 +01:00
David Baker
3f936a1fe4
Merge remote-tracking branch 'origin/develop' into dbkr/support_no_ssss
2020-06-19 16:50:29 +01:00
Damir Jelić
ec4b350a82
Merge remote-tracking branch 'origin/poljar/seshat-search-pagination' into develop
2020-06-19 09:50:03 +02:00
Hubert Chathi
c690cfc6c5
mark messages with a black shield if the megolm session isn't trusted
2020-06-18 21:57:33 -04:00
Travis Ralston
f136ba4a98
Merge pull request #4796 from matrix-org/travis/room-list/bug/crash-filter
...
Fix crash when filtering new room list too fast
2020-06-18 16:53:42 -06:00
Travis Ralston
7191c01265
Fix crash when filtering new room list too fast
...
Fixes https://github.com/vector-im/riot-web/issues/14092
We were simply assuming we had a reference to a notification state, which might not be the case if we're between renders.
2020-06-18 15:52:55 -06:00
Michael Telatynski
eec42cff49
tidy up
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-18 22:49:39 +01:00
Michael Telatynski
045def4566
hide search results from unknown rooms
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-18 22:45:42 +01:00
Jorik Schellekens
37b299412f
Fix merge conflicts
2020-06-18 15:47:26 +01:00
Jorik Schellekens
f2440388b1
Merge branch 'joriks/font-scaling-message-preview' into joriks/appearance-tab-layout-options
2020-06-18 15:37:01 +01:00
Jorik Schellekens
b9fb9aae4a
Rename MessagePreview to EventTilePreview
2020-06-18 15:36:23 +01:00
Jorik Schellekens
0d3ea6c9d4
Merge branch 'joriks/font-scaling-message-preview' of github.com:matrix-org/matrix-react-sdk into joriks/font-scaling-message-preview
2020-06-18 15:34:03 +01:00
Jorik Schellekens
997c7ffc96
Add missing semicolons
2020-06-18 15:26:53 +01:00
Jorik Schellekens
15881fc7d0
Merge branch 'develop' into joriks/font-scaling-message-preview
2020-06-18 15:19:28 +01:00
Jorik Schellekens
adfe1ac9bf
Remove stray debug
2020-06-18 15:13:28 +01:00
David Baker
e4d824839a
Revert "Use recovery keys over passphrases"
2020-06-18 15:02:03 +01:00
Jorik Schellekens
291997421b
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/semicolon
2020-06-18 14:54:20 +01:00
Jorik Schellekens
74174041bb
Remove semicolon in style
2020-06-18 14:53:12 +01:00
David Baker
5b27a570a8
Merge pull request #4790 from matrix-org/revert-4686-dbkr/recovery_keys_over_passphrases
...
Revert "Use recovery keys over passphrases"
2020-06-18 14:51:22 +01:00