Commit graph

37461 commits

Author SHA1 Message Date
David Baker
da06c8a5d8 Update comment too
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-09-09 18:19:19 +01:00
David Baker
eba815afda 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 18:18:47 +01:00
David Baker
25cd66db93
Merge pull request #6773 from matrix-org/travis/rl/perf-metrics
[Release] Add config option to turn on in-room event sending timing metrics
2021-09-09 18:17:42 +01:00
Travis Ralston
d886409c0c Appease the linter 2021-09-09 10:39:38 -06:00
Travis Ralston
0cae60ed2c Move fields into consistent location for js-sdk to target 2021-09-09 10:39:26 -06:00
Travis Ralston
d9a0a0b858 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-09 10:39:23 -06:00
David Baker
97e107ebac Fix types in release mode again 2021-09-07 18:59:52 +01:00
RiotRobot
71b20608a2 v3.30.0-rc.1 2021-09-07 18:28:33 +01:00
RiotRobot
309c9e81dc Prepare changelog for v3.30.0-rc.1 2021-09-07 18:28:31 +01:00
RiotRobot
2cbe35cbd9 Upgrade matrix-js-sdk to 12.5.0-rc.1 2021-09-07 18:26:09 +01:00
David Baker
c18536d91f
Merge pull request #6757 from matrix-org/dbkr/allchange_103
Update changelog generator
2021-09-07 18:10:30 +01:00
David Baker
e1fdf7c69d Update changelog generator 2021-09-07 18:01:13 +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
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
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
Michael Telatynski
8cab86e58b fix typing of firstRoomId 2021-09-07 11:02:38 +01:00
David Baker
527ea6eb77
Merge pull request #6754 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2021-09-07 10:34:22 +01:00
David Baker
f25be9770e Translated using Weblate (Albanian)
Currently translated at 99.7% (3142 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-09-07 09:28:16 +00:00
Germain Souquet
6c60e4c306 Fix thread creation 2021-09-07 09:57:49 +01:00
Weblate
1f015a64b4 Merge branch 'origin/develop' into Weblate. 2021-09-07 08:48:21 +00:00
David Baker
404ddad961
Merge pull request #6751 from matrix-org/dbkr/fix_stuck_scroll
Fix scroll being stuck at bottom
2021-09-07 09:48:17 +01:00
XoseM
459f603f17 Translated using Weblate (Galician)
Currently translated at 100.0% (3151 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-09-07 08:40:43 +00:00
jelv
571e7de795 Translated using Weblate (Dutch)
Currently translated at 100.0% (3151 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-09-07 08:40:38 +00:00
Germain Souquet
9cbf8717e2 Add comments for missing types in MessageActionBar 2021-09-07 09:12:38 +01:00
Weblate
95ebd9d2c7 Merge branch 'origin/develop' into Weblate. 2021-09-07 04:43:31 +00:00
Travis Ralston
78617c01a8
Merge pull request #6742 from matrix-org/travis/fix-oidc-dialog
Convert widget OIDC exchange dialog to TS (fixing it)
2021-09-06 22:43:27 -06:00
Travis Ralston
615a432eda Add missing type 2021-09-06 22:37:21 -06:00
Weblate
2869a802ec Merge branch 'origin/develop' into Weblate. 2021-09-07 04:09:05 +00:00
Travis Ralston
eb6fa4514b
Merge pull request #6752 from matrix-org/revert-6682-gsouquet/compact-composer-18533
Revert "Create narrow mode for Composer"
2021-09-06 22:09:01 -06:00
Travis Ralston
945181fe39
Revert "Create narrow mode for Composer" 2021-09-06 22:08:50 -06:00
Weblate
8ce3c168ca Merge branch 'origin/develop' into Weblate. 2021-09-07 04:07:11 +00:00
Ihor Hordiichuk
54b466a97f Translated using Weblate (Ukrainian)
Currently translated at 51.5% (1624 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-09-07 04:07:11 +00:00
Jeff Huang
7099d35439 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3151 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-09-07 04:07:08 +00:00
Germain
59de3c96a2
Merge pull request #6682 from matrix-org/gsouquet/compact-composer-18533 2021-09-07 05:07:00 +01:00
David Baker
6468ce68a2 Fix scroll being stuck at bottom
The check for whether we're at the bottom or not allowed for a
difference of 1 to account for fractional scroll values, but
allowed the difference of exactly 1 too, meaning we'd consider
the timeline to be at the bottom if you were scrolled up by exactly
a single pixel. If your scrolling was set up to be precise enough and
the event handlers fired fast enough that they'd evaluate each time
you scrolled up by a single pixel, it would reset you back to the bottom
each time and you'd never be able to scroll up.

Fixes https://github.com/vector-im/element-web/issues/18903
2021-09-06 18:59:47 +01:00
Weblate
f0a1719fd1 Merge branch 'origin/develop' into Weblate. 2021-09-06 15:53:19 +00:00
Alexandre Franke
e450750700 Translated using Weblate (French)
Currently translated at 99.9% (3148 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-09-06 15:53:19 +00:00
Michael Telatynski
a4c0fa8046
Merge pull request #6745 from matrix-org/t3chguy/fix/18796
Prefer matrix.to alias links over room id in spaces & share
2021-09-06 16:53:11 +01:00
Weblate
7cf5920042 Merge branch 'origin/develop' into Weblate. 2021-09-06 15:21:02 +00:00
Priit Jõerüüt
b4b3a4bc17 Translated using Weblate (Estonian)
Currently translated at 99.9% (3148 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-09-06 15:21:02 +00:00
waclaw66
da0714917f Translated using Weblate (Czech)
Currently translated at 100.0% (3151 of 3151 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-09-06 15:20:59 +00:00
Germain
ecd1920a4a
Merge pull request #6749 from matrix-org/gsouquet/fix-reply-display
Fix replies not appearing in timeline
2021-09-06 16:20:53 +01:00
Germain Souquet
01d61786f1 Update return type for getThread prop 2021-09-06 16:18:35 +01:00
Germain Souquet
4b96a81bbe Migrate MessageActionBar to TypeScript 2021-09-06 16:15:50 +01:00
Germain Souquet
385222719c Fix replies not appearing in timeline 2021-09-06 15:53:18 +01:00
Michael Telatynski
43868c4539 Fix Space creation wizard go to my first room button behaviour 2021-09-06 15:17:09 +01:00
Weblate
bb1b079506 Merge branch 'origin/develop' into Weblate. 2021-09-06 12:06:49 +00:00