Commit graph

29177 commits

Author SHA1 Message Date
Travis Ralston
294c35347c Ensure widgets are destroyed cleanly when minimized
Fixes https://github.com/vector-im/element-web/issues/15444 (an artifact of joining a call then minimizing the widget)

Also fixes other issues relating to widgets not loading when being minimized/maximized.
2020-10-13 14:55:44 -06:00
Travis Ralston
40038a6100 Run templating on the popout URL too
Fixes https://github.com/vector-im/element-web/issues/15443
2020-10-13 14:54:02 -06:00
Michael Telatynski
20cc3911ed switch form global to window
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 18:48:02 +01:00
Michael Telatynski
cace3fd8aa TS conversion exports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:40:34 +01:00
Michael Telatynski
5a2eda260d Convert DateUtils to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:39:58 +01:00
Michael Telatynski
9396f98f2b Convert email to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:39:38 +01:00
Michael Telatynski
9cfc075d68 Convert Presence to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:39:29 +01:00
Michael Telatynski
a94c899c0a Convert Roles to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:39:13 +01:00
Michael Telatynski
dd8cac307c Convert shouldHideEvent to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:38:59 +01:00
Michael Telatynski
ee4f75cb6e Convert UserActivity to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:38:49 +01:00
Michael Telatynski
1a4a866820 Convert Avatar to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:38:33 +01:00
Michael Telatynski
f26a842ff3 Convert WhoIsTyping to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:37:06 +01:00
Michael Telatynski
8e401cff05 Convert Analytics to TS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:36:50 +01:00
Michael Telatynski
17ed333beb Replace extend with Object.assign
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 17:36:40 +01:00
Arsh Sharma
4baf3b8deb error fix in PreferencesUserSettingsTab.js 2020-10-13 21:26:08 +05:30
Arsh Sharma
3bdb6606de fix(LeftPanel.tsx): fix 2 for linting errors 2020-10-13 21:07:18 +05:30
Arsh Sharma
fa88eea274 fix(LeftPanel.tsx): fix for linting errors 2020-10-13 20:56:28 +05:30
Michael Telatynski
bb52bad099 Remove stale props and CSS classes
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 16:23:49 +01:00
Michael Telatynski
a2b61796af Improve LHS resize performance
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 16:20:54 +01:00
Michael Telatynski
758a4b79ce stash
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 16:18:02 +01:00
Michael Telatynski
447ea9eb23 Relax flexboxes in resizer on window resize
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 16:11:58 +01:00
Damir Jelić
860b1b46e0 event-index: Use camel case for the user/device id. 2020-10-13 17:03:58 +02:00
Michael Telatynski
ba21c6ed36 Iterate on Widget icons and resizing handles
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 15:56:53 +01:00
Damir Jelić
5989a21dfb event-index: Pass the user/device id pair when initializing the event index. 2020-10-13 16:34:25 +02:00
David Baker
54babddb38 Support glare for VoIP calls
The js-sdk supports glare but we didn't support it, which means the
js-sdk will still do glare but we didn't know about it, leaving the
UI in horribly broken states where the js-sdk would be on a call but
the app didn't think it was.

Fixes https://github.com/vector-im/element-web/issues/5770
2020-10-13 15:08:23 +01:00
Michael Telatynski
a1d25efceb Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
 Conflicts:
	src/components/structures/RoomView.tsx
2020-10-13 13:45:22 +01:00
Arsh Sharma
357579d6ba fixed errors in leftpanel.tsx 2020-10-13 17:04:39 +05:30
Michael Telatynski
7be5ff0fe6 First cut of app drawer tiled resizing
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 12:29:12 +01:00
Michael Telatynski
1a45d18b94 Iterate the resizer
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 12:28:23 +01:00
Michael Telatynski
f72b1e0c7d Remove stale things
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 12:27:50 +01:00
Weblate
d4c987060c Merge branch 'origin/develop' into Weblate. 2020-10-13 11:24:14 +00:00
LinAGKar
ddaa80c230 Translated using Weblate (Swedish)
Currently translated at 100.0% (2359 of 2359 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/sv/
2020-10-13 11:24:14 +00:00
David Baker
4425ae30e9
Merge pull request #5310 from matrix-org/dbkr/fix_rogue_half_call_bar
Fix rogue (partial) call bar
2020-10-13 12:24:10 +01:00
David Baker
4c11a82fef Fix rogue (partial) call bar
Call state is now null if there is no call, so check for that too
2020-10-13 12:16:15 +01:00
Weblate
8420b06cfa Merge branch 'origin/develop' into Weblate. 2020-10-13 09:39:21 +00:00
@a2sc:matrix.org
a918163221 Translated using Weblate (German)
Currently translated at 99.9% (2354 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/de/
2020-10-13 09:39:21 +00:00
David Baker
40ba342aa2
Merge pull request #5308 from matrix-org/dbkr/call_state_machine
Rewrite call state machine
2020-10-13 10:39:15 +01:00
Michael Telatynski
afacf8c6b7 Improve LHS resize performance
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-13 10:30:52 +01:00
David Baker
ed9584bbac Comment scoping block 2020-10-13 09:55:03 +01:00
Michael Telatynski
340e79179e Convert Resizer to Typescript and create a Percentage based sizer
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-12 16:47:04 +01:00
Weblate
505f3a8ba4 Merge branch 'origin/develop' into Weblate. 2020-10-12 12:40:36 +00:00
RiotRobot
d007b06d7c Reset matrix-js-sdk back to develop branch 2020-10-12 13:40:23 +01:00
RiotRobot
ddd3d97b71 Merge branch 'master' into develop 2020-10-12 13:39:18 +01:00
RiotRobot
2242e6b8c6 v3.6.0 2020-10-12 13:36:52 +01:00
RiotRobot
71e800abd1 Prepare changelog for v3.6.0 2020-10-12 13:36:52 +01:00
Michael Telatynski
c1fef5a941 Improve the styling
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-12 13:36:09 +01:00
RiotRobot
0ac4f21652 Upgrade matrix-js-sdk to 8.5.0 2020-10-12 13:24:53 +01:00
Michael Telatynski
7820f9c28a Switch to WidgetAvatar
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-12 13:16:55 +01:00
Weblate
d61795350d Merge branch 'origin/develop' into Weblate. 2020-10-12 10:41:20 +00:00
Vadim Nekhai
bb97e6ccdf Translated using Weblate (Ukrainian)
Currently translated at 51.1% (1204 of 2355 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/element-web/matrix-react-sdk/uk/
2020-10-12 10:41:20 +00:00