Commit graph

24231 commits

Author SHA1 Message Date
Travis Ralston
1768d6ea5f Move all widget pinning logic to the WidgetLayoutStore 2021-01-18 20:26:47 -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
Travis Ralston
0001e1e684 Support initial ordering and calculation for widgets by layout 2021-01-18 17:41:42 -07:00
Travis Ralston
4ee29d4e63 Split out ready states of stores to its own store 2021-01-18 17:41:17 -07:00
Travis Ralston
1f219d8530 Simple support for generics off the settings store
Ideally the settings store returns the right type, but for now we can feed it the type we need/expect.
2021-01-18 17:40:32 -07:00
Michael Telatynski
7b882c6393
Merge pull request #5552 from 2580ayush2580/ayush25801
Fixed continue button while selecting home-server
2021-01-18 17:24:00 +00:00
Ayush Kumar
530a242aae Fixed continue button while selecting home server 2021-01-18 21:41:10 +05:30
Travis Ralston
83fb698bbc
Merge pull request #5527 from matrix-org/travis/widget-nav
Wire up MSC2931 widget navigation
2021-01-18 09:09:32 -07:00
Will Hunt
e9d2daab8f fix strings 2021-01-18 13:09:39 +00:00
Will Hunt
74b5febb9c oops strings 2021-01-18 11:38:49 +00:00
Will Hunt
d71b2cf04f Merge remote-tracking branch 'origin/develop' into hs/bridge-info-v2 2021-01-18 11:36:46 +00:00
Will Hunt
461c0733d9 Revert strings 2021-01-18 11:36:35 +00:00
J. Ryan Stinnett
1c5a234b93
Merge pull request #5547 from matrix-org/jryans/listener-overload
Use room-specific listeners for message preview and community prototype
2021-01-18 10:57:56 +00:00
Travis Ralston
ea61c979f9 Try a different string 2021-01-16 23:29:27 -07:00
Travis Ralston
bebcabcde4 Merge branch 'develop' into travis/widget-nav 2021-01-16 23:28:11 -07: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
J. Ryan Stinnett
80f3e14faf Move LoggedInView subscriptions to after mounted
This avoids a React warning about trying to call `setState` before the component
is mounted.
2021-01-15 13:20:49 +00:00
J. Ryan Stinnett
e90009772d Fix React warnings about missing key for edited messages
This uses a fragment instead of an array to avoid the need for key attributes.
2021-01-15 13:20:49 +00:00
J. Ryan Stinnett
6d932e1352 Fix lint errors 2021-01-14 17:38:06 +00:00
J. Ryan Stinnett
accbe78d9a Add null path 2021-01-14 17:37:18 +00:00
J. Ryan Stinnett
658a8dfa99 Use device storage for allowed widgets if account data not supported
With guest accounts, account data is not available, so we use device storage to
hold allowed widgets as a good enough place.

Fixes https://github.com/vector-im/element-web/issues/16145
2021-01-14 17:30:25 +00:00
J. Ryan Stinnett
cb66f7493b Skip account settings for guest users
Homeservers don't allow this currently, so we should use something else instead
for such cases.
2021-01-14 15:58:27 +00:00
David Baker
008fdf8dfb Missed some underscores 2021-01-13 15:44:33 +00:00
David Baker
28fe6291d9 add public/privates & de-underscore 2021-01-13 15:37:49 +00:00
David Baker
ea31d5821b Unintnetional commit (again) 2021-01-13 14:54:12 +00:00
David Baker
ac7f86cf65 Convert DMRoomMap to typescript 2021-01-13 14:49:23 +00:00
David Baker
e2111d9161
Merge pull request #5532 from matrix-org/dbkr/dtmf
Add in-call dialpad for DTMF sending
2021-01-13 13:07:27 +00:00
J. Ryan Stinnett
e6b774e8c9
Merge pull request #5539 from matrix-org/jryans/soft-logout-crash
Fix soft crash on soft logout page
2021-01-13 12:35:31 +00:00
J. Ryan Stinnett
a73fe72b09 Fix soft crash on soft logout page
This fixes a soft crash on the soft logout page, which can occur if it is shown
very quickly after app startup before encryption has become enabled.
2021-01-13 12:25:36 +00:00
XoseM
b1016275dc Translated using Weblate (Galician)
Currently translated at 100.0% (2728 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-01-13 11:55:53 +00:00
Kaede
8c50f21cea Translated using Weblate (Japanese)
Currently translated at 50.4% (1377 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-01-13 11:55:50 +00:00
random
8dce30cb60 Translated using Weblate (Italian)
Currently translated at 100.0% (2728 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-01-13 11:55:45 +00:00
m4sk1n
e62611ae0e Translated using Weblate (Polish)
Currently translated at 70.1% (1914 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2021-01-13 11:55:42 +00:00
GokdenizK
67d19d19a4 Translated using Weblate (Turkish)
Currently translated at 76.8% (2097 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tr/
2021-01-13 11:55:40 +00:00
LinAGKar
355ea6ad42 Translated using Weblate (Swedish)
Currently translated at 100.0% (2728 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-01-13 11:55:36 +00:00
Miquel Lionel
2ab7db3bc9 Translated using Weblate (French)
Currently translated at 95.3% (2602 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-01-13 11:55:32 +00:00
Priit Jõerüüt
fb4aae97da Translated using Weblate (Estonian)
Currently translated at 100.0% (2728 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-01-12 18:00:41 +00:00
waclaw66
d3bd6c7d3a Translated using Weblate (Czech)
Currently translated at 100.0% (2728 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-01-12 18:00:39 +00:00
GokdenizK
5ab2a9cd8a Translated using Weblate (Turkish)
Currently translated at 76.4% (2086 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tr/
2021-01-12 18:00:37 +00:00
Jeff Huang
e65e252cea Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2728 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-01-12 18:00:29 +00:00
Miquel Lionel
0a61025ead Translated using Weblate (French)
Currently translated at 94.5% (2579 of 2728 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-01-12 18:00:26 +00:00
Weblate
e48383bc66 Merge branch 'origin/develop' into Weblate. 2021-01-11 18:00:20 +00:00
Miquel Lionel
d04aea5cf0 Translated using Weblate (French)
Currently translated at 86.6% (2359 of 2721 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-01-11 18:00:20 +00:00
Travis Ralston
a8d878dc48
Merge pull request #5528 from matrix-org/travis/widget-devtools
Add a basic widget explorer to devtools (per-room)
2021-01-11 11:00:08 -07:00
Weblate
0290ae79dd Merge branch 'origin/develop' into Weblate. 2021-01-11 17:13:44 +00:00