Commit graph

38180 commits

Author SHA1 Message Date
Travis Ralston
0354a7025d
Merge pull request #6862 from SimonBrandner/task/usercontent-ts
Convert `/src/usercontent` to TS
2021-09-25 20:52:37 -06:00
Šimon Brandner
3450e91e32
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-25 09:58:01 +02:00
Šimon Brandner
1a2476609c
Fix code to be equivalent to the previous one
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-25 07:55:40 +02:00
Šimon Brandner
27f74b3ebd
Remove unnecessary type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-25 07:53:38 +02:00
Šimon Brandner
bffebb9304
Convert index to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-24 20:51:50 +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
d33bc4c0e2
Merge pull request #6860 from matrix-org/dbkr/fix_user_view
Fix the User View
2021-09-24 14:44:07 +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
a2917a4a30
Merge pull request #6859 from matrix-org/gsouquet/threads-timestamp-fix 2021-09-24 13:27:50 +01:00
Germain Souquet
bb7319f632 move timestamp to the right in thread's context 2021-09-24 11:44:11 +01:00
Germain Souquet
836e427dc8 Scope editor reset when reply changed for thread view 2021-09-24 11:13:57 +01:00
Germain
6be12ea47e
Merge pull request #6858 from matrix-org/gsouquet/switch-room-threads-18987 2021-09-24 11:11:33 +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
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
RiotRobot
a22e2ef874 v3.31.0-rc.2 2021-09-22 14:35:24 +01:00
RiotRobot
672cdf5330 Prepare changelog for v3.31.0-rc.2 2021-09-22 14:35:24 +01:00
David Baker
c5a059d6f3
Merge pull request #6854 from matrix-org/dbkr/fix-18999-rel
Fix spacing for message composer buttons
2021-09-22 14:18:30 +01:00
Germain Souquet
9c69869f63 Fix spacing for message composer buttons 2021-09-22 13:43:37 +01:00
David Baker
40dedfa44a
Merge pull request #6852 from matrix-org/gsouquet/fix-18999
Fix spacing for message composer buttons
2021-09-22 13:39:28 +01:00
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
dc979a33a1 Fix spacing for message composer buttons 2021-09-22 11:55:25 +01:00
Germain Souquet
1265fe6b86 Set comprehensive set of props for thread's MessagePanel 2021-09-22 10:48:24 +01:00
Germain
b13fdb698c
Merge pull request #6743 from SimonBrandner/task/dialogs-ts 2021-09-22 10:43:19 +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
David Baker
f0bf39a09a
Merge pull request #6850 from SimonBrandner/fix/resizer
Fix resizers not letting go
2021-09-22 08:47:27 +01:00
Šimon Brandner
d4665979b8
Fix resizer
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 08:29:04 +02:00
Travis Ralston
f02d6e8240
Merge pull request #6843 from SimonBrandner/task/settings-ts
Convert `/src/components/views/settings/` to TS
2021-09-22 00:16:59 -06: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
Travis Ralston
502022ca7e
Merge pull request #6849 from matrix-org/dependabot/npm_and_yarn/nth-check-2.0.1
Bump nth-check from 2.0.0 to 2.0.1
2021-09-21 23:14:26 -06:00
dependabot[bot]
b161b86c10
Bump nth-check from 2.0.0 to 2.0.1
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 02:05:08 +00: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
Travis Ralston
b78e0ba166 Merge remote-tracking branch 'kittykat/develop' into develop 2021-09-21 11:21:50 -06:00
Travis Ralston
c7ccb3d381
Merge pull request #6847 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2021-09-21 11:18:33 -06:00
Ihor Hordiichuk
6a46713d02 Translated using Weblate (Ukrainian)
Currently translated at 66.7% (2112 of 3166 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-09-21 17:17:04 +00:00
Weblate
0d3f5a4d42 Merge branch 'origin/develop' into Weblate. 2021-09-21 16:05:19 +00: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
Weblate
cd5514ad50 Merge branch 'origin/develop' into Weblate. 2021-09-21 15:48:13 +00: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
afdec1971f
Handle prefers-reduced-motion
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 17:42:23 +02: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