Commit Graph

15441 Commits

Author SHA1 Message Date
Š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
Šimon Brandner f5d8bb7cbe Remove awaiting setState()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-14 18:15:27 +02:00
Šimon Brandner ccc042b7d7 Where does that magic number come from?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-14 18:06:01 +02:00
Šimon Brandner 1a128c3a00 Merge remote-tracking branch 'upstream/develop' into feature/image-view-load-anim/18186
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-11 15:32:44 +02:00
Michael Telatynski ca0d8116ad Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18908 2021-09-10 18:02:48 +01:00
Germain 1a4859ede8 Merge pull request #6727 from SimonBrandner/task/i-hate-my-code 2021-09-10 16:14:24 +01:00
Michael Telatynski d15ea932f6 fix unrelated issues 2021-09-10 15:35:35 +01:00
Michael Telatynski d46181385c Also default to PL invite=50 for private space creation 2021-09-10 13:05:04 +01:00
Michael Telatynski cd73bbf2f5 Merge pull request #6724 from matrix-org/t3chguy/fix/18798 2021-09-10 09:56:56 +01:00
Michael Telatynski 2a8e8b93aa add comment 2021-09-10 09:48:46 +01:00
Michael Telatynski 558b292c25 Adapt and re-use the RolesRoomSettingsTab for Spaces 2021-09-10 09:41:58 +01:00
Robin Townsend def1c68c16 Fix message bubble corners being wrong in the presence of hidden events
Signed-off-by: Robin Townsend <robin@robin.town>
2021-09-09 16:11:36 -04:00
Germain 051e166c68 Merge pull request #6772 from matrix-org/gsouquet/fix-18947 2021-09-09 18:56:49 +01:00
Germain d475b7f1ea Merge pull request #6753 from matrix-org/revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-09 18:49:38 +01:00
David Baker 3f28454a8e Merge pull request #6771 from matrix-org/dbkr/debounce_read_marker_update
Debounce read marker update on scroll
2021-09-09 18:24:08 +01:00
David Baker bd5d02d690 Update comment too
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-09-09 18:15:51 +01:00
Travis Ralston a6d2bb5e6c Merge pull request #6693 from SimonBrandner/fix/guest/18776
Render guest settings only in public rooms/spaces
2021-09-09 10:42:38 -06:00
Travis Ralston bdb29e96fa Merge pull request #6766 from matrix-org/travis/measure-encryption-perf
Add config option to turn on in-room event sending timing metrics
2021-09-09 10:38:15 -06:00
Germain Souquet 672dab1998 Force refresh threads timeline
Fixes vector-im/element-web#18947

In the absence of a proper pending events / remote echo setup it seems fairly difficult to get the timeline to update

Adding a temporary helper to force refresh the timeline and not swallow local events when sending a message from the thread sidebar
2021-09-09 17:31:05 +01:00
David Baker a4aa6dfcd7 Debounce read marker update on scroll
Reverts https://github.com/matrix-org/matrix-react-sdk/pull/6751 in
favour of debouncing the updates to read markers, because it seems
allowing the scroll to be 1px away from the bottom was important for
some browsers and meant they never got to the bottom.

We can fix the problem instead by debouncing the update to read
markers, because the scroll state gets reset back to the bottom when
componentDidUpdate() runs which happens after the read marker code
does a setState(). This should probably be debounced anyway since
it doesn't need to be run that frequently.

Fixes https://github.com/vector-im/element-web/issues/18961
Type: bugfix
2021-09-09 15:58:19 +01:00
Germain Souquet 07ebd85f7e Merge branch 'develop' into revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-09 13:30:35 +01:00
Germain Souquet aa53444267 Improve narrow composer usability 2021-09-09 13:27:25 +01:00
Michael Telatynski 630835961b Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18798
 Conflicts:
	src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx
2021-09-09 11:01:11 +01:00
Michael Telatynski 2eb64de508 Tweak edge case behaviour 2021-09-09 10:54:31 +01:00
Michael Telatynski fa60b24a9f fix react error in console 2021-09-09 10:50:12 +01:00
Michael Telatynski e17a5328d2 Merge pull request #6764 from matrix-org/t3chguy/fix/18677 2021-09-08 23:00:01 +01:00
Michael Telatynski d00c4d042b Merge pull request #6760 from matrix-org/t3chguy/fix/18528
Improve tooltips on space quick actions and explore button
2021-09-08 22:59:52 +01:00
Michael Telatynski 086d36beb1 Merge pull request #6765 from matrix-org/t3chguy/fix/17018
Make space members and user info behave more expectedly
2021-09-08 22:59:44 +01:00
Travis Ralston 21e33362e5 Add config option to turn on in-room event sending timing metrics
This is intended to be hooked up to an external system. 

Due to the extra events and metadata concerns, this is only available if turned on from the config.

See `sendTimePerformanceMetrics.ts` for event schemas.
2021-09-08 11:28:19 -06:00
Michael Telatynski 22c5902ae4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18677 2021-09-08 17:21:42 +01:00
Michael Telatynski 2c134b2dfd Merge pull request #6763 from matrix-org/t3chguy/ts1234
Improve types based on new TS in js-sdk
2021-09-08 17:09:17 +01:00
Michael Telatynski 600375cafe Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18798
 Conflicts:
	src/i18n/strings/en_EN.json
2021-09-08 15:38:13 +01:00
Michael Telatynski d4bac4752d Make space members and user info behave more expectedly 2021-09-08 13:34:26 +01:00
Michael Telatynski 83912daced Improve the upgrade for restricted user experience 2021-09-08 13:16:31 +01:00
Michael Telatynski 1da65d459c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18597 2021-09-08 12:57:37 +01:00
Michael Telatynski 467fb55e8e improve typing & comment 2021-09-08 12:53:13 +01:00
Michael Telatynski f3abb13dc9 Convert crypto/verification/* to Typescript 2021-09-08 12:34:44 +01:00
Michael Telatynski 8bd1f384b9 Improve tooltips on space quick actions and explore button 2021-09-08 10:16:20 +01:00
Michael Telatynski 92ad81ed76 Merge pull request #6744 from matrix-org/t3chguy/fix/18892 2021-09-08 10:04:07 +01:00
Travis Ralston 3217ab26ff Merge pull request #5759 from panoschal/fix/call-search-areas
Compact call area, better ui when in call & searching messages
2021-09-07 12:31:56 -06:00
Germain Souquet bbf66a0011 Make label clickable on narrow mode context menu 2021-09-07 17:10:09 +01:00
Germain Souquet 646ef197fe Fix PR UI defects 2021-09-07 16:02:26 +01:00
David Baker 495b6dcd97 Merge pull request #6705 from SimonBrandner/fix/call-tile-dispatch/18825
Use disptacher to answer/reject calls in call tiles
2021-09-07 15:45:40 +01:00
Germain Souquet 2d45bfb976 Merge branch 'develop' into revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-07 15:39:32 +01:00
Germain 94cef3bf13 Merge pull request #6755 from matrix-org/gsouquet/fix-thread-creation 2021-09-07 15:26:28 +01:00
Michael Telatynski 9d1e6dc18a Merge pull request #6756 from matrix-org/t3chguy/ts/123
fix typing of olmVersion in settings
2021-09-07 14:27:54 +01:00
Germain 42f5efaa28 Merge pull request #6750 from matrix-org/gsouquet/migrate-messageactionbar 2021-09-07 14:11:20 +01:00
Michael Telatynski 93af6aafce fix typing of olmVersion in settings 2021-09-07 13:28:51 +01:00
Michael Telatynski 6cbdb58341 add comment 2021-09-07 12:01:18 +01:00
Michael Telatynski 51f1d21464 Merge pull request #6748 from matrix-org/t3chguy/fix/18764
Fix Space creation wizard go to my first room button behaviour
2021-09-07 11:08:53 +01:00