Travis Ralston
6f794cca9b
Fill in some metadata for the sent event
2021-04-19 21:01:48 -06:00
Travis Ralston
01fc88f88a
Merge pull request #5871 from matrix-org/travis/voice/countdown
...
Limit voice recording length
2021-04-19 10:30:38 -06:00
Tulir Asokan
b8ef67e447
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2021-04-19 13:37:27 +03:00
Germain Souquet
3c85092f1a
Cleanup unused state in MessageComposer
2021-04-16 17:36:14 +01:00
Travis Ralston
d23f66bb47
Update documentation
2021-04-16 10:11:04 -06:00
Travis Ralston
f955f33071
Merge branch 'develop' into travis/voice/countdown
2021-04-16 10:00:11 -06:00
Travis Ralston
7878e1cd57
Merge pull request #5870 from matrix-org/travis/voice/disable-composer
...
Properly disable composer access when recording a voice message
2021-04-16 07:36:53 -06:00
Germain Souquet
c1c3ac20cd
correct always visible logic
2021-04-16 12:22:00 +01:00
Germain Souquet
daaaa3da95
add context for roomsublist rendering
2021-04-16 10:26:29 +01:00
Germain Souquet
327983672e
refactor renderSublists for better readability
2021-04-16 10:17:46 +01:00
Germain Souquet
f1453e8d2b
extract always visible logic to RoomList
2021-04-16 09:43:59 +01:00
J. Ryan Stinnett
495aff898f
Merge pull request #5864 from SimonBrandner/dont-render-msg-option
...
Render msgOption only if showReadReceipts is enabled
2021-04-15 17:24:13 +01:00
Šimon Brandner
7fe5d2e9e4
Remove double blank line
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 17:49:35 +02:00
Germain Souquet
b9f80b49ad
Set correct initial state for notification on room
2021-04-15 16:33:49 +01:00
Germain Souquet
02debd12f6
Hide RoomSublist when empty rather than unmounting them
2021-04-15 16:11:45 +01:00
Germain Souquet
a59873df0b
Set rooms event listeners during the correct life cycle hook
2021-04-15 15:51:00 +01:00
Germain
36e729a626
Merge pull request #5836 from matrix-org/gsouquet-readreceipts-animation
2021-04-15 08:27:28 +01:00
Travis Ralston
0677cf866c
Cap recording length, and warn at 10s remaining
...
See diff for details. Note that this introduces an "Uploading" state which is not currently used.
At the moment, if a user hits the maximum time then their recording will be broken. This is expected to be fixed in a future PR.
2021-04-14 21:15:06 -06:00
Travis Ralston
fedb5b9f63
Fix disabled state of the composer
2021-04-14 20:12:10 -06:00
Travis Ralston
3cafed478c
Run voice recording updates through a dedicated store
2021-04-14 20:11:34 -06:00
Travis Ralston
b0a04c9f81
Rename VoiceRecorder -> VoiceRecording to better match expected function
2021-04-14 20:00:16 -06:00
Travis Ralston
2fb241cfc2
Merge pull request #5859 from robintown/message-preview-tooltips
...
Add tooltips to message previews
2021-04-14 06:42:18 -06:00
Jaiwanth
f32eee9475
Added slashcommands support to edit message composer
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-14 16:43:21 +05:30
Šimon Brandner
a7b1c5dfe0
Run getReadAvatars() only when neccessary
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 12:25:48 +02:00
Šimon Brandner
43c236e8a5
Pass showReadReceipts from MessagePanel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 12:24:33 +02:00
Šimon Brandner
ba0384f381
Render msgOption only if showReadReceipts is enabled
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 11:43:42 +02:00
Germain Souquet
67faaeaeff
Rename Velociraptor to NodeAnimator after velocity deprecation
2021-04-14 10:18:45 +01:00
Travis Ralston
ac00c80efb
Merge pull request #5521 from SimonBrandner/improve-image-view
...
Improve image view
2021-04-13 19:01:27 -06:00
Robin Townsend
c9c53dbcd7
Add tooltips to message previews
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-13 12:02:22 -04:00
Michael Telatynski
86b6fc3473
delint
2021-04-13 15:15:11 +01:00
Michael Telatynski
4af7935e35
fix typos
2021-04-13 15:12:32 +01:00
Michael Telatynski
5f59e39958
Apply the same to quoting & inserting of emoji then consolidate
2021-04-13 15:09:37 +01:00
Michael Telatynski
ace3a62bac
Allow click inserting mentions into the edit composer too
2021-04-13 14:52:26 +01:00
Michael Telatynski
c25df51534
Prevent state events being rendered with invalid state keys
2021-04-13 09:40:44 +01:00
Michael Telatynski
e79ad34fbd
EventTile make use of EventType enum
...
Removes m.room.encryption from non-state list as it makes no sense
2021-04-13 09:34:37 +01:00
Šimon Brandner
e1446f01e4
Make ImageView static
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:07:17 +02:00
J. Ryan Stinnett
798a891d83
Tweak appearance of invite reason
...
This adjusts the display of invite reasons to match design feedback.
Fixes https://github.com/vector-im/element-web/issues/16869
2021-04-12 12:28:42 +01:00
Germain Souquet
bf34e37dcc
fix hiding read receipts animation
2021-04-08 11:43:13 +01:00
Germain Souquet
86d2e577cf
Animate read receipts for all component updates
2021-04-08 10:36:38 +01:00
Germain Souquet
8d60d85570
replace velocity-animate with CSS transitions
2021-04-08 10:36:14 +01:00
Travis Ralston
6e6a26f86a
Merge pull request #5710 from SimonBrandner/resizable-call-view
...
Resizable CallView
2021-04-07 11:02:46 -06:00
Šimon Brandner
715fff6f0c
Redo and fix trailing characters in user pills
...
This removes the handling of trailing chars from createMentionParts as we need to determine whether or not to insert the trailing char differently in different situations
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-07 11:52:07 +02:00
Šimon Brandner
c2b66d0dbe
Fix inserting trailing colon after mention/pill
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-06 14:29:20 +02:00
J. Ryan Stinnett
5d027ffcf4
Merge pull request #5694 from robintown/show-invite-reasons
...
Show invite reasons
2021-04-06 10:48:54 +01:00
Šimon Brandner
202ead40c4
Merge branch 'develop' into resizable-call-view
2021-04-04 11:35:26 +02:00
Šimon Brandner
9606297f7c
Merge branch 'develop' into improve-image-view
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:15:51 +02:00
Travis Ralston
2ab304189d
Merge pull request #5816 from aaronraimist/redact-re-request
...
Prevent Re-request encryption keys from appearing under redacted messages
2021-03-31 18:23:47 -06:00
Robin Townsend
2477258249
Merge branch 'develop' into show-invite-reasons
2021-03-31 16:13:29 -04:00
Robin Townsend
f0333b5b1c
Show invite reasons
...
Displays the reason for invitation in the invitation dialog, requiring a
click to reveal the message.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-03-31 15:46:09 -04:00
J. Ryan Stinnett
7c4437ac9b
Merge pull request #5815 from czeidler/keybindings-follow-up
...
Keybindings follow up
2021-03-31 17:54:05 +01:00
Travis Ralston
54412878a1
Merge branch 'develop' into travis/voice-messages/waveform
2021-03-29 22:59:51 -06:00
Aaron Raimist
4974cb43af
Prevent Re-request encryption keys from appearing under redacted messages
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-03-28 22:35:12 -05:00
Clemens Zeidler
57cd8afbc4
Split ApplySelection into CompleteOrPrevSelection and CompleteOrNextSelection
...
When moving through the autocomplete selection list distinguish between
the following cases:
1) When there is no autocomplete window open, only open one and select
the first item when the CompleteOrPrevSelection /
CompleteOrNextSelection actions are emitted (e.g. by pressing SHIFT +
TAB, TAB)
2) Otherwise navigate through the selection list (e.g. SHIFT + TAB, TAB,
UP, DOWN)
- Remove references to raw keyboard events in autocomplete.ts
- Clarify the purpose of startSelection (previously onTab)
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-03-29 13:38:03 +13:00
Tulir Asokan
c31967dc97
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2021-03-26 21:31:28 +02:00
J. Ryan Stinnett
33e8edb3d5
Merge pull request #5720 from czeidler/key-bindings
...
Decouple key bindings from event handling
2021-03-26 15:14:38 +00:00
Michael Telatynski
83612dd4ad
Merge pull request #5792 from matrix-org/t3chguy/spaces4.12
...
Fixing spaces papercuts
2021-03-26 15:01:31 +00:00
Michael Telatynski
9fb653e522
Fix room space invite button for public spaces
2021-03-26 11:43:01 +00:00
Travis Ralston
1419ac6b69
Hook up a clock and implement proper design
2021-03-25 17:12:26 -06:00
Panagiotis
97c7f3753b
fix: save editor state when reply is open
2021-03-25 20:58:39 +02:00
Michael Telatynski
5061db259a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces4.12
2021-03-25 16:37:56 +00:00
Michael Telatynski
7316eb052b
delint
2021-03-25 14:10:01 +00:00
Michael Telatynski
5e00818d70
Fix new space invite button in the room intro
2021-03-25 11:38:14 +00:00
Michael Telatynski
760b11f214
Merge pull request #5789 from matrix-org/t3chguy/spaces4.11
...
Tweak and fix some space features
2021-03-25 09:02:11 +00:00
Travis Ralston
449e028bbd
Actually use a waveform instead of the frequency data
2021-03-24 23:31:02 -06:00
Travis Ralston
8ddd14e252
Early concept for rendering the frequency waveform
2021-03-24 22:17:45 -06:00
Michael Telatynski
d3cdd38ff4
delint some more
2021-03-24 20:11:23 +00:00
Michael Telatynski
8369d42dd0
Hoist activeSpace tracking from RoomList to LeftPanel
2021-03-24 19:43:09 +00:00
Travis Ralston
da7d31aeb6
Merge pull request #5686 from robintown/reply-commands
...
Support replying with a message command
2021-03-24 09:56:56 -06:00
Travis Ralston
8587ec888b
Merge pull request #5769 from matrix-org/travis/voice-messages/exp
...
Labs feature: Early implementation of voice messages
2021-03-24 09:56:34 -06:00
Michael Telatynski
65a7d0621d
Add invite to space button to room intro
2021-03-24 15:30:03 +00:00
Michael Telatynski
a2a1e37fa3
Add prompt to bottom of room list to invite to space
2021-03-24 14:18:06 +00:00
Travis Ralston
b7e653268b
Rename function
2021-03-23 18:19:14 -06:00
Travis Ralston
e352ed1908
Run audio through the Web Audio API instead
...
This leads to more reliable frequency/timing information, and involves a whole lot less decoding.
We still maintain ongoing encoded frames to avoid having to do one giant encode at the end, as that could take long enough to be disruptive.
2021-03-22 19:32:37 -06:00
Germain Souquet
0db31dfeae
fix: CIDER formatting buttons on Safari
2021-03-22 15:05:22 +00:00
Šimon Brandner
4bb279b632
Merge branch 'develop' into resizable-call-view
2021-03-22 07:57:52 +01:00
Tulir Asokan
99717db762
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2021-03-19 21:58:30 +02:00
Jaiwanth
495cbadb08
Update src/components/views/rooms/RoomTile.tsx
2021-03-19 22:46:19 +05:30
Jaiwanth
70e0b77fc4
Changed invite phrases in context menu and invite dialog
2021-03-19 21:32:52 +05:30
Jaiwanth
b2a72565d3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into add-invite-to-context-menu
2021-03-19 20:28:10 +05:30
Travis Ralston
1d9d0cd7be
Convert a bunch more js-sdk imports to absolute paths
...
Turns out a lot of the typescript warnings about improper warnings were correct. TypeScript appears to be pulling in two copies of the js-sdk when we do this, which can lead to type conflicts (or worse: the wrong code entirely). We fix this at the webpack level by explicitly importing from `src`, but some alternative build structures have broken tests because of this - jest ends up pulling in the "wrong" js-sdk, breaking things.
2021-03-18 20:50:34 -06:00
Travis Ralston
0f09eb3214
Add more notes
2021-03-17 00:12:03 -06:00
Travis Ralston
c7b72bc4c4
Appease the linter
2021-03-16 23:57:27 -06:00
Travis Ralston
f0d5edbc37
Render voice messages as audio messages for now
2021-03-16 23:48:47 -06:00
Travis Ralston
9aa5348c7f
Show a stop button to stop the recording
2021-03-16 23:43:59 -06:00
Travis Ralston
dafa8786a1
Fix comments
2021-03-16 23:43:22 -06:00
Travis Ralston
b5d32d92f3
Wire up a simple record button
2021-03-16 22:58:44 -06:00
Šimon Brandner
787a62846e
Merge branch 'develop' into resizable-call-view
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-16 07:55:56 +01:00
Šimon Brandner
b27a8e3c3a
Merge branch 'develop' into improve-image-view
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-14 08:30:28 +01:00
Tulir Asokan
8c8b46b984
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2021-03-12 14:18:12 +02:00
Clemens Zeidler
2a21d45ac0
Merge branch 'develop' into key-bindings
2021-03-12 16:44:12 +13:00
Travis Ralston
a9a4bd50ca
Merge branch 'develop' into travis/media-customization
2021-03-11 08:37:49 -07:00
Travis Ralston
229a95f190
Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps
...
[SK-3] Decorate easy components with replaceableComponent
2021-03-11 07:26:20 -07:00
Travis Ralston
88a2bdb119
Change read receipt drift to be non-fractional
...
I suspect this is what is causing issues in Firefox for read receipts not falling down.
2021-03-10 16:47:27 -07:00
Travis Ralston
fa5d98c319
Convert cases of getHttpUriForMxc to new media customisation
2021-03-10 12:32:18 -07:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
Travis Ralston
e5180a472f
Merge branch 'develop' into travis/skinning/pt3-easy-comps
2021-03-10 12:30:06 -07:00
Michael Telatynski
98338f1505
Merge pull request #5736 from matrix-org/t3chguy/spaces4.5
...
Spaces suggested rooms support
2021-03-10 10:56:17 +00:00
Travis Ralston
f25db38b2b
Add tooltips to sent/sending receipts
...
Fixes https://github.com/vector-im/element-web/issues/16649
2021-03-09 21:13:23 -07:00
Travis Ralston
71b8959d3c
Apply suggestions from code review
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-03-09 09:36:17 -07:00
Michael Telatynski
cf2c790699
Pass OOB data for suggested rooms
2021-03-09 13:41:06 +00:00
Michael Telatynski
81e1f36c4b
Tidy up TemporaryTile now that it isn't temporary
2021-03-09 11:19:41 +00:00
Travis Ralston
c5935dbc61
Batch of views getting replaceableComponent decorators
2021-03-08 20:23:46 -07:00
Travis Ralston
761ced13f2
Merge pull request #5719 from matrix-org/travis/file-representation
...
UI refresh for uploaded files
2021-03-08 08:52:43 -07:00
Travis Ralston
d35afe6fbb
Merge pull request #5699 from matrix-org/travis/message-states
...
Improve message sending states to match new designs
2021-03-08 08:52:26 -07:00
Michael Telatynski
6a5efad142
Show suggested rooms from the selected space
2021-03-08 15:52:21 +00:00
Travis Ralston
ca63e937d3
Fix up logic to show sent receipts correctly
2021-03-05 10:56:13 -07:00
David Baker
e5b03488d8
Fix widget resizing
...
There was a line of CSS that set pointer-events: none on widget
iframes whilst they were being resized to stop iframes swallowing
the mousemove/up events while dragging the resize handle, but a)
all widgets are now in a persisted element wrapper and therefore
not in the right place in the DOM to get that CSS and b) that only
got set when resizing the whole aps drawer vertically, not dragging
the handle between apps to change the width distribution.
Add a pointer events prop to AppTile to allow the pointer-events
style to be set by the parent, and set it when dragging either
resize handle.
Fixes https://github.com/vector-im/element-web/issues/16473
2021-03-05 17:52:51 +00:00
Travis Ralston
017c2af663
Merge branch 'develop' into travis/message-states
2021-03-05 09:29:39 -07:00
Clemens Zeidler
efc5d413c4
Fix missing import (from earlier merge conflict)
2021-03-05 22:13:47 +13:00
Travis Ralston
676259e78c
Merge pull request #5505 from SimonBrandner/improve-file-drop-ui
...
File drop UI fixes and improvements
2021-03-04 20:30:45 -07:00
Travis Ralston
8d143331a8
Appease the linter
2021-03-04 20:10:47 -07:00
Travis Ralston
5d6e3d5711
UI refresh for uploaded files
...
Fixes https://github.com/vector-im/element-web/issues/16557
Fixes https://github.com/vector-im/element-web/issues/9482 (technically)
There's two changes in this:
1. The actual file body in the timeline now has a placeholder thing.
2. We're intentionally dropping all the "Travis uploaded a file" sender profile states.
2021-03-04 20:07:48 -07:00
Clemens Zeidler
4a6f931782
Merge branch 'develop' into key-bindings
2021-03-04 21:10:35 +13:00
Šimon Brandner
d244ea3b14
Don't use onResize
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-03 16:42:27 +01:00
Michael Telatynski
77cf4cf7a4
Merge pull request #5706 from matrix-org/t3chguy/spaces4.4
...
Space room hierarchies
2021-03-03 15:25:00 +00:00
Michael Telatynski
a8ff0fa75f
Merge pull request #5705 from matrix-org/t3chguy/spaces4.3
...
Iterate Space view and right panel
2021-03-03 13:37:40 +00:00
Travis Ralston
c7d4dfa4f5
Merge pull request #5692 from SimonBrandner/scroll-to-bottom-setting
...
Add a scroll to bottom on message sent setting
2021-03-02 17:41:15 -07:00
Travis Ralston
08d35073de
Improve commentary
2021-03-02 11:04:12 -07:00
Michael Telatynski
ca1bd78921
Add space specific variant of the dropdown on "Rooms +" sublist
2021-03-02 14:20:29 +00:00
Šimon Brandner
4e9d19d3b0
Pass resizeNotifier into CallViewForARoom
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 14:09:11 +01:00
Šimon Brandner
4476843264
Remove unused _t
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:12:10 +01:00
Šimon Brandner
0a4c0b69b0
Move fileDropTarget to RoomView
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:07:33 +01:00
Michael Telatynski
8efe7dcaa1
Decorate Right Panel cards with Space header for when viewing it in that context
2021-03-02 09:54:32 +00:00
Šimon Brandner
ebedd3cbcb
Remove space
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:41:14 +01:00
Travis Ralston
db8978580c
Improve special read receipt checking
...
See comments in code
2021-03-01 16:25:25 -07:00
Travis Ralston
9cec382865
Change sending->sent state to match new designs
...
For https://github.com/vector-im/element-web/issues/16424
2021-03-01 16:25:19 -07:00
Clemens Zeidler
601be50b71
Split KeyAction into multiple enums
...
This gives some additional type safety and makes enum member usage more
clear.
2021-03-01 21:43:00 +13:00
Clemens Zeidler
32ec8b7dc8
Add key bindings for RoomList, Room and Navigation
2021-02-28 20:13:34 +13:00
Travis Ralston
e43853d6b0
Use a small fractional value instead
2021-02-27 12:02:24 -07:00
Travis Ralston
76ad93b937
Put speed holes in the code
...
We can make read receipts more efficient (and avoid double-animation) by using `PureComponent` which no-ops useless updates for us.
2021-02-26 22:25:50 -07:00
Travis Ralston
b3142d6138
Offset read receipt start positions by 1px
...
As mentioned in 208faf6d46
, the velocity-animate update causes read receipts to occasionally show up 14px to the right of where they should be. This is because the read receipt width is 14px, and velocity-animate will *not* translate `left` if it isn't changing. Unfortunately, it's smart enough to realize that `-0px` is `0px`, so we end up having to specify `1px`.
The comment already mentions it, but this should have no perceived effect for the user. During development I could not tell if the 1px was being applied during the animation, implying that it's a meaningless value. It's a bit unfortunate for those who know that it's translating left by 1px, but hopefully they'll be able to unsee that in time.
2021-02-26 22:24:36 -07:00
Travis Ralston
678ec52035
Merge branch 'develop' into fix-4963
2021-02-26 14:41:28 -07:00
Travis Ralston
855ee068c3
Appease the linter
2021-02-26 13:50:03 -07:00
Travis Ralston
4e27b00cf3
Move call buttons to the room header
...
This is to make some room in the composer for voice messages. The hangup behaviour is intentionally lost by this change as the VOIP UX is intended to rely on dedicated hangup buttons instead.
2021-02-26 13:46:39 -07:00
Šimon Brandner
361420bf68
Use scrollToBottomOnMessageSent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:30 +01:00
Šimon Brandner
1a7f9091b4
Animate icon size
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 07:51:03 +01:00
Robin Townsend
563620484d
Support replying with a message command
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-25 14:59:47 -05:00
Šimon Brandner
49ea9a4788
Remove sdk import
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 20:10:58 +01:00
Šimon Brandner
7277c285a9
Fix weird crash
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 20:10:38 +01:00
Šimon Brandner
43e1144ae7
Don't use TintableSVG
...
This seemed to have caused a little lag and it was unnecessary
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 19:36:55 +01:00
Šimon Brandner
1c48804d96
Remove unnecessary class
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 19:28:08 +01:00
Travis Ralston
dee7c7b556
Merge pull request #5567 from SimonBrandner/fix-read-receipts
...
Fix read receipts?
2021-02-24 11:21:42 -07:00
Šimon Brandner
bd5efc7ceb
Pass permallinkCreator to ImageView
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 19:11:08 +01:00
Šimon Brandner
2f2c5c9081
Merge branch 'develop' into fix-read-receipts
2021-02-23 18:43:58 +01:00
J. Ryan Stinnett
3db6a45010
Revert "Merge pull request #5637 from williamkray/wreck/clean-thumbnail-changes"
...
This reverts commit 5c1b38a48c
, reversing
changes made to ec4a39a694
.
2021-02-23 12:03:08 +00:00
Tulir Asokan
dfcf701449
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2021-02-19 21:47:10 +02:00
Michael Telatynski
3ca5632f6a
Replace ObjectUtils.js with objects.ts
2021-02-19 00:00:10 +00:00
Michael Telatynski
0e7a731d61
Make use of new room canInvite helper
2021-02-18 15:19:16 +00:00
Michael Telatynski
e1acf11e67
Create Room Name & Topic HOCs to simplify code elsewhere
2021-02-18 15:16:59 +00:00
Šimon Brandner
86fe5f778d
Use modal as a param
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:32:48 +01:00
Šimon Brandner
a7847f2514
onIsEmptyChanged() -> onChange()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:25:53 +01:00
Šimon Brandner
9420cc35cc
Added a key
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:22:19 +01:00
J. Ryan Stinnett
5c1b38a48c
Merge pull request #5637 from williamkray/wreck/clean-thumbnail-changes
...
Improve URL preview formatting and image upload thumbnail size
2021-02-17 11:37:37 +00:00
Clemens Zeidler
54c38844d2
Use key bindings in BasicMessageComposer
2021-02-17 22:00:48 +13:00
Jaiwanth
ee54327733
Update src/components/views/rooms/RoomTile.tsx
2021-02-16 18:59:22 +05:30
Clemens Zeidler
c84ad9bedc
Use key binding for cancelling a message reply
2021-02-16 19:12:18 +13:00
Clemens Zeidler
ac7963b509
Fix lint and style issues
2021-02-16 19:05:51 +13:00
Clemens Zeidler
12387b4978
Use the KeyBindingsManager in EditMessageComposer
2021-02-16 19:05:39 +13:00
Jaiwanth
04d2bf1d6a
Check whether user has permission to invite
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-15 20:55:15 +05:30
Šimon Brandner
5072fb0608
Merge branch 'develop' into improve-layout-handling
2021-02-15 16:12:08 +01:00
Jaiwanth
f420c85985
Added invite option to room's context menu
...
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-15 19:21:26 +05:30
Clemens Zeidler
b4c5dec4e5
Use the KeyBindingsManager for the SendMessageComposer
2021-02-14 15:56:55 +13:00
Šimon Brandner
130e4f7bfd
Added some styling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 17:06:02 +01:00
Šimon Brandner
97f5b6920c
Check if the method is defined before calling it
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 16:48:46 +01:00
Šimon Brandner
2b4859a858
Merge branch 'develop' into fix-4963
2021-02-12 16:30:01 +01:00
Šimon Brandner
b269517149
Removed wrapper
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:52:42 +01:00
Šimon Brandner
ba2c68819f
Removed showSendButton setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:45:06 +01:00
Šimon Brandner
35c0cb99d0
Use isComposerEmpty for send button
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:45:03 +01:00
Šimon Brandner
50b0a78132
Renamed composerEmpty to isComposerEmpty
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:22 +01:00
Šimon Brandner
42a48ee27d
Added composerEmpty property
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:22 +01:00
Šimon Brandner
98757bb6cf
Extract send button into a function
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:16 +01:00
Šimon Brandner
17f09d3b7a
Added onIsEmptyChanged prop
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:16:07 +01:00
William Kray
99be8ccd88
move close-preview button to top
2021-02-08 09:26:10 -08:00
William Kray
b459395d6d
increase size of url preview thumbnail
2021-02-08 09:26:10 -08:00
Marco Zehe
890bb5b9eb
Give breadcrumbs toolbar an accessibility label.
...
Fixes vector-im/element-web#16406 .
Signed-off-by: Marco Zehe <marco@marcozehe.de>
2021-02-08 16:58:18 +01:00
J. Ryan Stinnett
295cf12cf8
Merge pull request #5621 from SimonBrandner/fix-jump-on-reaction
...
Don't jump to bottom on reaction
2021-02-05 14:28:25 +00:00
Šimon Brandner
69e81119e9
Don't jump to bottom on reaction
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 15:15:20 +01:00
Šimon Brandner
f2d236d429
Use LayoutPropType
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-05 08:17:30 +01:00
J. Ryan Stinnett
15a4032be0
Merge pull request #5530 from aaronraimist/option-hide-stickers
...
Add option to hide the stickers button in the composer
2021-02-04 17:01:23 +00:00
Travis Ralston
97584af947
Fix z-index of stickerpicker
2021-02-04 02:50:54 -07:00
J. Ryan Stinnett
a32495ba9e
Merge pull request #5587 from dangwynne/develop
...
Fix new rooms being titled 'Empty Room'
2021-02-01 13:01:38 +00:00
dangwynne
dc81496c3b
add optional chaining operator
2021-01-29 11:31:21 +00:00
J. Ryan Stinnett
c9a6214256
Tweak a few room ID checks
2021-01-29 11:15:30 +00:00
Šimon Brandner
4f065ad822
Fix escape for cancelling replies
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-29 10:31:59 +01:00
dangwynne
992247201e
Fix issue #16270 new rooms are titled 'Empty Room'. Signed-off-by: Dan Gwynne dangwynne1@gmail.com
2021-01-28 20:36:33 +00:00
Ayush Kumar
2c11f0bb7c
Added condition to hide the 'find a room' UI unless the user is explicitly filtering the list
2021-01-28 03:09:52 +05:30
J. Ryan Stinnett
84b1f2e6c6
Resolve typing errors after TypeScript upgrade
2021-01-27 12:42:37 +00:00
Šimon Brandner
90ad3360b6
Fixed read receipts?
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-24 09:15:11 +01:00
Šimon Brandner
972c947049
More generic layout setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-23 10:35:35 +01:00
David Baker
f703383ab6
Merge pull request #5560 from matrix-org/dbkr/voip_user_mapper
...
Add VoIP user mapper
2021-01-22 14:12:08 +00:00
Travis Ralston
a779951512
Merge pull request #5553 from matrix-org/travis/widget-layout
...
Support room-defined widget layouts
2021-01-21 13:22:52 -07:00
David Baker
0a90c982c7
Add VoIP user mapper
...
The accompanying element-web PR with the config documentation should
explain what this is & why. Internally, this breaks the assumption
that call.roomId is the room that the call appears in for the user.
call.roomId may now be a 'virtual' room while the react SDK actually
displays it in a different room. React SDK always stores the calls
under the user-facing rooms, and provides a function to get the
user-facing room for a given call.
2021-01-21 19:20:35 +00:00
Travis Ralston
c7c055dd98
Give a bigger target area to AppsDrawer vertical resizer
...
The existing target was too hard to hit, which annoyed users. This change makes it the same sort of surface area as the horizontal resizers, as requested by design to fix the problem in the short term.
2021-01-20 15:05:18 -07:00
Travis Ralston
6227d3c183
Appease the linters
2021-01-18 20:53:15 -07:00
Travis Ralston
5b5c338200
Render layout changes in the timeline
2021-01-18 19:31:11 -07:00
Travis Ralston
0d29d15a46
Support room-defined height as well
...
Much like widget widths, it is acceptable for us to forget what everyone's height was previously at.
2021-01-18 19:27:11 -07:00
Travis Ralston
cfb583d193
Calculate widget widths in the WidgetLayoutStore
...
Note that this ditches all previously set width values, however this is probably acceptable for now. Trying to remain backwards compatible gets tricky on top of already tricky code, and the impact of Element forgetting widths is not as severe as forgetting which widgets were/are pinned.
2021-01-18 18:50:36 -07:00
Travis Ralston
2548a438ae
Render ordering changes in the AppsDrawer
2021-01-18 17:43:29 -07:00
Šimon Brandner
c9f5c90047
Rename method
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-16 16:43:47 +01:00
Šimon Brandner
c61e41ba77
Rename setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-16 16:37:50 +01:00
Šimon Brandner
9f1113b3bd
Watch setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-16 16:35:50 +01:00
J. Ryan Stinnett
462e0889f0
Fix lint
2021-01-15 14:46:38 +00:00
J. Ryan Stinnett
8a341446aa
Use room-specific listeners for community prototype
...
Similar to message previews, this changes another area to use room-specific
listeners for better performance and avoiding warnings.
2021-01-15 14:34:56 +00:00
J. Ryan Stinnett
729356394e
Use room-specific listeners for message previews
...
This should be a bit faster (since we now only notify one tile instead of all
for each update). It also resolves the max listener warning.
Fixes https://github.com/vector-im/element-web/issues/15121
2021-01-15 14:21:21 +00:00
Šimon Brandner
c64b2a585f
Added option to disable send button
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-09 09:17:40 +01:00
Šimon Brandner
d589c61000
Added send message button
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-09 09:09:14 +01:00
David Baker
a258a3874b
Use objectShallowClone
2021-01-04 11:51:27 +00:00
Aaron Raimist
b8334bfd4a
Add option to hide the stickers button in the composer
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-01-02 15:31:54 -06:00
David Baker
452fbb076b
Add a dialpad UI for PSTN lookup
...
Queries the homeserver for PSTN protocol support, and if found,
the add-room button on the DM rooms list section opens a context
menu instead with a 'dial pad' option as well as the current 'start chat'
dialog. Entering a number into this and pressing dial performs
a thirdparty user query for the given string and starts a DM with that
user.
2020-12-23 19:02:01 +00:00
J. Ryan Stinnett
70f24baaf1
Merge pull request #5425 from macekj/emoji_quick_shortcut
...
Add keyboard shortcut for emoji reactions
2020-12-14 13:12:49 +00:00
David Baker
5282c6bbe8
Merge remote-tracking branch 'origin/develop' into dbkr/line_1_2
2020-12-10 12:36:11 +00:00
Michael Telatynski
9f9699bf75
Hide Invite to this room CTA if no permission
2020-12-08 10:31:40 +00:00
Travis Ralston
550a5220d9
Undocumented linter cleanup
2020-12-07 15:12:26 -07:00
Travis Ralston
2c992c456e
Merge remote-tracking branch 'origin/develop' into feature_confetti#14676
2020-12-07 14:58:56 -07:00
macekj
0c85cb587d
Merge branch 'develop' into emoji_quick_shortcut
2020-12-04 11:05:50 -05:00
David Baker
1ce63f0fa7
Line 1 / 2 Support
...
Support one active call plus one call on hold
2020-12-03 17:45:49 +00:00
macekj
27a853c586
use textSerialize function to get model text
2020-12-02 15:01:44 -05:00
macekj
200c061968
remove unnecessary plus checks in emoji regexes
...
Signed-off-by: macekj <macekj@umich.edu>
2020-11-27 19:41:45 -05:00
nurjinn jafar
6ce5d3b044
refactored effects dir and changed effects exported name
2020-11-27 16:32:04 +01:00
Arsh Sharma
cb3b8b6c77
fix(EventTile): updated comment
2020-11-27 14:13:42 +05:30
Steffen Kolmer
27312c3553
Merge branch 'develop' into feature_confetti#14676
2020-11-26 18:21:28 +01:00
Arsh Sharma
8386e50240
fix(EventTile): commited suggestions
2020-11-26 17:18:11 +05:30
Arsh Sharma
5e239690da
fix(EventTile): made revisions
2020-11-25 12:46:14 +05:30
macekj
2ffdfaef68
remove unnecessary lookbehind and comment emoticon regex
...
Signed-off-by: macekj <macekj@umich.edu>
2020-11-24 11:42:53 -05:00
Arsh Sharma
f271e117cf
fix(EventTile): conditionally added avatar
2020-11-24 17:45:20 +05:30
Travis Ralston
43be434aec
Appease the linter
2020-11-20 19:36:45 -07:00
Travis Ralston
107fa98180
Support arbitrary widgets sticking to the screen + sending stickers
...
Following https://github.com/matrix-org/matrix-react-sdk/pull/5385 , it is now possible for a widget to request these capabilities without being a video conference or sticker picker. This commit actually enables this support for those kinds of widgets.
This commit also fixes an issue in the URL templating where some variables might get set to 'undefined' - this appears to be a scoping issue, so StopGapWidget now stores the definition alongside the superclass.
Fixes https://github.com/vector-im/element-web/issues/15001
2020-11-20 16:53:15 -07:00
czeidler
063b26835e
Fix coding style
...
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2020-11-20 19:02:52 +13:00
Clemens Zeidler
1346416d20
Merge branch 'develop' into ctrl-enter-send
2020-11-19 19:40:38 +13:00
Travis Ralston
57562560d2
Merge pull request #5331 from Transfusion/invisible_rooms_notif_badge
...
Search through the list of unfiltered rooms rather than the rooms in the state which are already filtered by the search text
2020-11-18 15:24:01 -07:00
Michael Telatynski
9b2143742a
Merge pull request #5418 from matrix-org/t3chguy/fix/muggle-hustle
...
Small delight tweaks to improve rough corners in the app
2020-11-18 10:07:31 +00:00
macekj
ba8d02a808
add quick shortcut emoji feature and tests
...
Signed-off-by: macekj <macekj@umich.edu>
2020-11-17 17:36:58 -05:00
Michael Telatynski
d0513406ee
Pass filter text when clicking explore/dm prompt
2020-11-11 17:04:09 +00:00
Michael Telatynski
a481f3bdf1
Iterate the filtering prompt
2020-11-11 17:04:09 +00:00
Michael Telatynski
187901004d
Fix the Join rooms prompt not showing up due to missing updates
2020-11-11 17:04:09 +00:00
Michael Telatynski
1a2bd55c09
Fix New Room Intro invite to this room button
2020-11-11 16:58:39 +00:00
Michael Telatynski
f73573881e
Merge pull request #5390 from matrix-org/t3chguy/fix/15524
...
Disallow sending of empty messages
2020-11-11 10:23:32 +00:00
Michael Telatynski
0766519467
Merge pull request #5398 from matrix-org/t3chguy/fix/8141
...
Improvements around new room empty space interactions
2020-11-10 13:09:59 +00:00
Michael Telatynski
80bb091cc5
Iterate PR
2020-11-10 10:00:55 +00:00
Michael Telatynski
a5d827c446
Update src/components/views/rooms/RoomList.tsx
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-11-10 01:22:30 +00:00
Michael Telatynski
27d276715e
Fix Skeleton UI showing up when not intended.
2020-11-09 13:53:28 +00:00
Michael Telatynski
664079a127
Use MiniAvatarUploader for the new NewRoomIntro component
2020-11-05 15:50:42 +00:00
Michael Telatynski
ff25a9b45d
Consolidate all EventTile bubble stuff into its own component and use it for the room continuation plinth
2020-11-04 17:06:38 +00:00
Michael Telatynski
cfb9d0f2d4
Disallow sending of empty messages
2020-11-03 16:06:45 +00:00
Michael Telatynski
ce9d31a778
Add Room List join rooms prompt
2020-11-02 17:23:05 +00:00
Michael Telatynski
fa9490b02b
Add skeleton UI for Room List when no rooms
2020-11-02 17:22:45 +00:00
David Baker
7ec1d5a881
Fix a bunch of silly lint errors
...
At some point the script to generate .eslintignore.errorfiles had
been run and added all these files to the ignore list, often because
they lacked a space before a brace or something equally mundane.
These are the easiest bunch.
2020-10-30 18:18:17 +00:00
David Baker
f920c1fb3f
There's a type for everything!
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-30 17:35:16 +00:00
David Baker
85fb923398
Convert AuxPanel to TypeScript
...
so the healing can begin
2020-10-30 17:29:32 +00:00
Michael Telatynski
444425b9ab
Merge pull request #5365 from matrix-org/t3chguy/countly
...
Initial Countly work
2020-10-30 13:07:58 +00:00
Michael Telatynski
c3a355097d
Initial Countly work
2020-10-29 15:57:16 +00:00
Michael Telatynski
e06550b748
Watch replyToEvent at RoomView to prevent races
2020-10-28 12:47:59 +00:00
Steffen Kolmer
daa03098f3
Merge remote-tracking branch 'upstream/develop' into feature_confetti#14676
2020-10-21 14:21:25 +02:00
Steffen Kolmer
d4ec1dd775
Refactoring
2020-10-21 13:56:58 +02:00
nurjinn jafar
1c6d28b861
refactoring roomView / slashCommands / SendMessageComposer with the new effects configurations and fix confetti animation timeout
2020-10-21 13:37:36 +02:00
Michael Telatynski
a5468c918e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
...
Conflicts:
src/resizer/distributors/collapse.ts
src/resizer/distributors/fixed.ts
src/resizer/index.ts
src/resizer/item.ts
src/resizer/resizer.ts
src/resizer/sizer.ts
2020-10-21 09:56:22 +01:00
Michael Telatynski
5a9bac68c6
iterate PR based on feedback
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-21 09:48:02 +01:00
Michael Telatynski
9cd146aa33
remove debug lines
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-21 09:46:37 +01:00
Michael Telatynski
9348c8a23b
Fix some widget auto tiling issues
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-20 16:07:47 +01:00
Michael Telatynski
9181e3e89a
Merge pull request #5338 from matrix-org/t3chguy/fix/15166
...
Hide filtering microcopy when left panel is minimized
2020-10-20 15:21:43 +01:00
Steffen Kolmer
607e33feba
Extensibility, TypeScript and lazy loading
2020-10-19 21:25:01 +02:00
Michael Telatynski
5fcdaf66cc
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
2020-10-19 18:50:02 +01:00
Michael Telatynski
fefd374a32
Fix case where sublist context menu missed an update
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-19 14:34:47 +01:00
Michael Telatynski
744a4abd1c
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
2020-10-19 13:08:17 +01:00
Michael Telatynski
73489b7c6d
AppsDrawer watch ResizeNotifier isResizing
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-19 13:08:11 +01:00
Michael Telatynski
47744a4344
Hide filtering microcopy when left panel is minimized
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-19 12:55:01 +01:00
Michael Telatynski
35d12171b1
Remove unused prop for clarity
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-19 12:54:53 +01:00
Steffen Kolmer
c86964cd5e
Merge remote-tracking branch 'upstream/develop' into feature_confetti#14676
2020-10-19 13:15:33 +02:00
David Baker
b10f7a47fd
Merge pull request #5324 from matrix-org/dbkr/hang_up_your_hangups
...
Support rejecting calls
2020-10-19 09:57:13 +01:00
Bryan Kok
176c7c32da
Search through the list of unfiltered rooms rather than the rooms in the state which are already filtered by the search text
2020-10-17 14:35:11 +08:00
Michael Telatynski
6b01b6ac6c
Discard all mx_fadable legacy cruft which is totally useless
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-15 16:13:16 +01:00
Michael Telatynski
f198b95579
Iterate PR; tidy and improve widget context menu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-15 15:24:42 +01:00
David Baker
7ad366603a
Support rejecting calls
...
Use the 'reject' method when we want to reject an incoming call
rather than end one that's in progress. Also get our error messages
right for the other side rejecting the call (albeit still with
placeholder dialog-box UX).
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1510
2020-10-15 14:54:03 +01:00
Michael Telatynski
a6c81a903c
Iterate with new buttons and resize locking
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-15 11:14:48 +01:00
Michael Telatynski
2ea2068d95
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/3
2020-10-14 10:43:38 +01:00
Michael Telatynski
dce047e25c
Merge pull request #5317 from matrix-org/t3chguy/fix/11510
...
Fix broken rendering of Room Create when showHiddenEvents enabled
2020-10-14 10:27:18 +01:00
Michael Telatynski
e3155fe58f
Merge pull request #5313 from matrix-org/t3chguy/other/1
...
Improve LHS resize performance and tidy stale props&classes
2020-10-14 10:06:37 +01:00
Michael Telatynski
38bf7b3055
Apply the fix more generically
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-14 09:46:54 +01:00
Michael Telatynski
e885d9cb0d
TS improvements
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 22:58:21 +01:00
Michael Telatynski
bb52bad099
Remove stale props and CSS classes
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 16:23:49 +01:00
Michael Telatynski
a1d25efceb
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
...
Conflicts:
src/components/structures/RoomView.tsx
2020-10-13 13:45:22 +01:00
Michael Telatynski
7be5ff0fe6
First cut of app drawer tiled resizing
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 12:29:12 +01:00
Michael Telatynski
f72b1e0c7d
Remove stale things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 12:27:50 +01:00
David Baker
40ba342aa2
Merge pull request #5308 from matrix-org/dbkr/call_state_machine
...
Rewrite call state machine
2020-10-13 10:39:15 +01:00
Michael Telatynski
c1fef5a941
Improve the styling
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-12 13:36:09 +01:00
David Baker
414901dfae
More enums
2020-10-12 11:38:32 +01:00
Michael Telatynski
317dc68135
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
...
Conflicts:
src/components/views/elements/AppTile.js
2020-10-09 08:45:11 +01:00
Michael Telatynski
ada6d1aa46
Iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-09 08:42:21 +01:00
Michael Telatynski
177b76d882
Merge pull request #5284 from matrix-org/t3chguy/fix/10353
...
Track replyToEvent along with Cider state & history
2020-10-08 14:59:14 +01:00
Michael Telatynski
017d2d40fe
Update CIDER local and session storage keys to unbrick downgrade compat
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-08 09:51:31 +01:00
Michael Telatynski
0e42fc45e2
Resolve couple of React warnings/errors
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-07 10:40:20 +01:00
Michael Telatynski
430bceb91d
Merge pull request #5281 from matrix-org/t3chguy/fix/9836
...
Fix editing and redactions not updating the Reply Thread
2020-10-07 00:14:56 +01:00
Michael Telatynski
ab518a469f
Replace MatrixClientPeg with access to context in SendMessageComposer
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-07 00:09:09 +01:00
Michael Telatynski
120f269190
Track replyToEvent along with CIDER state & history
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-06 14:47:53 +01:00
Michael Telatynski
fbcea7d2cc
Fix editing and redactions not updating the Reply Thread
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-06 08:23:48 +01:00
Michael Telatynski
1e34365caa
Merge pull request #5268 from matrix-org/t3chguy/fix/15349
...
Fix right panel for peeking rooms
2020-10-06 00:32:05 +01:00
Tulir Asokan
2bb7b6535f
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2020-10-02 17:28:45 +03:00
Michael Telatynski
a9cee7cf70
Fix right panel for peeking rooms
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 12:30:41 +01:00
Travis Ralston
2ec94e8a69
Appease the linter
2020-09-30 20:49:31 -06:00
Travis Ralston
b46f58274e
Fix the hangup button and other custom actions
2020-09-30 20:09:23 -06:00
Travis Ralston
b710d42832
Fix stickerpicker to use new messaging
2020-09-30 16:12:00 -06:00
Travis Ralston
555bcc6010
Document remaining (known) cases to fix
2020-09-29 15:32:18 -06:00
Travis Ralston
5534206e77
Merge pull request #5223 from matrix-org/travis/ft-sep1620/04-jitsi-hangup
...
Make the hangup button do things for conference calls
2020-09-29 11:06:21 -06:00
Travis Ralston
36882b85d7
Merge pull request #5222 from matrix-org/travis/ft-sep1620/03-jitsi-obvious
...
Render Jitsi widget state events in a more obvious way
2020-09-29 11:05:40 -06:00
Travis Ralston
a5569303d1
Merge branch 'develop' into travis/ft-sep1620/04-jitsi-hangup
2020-09-29 10:20:02 -06:00
Michael Telatynski
ffa7ceb70e
Trim range when formatting so that it excludes leading/trailing spaces
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-29 14:15:20 +01:00
Travis Ralston
9df175212e
Merge branch 'develop' into travis/ft-sep1620/04-jitsi-hangup
2020-09-28 13:43:47 -06:00
Travis Ralston
42955856d5
Merge branch 'develop' into travis/ft-sep1620/03-jitsi-obvious
2020-09-28 13:41:48 -06:00
Matthew Hodgson
45e5903226
fix uninitialised state and eventlistener leak
2020-09-27 21:48:36 +01:00
David Baker
585c7637d6
Merge pull request #5248 from matrix-org/dbkr/callhandler_to_ts
...
Convert CallHandler to typescript
2020-09-25 15:52:21 +01:00
David Baker
8962f7ae9e
Convert CallHandler to typescript
...
and remove the old conference call stuff while we're at it: enough
time should have passed since those mistakes that we can move on.
The old conference call rooms will still appear for anyone whose
account dates back to that time, but they've presumably been appearing
in any other matrix client they used too.
2020-09-24 16:16:20 +01:00
Travis Ralston
09dd3cea08
Merge pull request #5225 from matrix-org/travis/ft-sep1620/09-enc-files
...
Add a note to use the desktop builds when seshat isn't available
2020-09-22 10:25:34 -06:00
Tulir Asokan
987cdf1bf0
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2020-09-19 19:14:37 +03:00
Travis Ralston
4ef4e67642
Merge pull request #5229 from matrix-org/travis/workflow/design/sep1720
...
Adjust layout and formatting of notifications / files cards
2020-09-18 11:11:35 -06:00
Travis Ralston
870c35be6f
Merge branch 'develop' into travis/ft-sep1620/09-enc-files
2020-09-18 10:56:20 -06:00
Michael Telatynski
de1d9e0e09
Fix Search Results Tile undefined variable access regression
2020-09-18 12:15:56 +01:00
J. Ryan Stinnett
ec4bf0c057
Merge pull request #5219 from matrix-org/jryans/defer-cross-signing-setup
...
Defer encryption setup until first E2EE room
2020-09-18 10:28:33 +01:00
Travis Ralston
14a7b83988
Don't show a bottom border ahead of the date separator
2020-09-17 10:40:48 -06:00
Travis Ralston
24d0950b7e
Adjust layout and formatting of notifications / file cards
...
This follows some polish time with a designer.
The placeholder text on the two panels was tracking up/down when the width was changed. This is fixed by adjusting some of the flexbox properties to center it more safely.
We also spent some time making the notifications panel more legible while we wait for the overhaul to land.
2020-09-17 09:23:06 -06:00
Michael Telatynski
5bf6697e48
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/15178
...
Conflicts:
src/settings/Settings.ts
src/settings/UIFeature.ts
2020-09-17 13:31:00 +01:00
Travis Ralston
c3a3754432
Appease the linter
2020-09-16 17:27:45 -06:00
Travis Ralston
bfbbf44dfc
Add a note to use the desktop builds when seshat isn't available
...
Fixes https://github.com/vector-im/element-web/issues/15184
This is currently temporary design for https://github.com/vector-im/element-web/issues/12896 but does not fix it.
2020-09-16 17:23:37 -06:00
Travis Ralston
1ffc6d5bd3
Make the hangup button do things for conference calls
...
Behaviour constraints:
* If you're not in the conference, use a grey button that does nothing.
* If you're in the conference, show a button:
* If you're able to modify widgets in the room, annotate it in the context of ending the call for everyone and remove the widget. Use a confirmation dialog.
* If you're not able to modify widgets in the room, hang up.
For this we know that persistent Jitsi widgets will mean that the user is in the call, so we use that to determine if they are actually participating.
2020-09-16 14:35:55 -06:00
Travis Ralston
b4af0140d4
Render Jitsi widget state events in a more obvious way
...
A clear improvement to this would be to include join/leave buttons in the tiles, however this is currently deferred.
2020-09-16 12:38:47 -06:00
J. Ryan Stinnett
26b465f1fd
Remove room recovery reminder
...
The Secure Backup toast replaces this with better UX.
Part of https://github.com/vector-im/element-web/issues/13895
2020-09-16 15:03:06 +01:00
J. Ryan Stinnett
7bd5e3fa31
Move security-related dialogs to a common directory
2020-09-16 15:03:06 +01:00
Michael Telatynski
f4f94e31d1
UI Feature Flag: Disable integrations entry UI
2020-09-16 11:38:50 +01:00
Michael Telatynski
9cc789756b
UI Feature Flag: Hide flair
2020-09-16 11:26:15 +01:00
Michael Telatynski
6f0f427ef4
Merge pull request #5210 from matrix-org/t3chguy/fix/15172
...
If no bug_report_endpoint_url, hide rageshaking from the App
2020-09-15 16:23:48 +01:00
Michael Telatynski
6c166f0560
If no bug_report_endpoint_url, hide rageshaking from the App
2020-09-15 15:49:25 +01:00
Travis Ralston
b177843e45
Remove defunct "always show encryption icons" setting
...
It doesn't do anything in practice.
Fixes https://github.com/vector-im/element-web/issues/8725
2020-09-14 22:03:54 -06:00
Matthew Hodgson
89d05ac952
bring back 1.2M style badge counts rather than 99+
2020-09-10 13:51:34 +01:00
Michael Telatynski
0e58eb6d56
Update initial widget height
2020-09-09 13:15:07 +01:00
Clemens Zeidler
db61d343f5
Add option to send/edit a message with Ctrl + Enter / Command + Enter
...
When editing multi-line text this option helps to prevent accidentally
sending a message too early. With this option, Enter just inserts a new
line.
For example, composing programming code in a dev chat becomes much
easier when Enter just inserts a new line instead of sending the
message.
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2020-09-09 19:27:11 +12:00
Michael Telatynski
98b59fb217
Consolidate all the work thus far
2020-09-08 15:43:38 +01:00
Michael Telatynski
2527344294
Create name/title Widget utils
2020-09-08 15:42:31 +01:00
Michael Telatynski
667c129ebc
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785
...
Conflicts:
src/components/structures/ScrollPanel.js
src/components/views/rooms/AppsDrawer.js
2020-09-07 14:33:57 +01:00
Tulir Asokan
75a0178dad
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2020-09-04 12:41:38 +03:00
Michael Telatynski
6d811734f4
Fix soft crash from TruncatedList in the createReactClass conversion
2020-09-04 09:24:12 +01:00
Michael Telatynski
e624ce11b4
Merge pull request #5157 from matrix-org/t3chguy/crc1
...
Remove create-react-class
2020-09-03 17:21:58 +01:00
Michael Telatynski
97ebfa02c3
Merge pull request #5162 from matrix-org/t3chguy/lodash
...
Consolidate Lodash files in bundle
2020-09-03 15:54:43 +01:00
Michael Telatynski
24006588d5
iterate PR
2020-09-03 10:34:19 +01:00
Michael Telatynski
cffe902504
Add feature to ResizeNotifier to maintain isResizing state and use it to skip onScroll handling
2020-09-02 12:00:35 +01:00
Michael Telatynski
6178b3c0e2
Wire up resizeNotifier
2020-09-02 11:13:00 +01:00
Michael Telatynski
243af3c9f2
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/dpsah/6785
2020-09-02 09:27:06 +01:00
Travis Ralston
92c184385c
Merge branch 'develop' into travis/communities/proto/userinfo
2020-09-01 10:51:42 -06:00
Michael Telatynski
7c4a84aae0
Merge pull request #5155 from matrix-org/t3chguy/lint-ts
...
Fix eslint ts override tsx matching and delint
2020-09-01 16:44:22 +01:00
Michael Telatynski
842821b038
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/lodash
2020-09-01 09:09:50 +01:00
Travis Ralston
724e3f6905
Run all selected prototype community logic through one store
2020-08-31 10:19:05 -06:00
Travis Ralston
93d67a6689
Wire up members button to member view
...
Ideally this would open up the group members panel, but that's exceedingly difficult. Instead, we switch to the general chat and rename the button to be a bit more helpful.
2020-08-31 10:12:12 -06: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
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
Michael Telatynski
9ba33c7f80
Fix eslint ts override tsx matching and delint
2020-08-29 01:11:08 +01:00
Michael Telatynski
1fc55b33c1
Stash lodash import optimization
2020-08-28 18:53:43 +01: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
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
fd71bca7c0
Change menu label if in a community
2020-08-26 10:33:05 -06:00
Travis Ralston
2d4ac548d0
Override invite metadata if the server wants a group profile
2020-08-25 21:03:11 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tulir Asokan
db5121aeca
Merge remote-tracking branch 'upstream/develop' into compact-reply-rendering
2020-08-03 16:49:43 +03: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
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
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
Travis Ralston
968fbd5cba
Merge branch 'develop' into travis/echo/audit
2020-07-30 10:18:30 -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
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
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
4ab3ea395a
lint
2020-07-28 13:56:18 +01:00
Jorik Schellekens
9cd232617d
Unify composer and room header icons
2020-07-28 13:19:11 +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
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
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
Swapnil Raj
1d3635e1c8
Replaced string actions with their corresponding types
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
507fa01ade
Remove missed area for notification state fetching
2020-07-21 20:51:40 -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