Germain Souquet
25896880ca
Rename rendering context to timeline rendering type
2021-10-01 14:50:35 +01:00
Germain Souquet
94573568fd
Add reply in thread hint to m.replace relations
2021-10-01 14:49:22 +01:00
Germain Souquet
65c7657e3c
Pass replacingEventId for edits to appear in thread's view
2021-10-01 14:49:08 +01:00
Dariusz Niemczyk
1331e960fa
Add ability to properly edit messages in Threads. ( #6877 )
...
* Fix infinite rerender loop when editing message
* Refactor "edit_event" to Action.EditEvent
* Make up-arrow edit working in Threads
* Properly handle timeline events edit state
* Properly traverse messages to be edited
* Add MatrixClientContextHOC
* Refactor RoomContext to use AppRenderingContext
* Typescriptify test
Co-authored-by: Germain <germains@element.io>
2021-10-01 15:35:54 +02:00
Michael Telatynski
616dfaebc0
Merge pull request #6892 from matrix-org/t3chguy/ctx-menu-propagation
2021-10-01 12:26:53 +01:00
Michael Telatynski
898e4acb4f
Don't let click events propagate out of context menus
2021-10-01 10:00:53 +01:00
Michael Telatynski
2c42946409
Merge pull request #6876 from matrix-org/t3chguy/fix/space-hierarchy-filter
2021-10-01 09:01:14 +01:00
Travis Ralston
fe0a68b71e
Merge pull request #6869 from SimonBrandner/task/src-ts
...
Convert `/src` to TS
2021-09-30 12:48:23 -06:00
Michael Telatynski
8ac77c498f
Add progress bar to Community to Space migration tool
...
and invite-one-by-one to workaround Synapse ratelimits
2021-09-30 13:43:59 +01:00
Michael Telatynski
5eaf0e7e25
Merge pull request #6081 from jaiwanth-v/export-conversations
2021-09-30 12:49:24 +01:00
Michael Telatynski
6454aa7a95
Update copy
2021-09-30 11:46:05 +01:00
Michael Telatynski
0697470cc8
Update copy
2021-09-29 16:05:03 +01:00
Jaiwanth
208b914cb0
Merge branch 'develop' into export-conversations
2021-09-29 19:32:05 +05:30
Michael Telatynski
ad5842c87a
Allow closing Dropdown via its chevron
2021-09-29 14:24:12 +01:00
Michael Telatynski
d6cab320e9
Fix space invite edge cases
2021-09-29 14:04:02 +01:00
Richard van der Hoff
c99216814f
fix lint
2021-09-29 11:20:51 +01:00
Richard van der Hoff
b285315cb8
Fix ScrollPanel.isAtBottom
for non-standard DPI settings
2021-09-29 11:16:41 +01:00
Michael Telatynski
399ceaf002
Merge pull request #6879 from matrix-org/t3chguy/fix/19164
2021-09-29 10:05:43 +01:00
Michael Telatynski
02c5b7e28d
Pluck out some more applicable styles
2021-09-28 16:36:25 +01:00
Michael Telatynski
4335cd03c5
Pluck out JoinRuleSettings styles so they apply in space settings too
2021-09-28 16:30:17 +01:00
Michael Telatynski
886f8d31fb
Iterate title on confirm space action dialog
2021-09-28 16:23:42 +01:00
Michael Telatynski
0f8069ac35
Switch ConfirmUserActionDialog over to using a Field
2021-09-28 16:22:27 +01:00
Michael Telatynski
207a1143fc
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18969
2021-09-28 15:45:09 +01:00
Germain
ca3b8e596a
Merge pull request #6873 from matrix-org/gsouquet/threads-action-bar-19127
2021-09-28 15:07:36 +01:00
Dariusz Niemczyk
8331d4c7b7
Happily handle empty text messages ( #6825 )
...
This commig refactors the message-deletion modal and reuses it for case of removing
the entire message and trying to send it, which should trigger removal flow instead.
Fix vector-im/element-web#18873
2021-09-28 15:04:25 +01:00
Germain Souquet
c1165830ed
Create rendering context enum for MessageActionBar
2021-09-28 14:55:00 +01:00
Michael Telatynski
7f63f496be
delint
2021-09-28 14:03:41 +01:00
Michael Telatynski
ce0f16d58b
Fix pagination when filtering space hierarchy
2021-09-28 13:52:30 +01:00
Germain Souquet
160bf8e21f
Fix missing prop
2021-09-28 11:06:06 +01:00
Germain Souquet
e52a33e93c
Merge branch 'develop' into gsouquet/threads-action-bar-19127
2021-09-28 09:34:43 +01:00
Travis Ralston
8e497f8c56
Merge pull request #6871 from psrpinto/fix/close-url-preview-button
...
Fix issue with preview panel close button not appearing for certain messages containing a URL
2021-09-27 13:42:11 -06:00
Paulo Pinto
432dd994bd
Filter out invalid previews
...
The call to cli.getUrlPreview() might return an empty object ({}), which means
there is in fact no preview for that URL.
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-09-27 18:07:54 +01:00
Paulo Pinto
dabc13c98f
Extract logic to a function
...
For better readability of the call to useAsyncMemo()
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-09-27 18:07:54 +01:00
Šimon Brandner
e2b6c2cbd6
Convert RoomNotifs to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 18:39:57 +02:00
Travis Ralston
77ad0a9142
Merge pull request #6699 from SimonBrandner/fix/improve-aux-panel/18787
...
Improve AUX panel behaviour
2021-09-27 10:16:05 -06:00
Michael Telatynski
c39519a753
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/spaces-admin-check
2021-09-27 13:46:51 +01:00
Šimon Brandner
30599554f1
Convert PageTypes to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 14:41:03 +02:00
Dariusz Niemczyk
0cfa2a58c7
Add ability to expand and collapse long quoted messages ( #6701 )
...
In case where we had a very long message the experience of going between
messages to see the full quote isn't very nice on desktop, therefore this commit
adds a button with additional hotkey to normalize the experience a bit.
Fixes https://github.com/vector-im/element-web/issues/18884
2021-09-27 12:20:37 +02:00
Michael Telatynski
6d0af83df4
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18969
...
Conflicts:
src/components/views/dialogs/LeaveSpaceDialog.tsx
src/i18n/strings/en_EN.json
2021-09-27 11:19:49 +01:00
Šimon Brandner
0cba943f96
Fix types
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:35:33 +02:00
Šimon Brandner
6a88ac900c
Merge remote-tracking branch 'upstream/develop' into task/messages-ts
2021-09-27 10:32:25 +02:00
Šimon Brandner
2712dde581
Remove empty line
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:28:07 +02:00
Šimon Brandner
dd92f8f1f9
Move imports
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-27 10:21:46 +02:00
Šimon Brandner
a1d5e7ba66
Add return type
...
Co-authored-by: Germain <germain@souquet.com>
2021-09-27 10:12:55 +02:00
Šimon Brandner
6aa5d98741
Remove constructor
...
Co-authored-by: Germain <germain@souquet.com>
2021-09-27 10:12:45 +02:00
Šimon Brandner
af9429c8a0
Convert ActiveWidgetStore to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 19:57:02 +02:00
Šimon Brandner
fb5c18caa0
Convert MKeyVerificationConclusion to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 14:51:46 +02:00
Šimon Brandner
c287d15fa0
Convert RoomCreate to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:42:29 +02:00
Šimon Brandner
421fa1ab69
Convert RoomAvatarEvent to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:42:28 +02:00
Šimon Brandner
ff1c1fbc78
Convert MjolnirBody to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:08:05 +02:00
Šimon Brandner
bee85a0bcd
Convert EditHistoryMessage to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-26 13:08:04 +02:00
Germain
79b52f8a22
Merge pull request #6857 from matrix-org/gsouquet/composer-reply-18989
2021-09-24 15:05:40 +01:00
David Baker
9f26cca256
Fix the User View
...
Extreme confusion between users and members, and presumably we were
passing one as the other and they were similar enough that it
worked.
UserView still makes fake member objects but this at least fixes
the user view in the right panel.
Fixes https://github.com/vector-im/element-web/issues/19158
2021-09-24 14:35:00 +01:00
Germain Souquet
8348add67f
Add MessageActionBar to ThreadView
2021-09-24 14:19:11 +01:00
Germain Souquet
836e427dc8
Scope editor reset when reply changed for thread view
2021-09-24 11:13:57 +01:00
Germain Souquet
82d685e410
Only switch to ThreadPanel when roomId changes
2021-09-24 11:06:07 +01:00
Germain Souquet
070f279ae7
Close thread view when changing room
2021-09-23 14:44:03 +01:00
Germain Souquet
bd599c96a3
Add React lifecycle methods publicity and return types
2021-09-23 14:43:39 +01:00
Germain Souquet
a9f7ab785c
Change CIDER state persistence key to cater for threads
...
Extending the CIDER state persistence to threads and make sure that SendMessageComposer can restore drafts for specific threads
This also prevents the thread's replyToEvent to leaking in the room composer
2021-09-23 10:59:33 +01:00
Jaiwanth
d1e3d35d40
Change export bundle filename format, light theme for all exports and import jszip after export cta
2021-09-22 22:17:23 +05:30
Germain
2cd5b731bf
Merge pull request #6851 from matrix-org/gsouquet/timeline-rendering-18719
2021-09-22 17:23:07 +01:00
Travis Ralston
7cd7cf87e3
Merge pull request #6853 from videogame-hacker/patch/undefined-3pids
...
Fix Notifications settings view when threepids is undefined
2021-09-22 10:22:58 -06:00
David Baker
f69854b274
Merge pull request #6856 from SimonBrandner/fix/soft-crash
...
Fix `AppsDrawer` soft crash
2021-09-22 14:56:00 +01:00
Šimon Brandner
96c16354ca
Fix soft crash
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 15:47:15 +02:00
Jaiwanth
94e4fb71c1
Merge branch 'develop' into export-conversations
2021-09-22 18:07:01 +05:30
videogame hacker
d323bc4c07
Fix Notifications settings view when threepids is undefined
...
Signed-off-by: Charlotte Som <half-kh-hacker@hackery.site>
2021-09-22 13:17:49 +01:00
Germain Souquet
1265fe6b86
Set comprehensive set of props for thread's MessagePanel
2021-09-22 10:48:24 +01:00
Šimon Brandner
4adc900d00
Remove autoFocus
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 10:46:59 +02:00
Šimon Brandner
d3e340e7ce
Merge remote-tracking branch 'upstream/develop' into task/dialogs-ts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 10:42:02 +02:00
Šimon Brandner
8bbaf642bf
Avoid self = this
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 08:11:26 +02:00
Šimon Brandner
7f8c0e99ea
Merge remote-tracking branch 'upstream/develop' into task/settings-ts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 19:35:42 +02:00
Dariusz Niemczyk
7bd3535b9f
Merge pull request #6454 from SimonBrandner/feature/image-view-load-anim/18186
...
* Give lightbox a background load animation
* Extends IMediaEventContent by thumbnail info
* Give image view panel a loading animation
* Initial implementation of loading animation
* Take panel height into account
* Update animation speed
* Add some null guards
* Fix animation issues
* Move animations into _animations
* Where does that magic number come from?
* Remove awaiting setState()
* Use CSS var in JS
* Handle prefers-reduced-motion
* More prefers-reduced-motion friendliness
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 18:05:13 +02:00
Šimon Brandner
b2c0f57c4b
More prefers-reduced-motion friendliness
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 17:59:13 +02:00
Dariusz Niemczyk
2d1d42b90e
Globally replace all console.logs via codemod ( #6827 )
...
This commit replaces all the `console.log` to `logger.log` via an automated script.
Related: vector-im/element-web#18425
2021-09-21 09:48:09 -06:00
Šimon Brandner
7022ab4f8a
Merge remote-tracking branch 'upstream/develop' into feature/image-view-load-anim/18186
2021-09-21 17:36:26 +02:00
Šimon Brandner
499b470d07
Use CSS var in JS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 17:36:16 +02:00
Travis Ralston
3a548d4c9c
Merge pull request #6547 from SimonBrandner/feature/call-upgrades
...
Update muting in calls to work with the js-sdk call upgrade changes
2021-09-21 09:18:54 -06:00
Travis Ralston
a655dde5eb
Merge pull request #6839 from SimonBrandner/task/rooms-ts
...
Convert `/src/components/views/rooms` to TS
2021-09-21 09:13:23 -06:00
Travis Ralston
2eea606442
Merge pull request #6815 from SimonBrandner/task/elements-ts
...
Convert `/src/components/views/elements` to TS
2021-09-21 09:12:56 -06:00
Šimon Brandner
7862f9842a
Use IDialogProps
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:10:28 +02:00
Šimon Brandner
0bae01c824
Convert SecureBackupPanel to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:10:23 +02:00
Šimon Brandner
9051df45c1
Convert ChangePassword to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:00:08 +02:00
Šimon Brandner
073eff4c71
Convert SecurityUserSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:59:29 +02:00
Šimon Brandner
222427dae8
Convert GeneralUserSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:45:38 +02:00
Šimon Brandner
e88227dac8
Convert LabsUserSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:19:13 +02:00
Šimon Brandner
f62e0795f0
Convert NotificationsSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:51:47 +02:00
Šimon Brandner
c5a1de961b
Convert GeneralRoomSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:44:40 +02:00
Šimon Brandner
76f8543c22
Convert PhoneNumber to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:40:32 +02:00
Šimon Brandner
2ebbda482d
Convert EmailAddress to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:33:11 +02:00
Šimon Brandner
39f92c4ddc
Convert PhoneNumbers to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:22:14 +02:00
Šimon Brandner
a2ecf18096
Convert EmailAddresses to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:22:07 +02:00
Germain
14c92b72b2
Merge pull request #6842 from matrix-org/gsouquet/fix-19016
2021-09-21 10:14:01 +01:00
Ekaterina Gerasimova
d2fe8aff11
Improve string for leaving space in leave dialog
...
Doesn't leave subspaces either, but those are in Beta so we probably
shouldn't mention them for now so the user doesn't get confused
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-21 08:55:28 +01:00
Šimon Brandner
24df63abd7
Improve typing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 09:09:21 +02:00
Šimon Brandner
f84a98b933
Fix enum casing once again
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 08:25:25 +02:00
Šimon Brandner
bce4d44d0d
Revert Firefox composer delation hacks
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:32:54 +02:00
Šimon Brandner
ec4f672a13
Improve typing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:19:03 +02:00
Šimon Brandner
26ae71f093
Lose underscore
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:16:01 +02:00
Šimon Brandner
459e028137
Fix some regressions
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:15:36 +02:00
Šimon Brandner
0df67d005e
Ditch displayName
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:11:14 +02:00