Commit Graph
86 Commits
Author SHA1 Message Date
Robin Townsend aa628cc63c Adopt the Compound color system
As a first step towards adopting the Compound design system and the new Element Call designs, this pulls in Compound's color tokens and applies them to all existing components. I've tried to choose tokens based on the semantics of where they're used, but in some cases, where the new and old design systems differ in semantics, it was necessary to choose tokens based on their resulting color. These hacks can be removed as we implement more of the new designs.

There were a set of environment variables that we used for custom themes, but Compound has way too many design tokens for that approach to still be a good idea, so I decided to replace them all with a single environment variable that just lets you write arbitrary custom CSS.
2023-08-28 17:14:40 -04:00
Šimon Brandner b4b33563be Fix joining an existing room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-16 15:13:28 +02:00
Šimon Brandner 5cd8c0538e Revert changes to JoinExistingCallModal
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-16 13:59:41 +02:00
Šimon Brandner 22690c4a0b Differentiate between E2EE and non-E2EE rooms by alias presence
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-11 17:00:05 +02:00
Šimon Brandner e246c053c1 Improve loading of passwords
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-11 16:57:55 +02:00
Šimon Brandner c86ef40162 Goodbye, aliases
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-11 13:25:09 +02:00
Šimon Brandner 466d7ee394 Don't allow joining existing calls with E2EE enabled
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-09 14:01:37 +02:00
Šimon Brandner 935d2188f0 Do not allow joining a call without E2EE key
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-09 14:01:36 +02:00
Šimon Brandner c4e5e1afb1 Save room shared keys to local storage
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-09 14:01:36 +02:00
Šimon Brandner 7ace81a7cc Make copy link button include a password
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-09 14:01:35 +02:00
Šimon Brandner 723819b3d6 Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-15 09:48:08 +02:00
Daniel Abramov f3de341a4b Remove unnecessary usage of a roomIdOrAlias
In most cases the `roomId` was used despite the name of the variable.
2023-07-11 16:02:58 +01:00
Daniel Abramov 2293cbf1f0 Use memoized callbacks when passing to components 2023-07-11 16:02:58 +01:00
Daniel Abramov 0105162ffa Enable strict lints
An attempt to fix https://github.com/vector-im/element-call/issues/1132
2023-07-11 16:02:58 +01:00
Šimon Brandner 3effa330f1 Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/eula-config
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-07 10:57:53 +02:00
Šimon BrandnerandGitHub bb1206dd2f Merge pull request #1193 from vector-im/SimonBrandner/feat/e2ee-banner 2023-07-07 10:53:40 +02:00
Šimon Brandner e52b3e6d53 Add EULA config
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 18:48:25 +02:00
Šimon Brandner c7258776c3 Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url 2023-07-06 11:59:13 +02:00
Šimon Brandner 3cef00b6b6 Add E2EE banner
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 11:10:00 +02:00
Šimon Brandner 0646f327df Change from TOC to EULA
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 08:43:00 +02:00
Šimon Brandner 0bba620451 Further id vs alias
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-03 19:32:25 +02:00
Šimon Brandner b08044c06d More fixes of id vs alias
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-03 19:30:38 +02:00
Šimon Brandner e1ef18093f Fix alias vs id + participants bug
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-03 19:23:26 +02:00
Šimon Brandner fdc41aaa50 Use friendly URLs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-03 16:20:19 +02:00
Robin Townsend 17450b4531 Fix big grid crashing due to missing React import
by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
2023-06-30 18:21:18 -04:00
Michael Kaye b19150bbba RegisteredView needs data tags as not reused from UnregisteredView. 2023-05-05 11:46:05 +01:00
Michael Kaye f7fc03cdc9 Initial cut of required tags for registration and login flows. 2023-05-03 14:42:44 +01:00
Michael Kaye 2318f2c4a0 prettier -w 2023-05-02 17:33:56 +01:00
Michael Kaye 323dba620d Add a range of data-testid tags to be able to cleanly identify parts of the application. 2023-04-27 09:42:25 +01:00
Robin Townsend 971eca59ff Opt into analytics by default during the beta 2023-03-13 19:12:47 -04:00
TimoandGitHub 0423a494c4 Checkbox for analytics opt in & settings redesign (#934) 2023-03-01 13:47:36 +01:00
David Baker 53bc8eb82f Behave sensibly if a full room alias is entered
Check explicitly to see if the room name that's enetered into the box
looks like a room alias and if so, do the sensible thing.

Fixes https://github.com/vector-im/element-call/issues/852
2023-02-28 13:50:24 +00:00
David Baker 1830acbddf Fix copyright pt. 2: CSS files 2023-01-03 16:58:38 +00:00
David Baker df9c1fed2a Fix copyright headers
This is an Element project (in the vector-im repo) so the Copyright
should be for New Vector: it was incorrectly attributed to the
foundation for some files (and some files were missing headers).
2023-01-03 16:55:26 +00:00
Robin Townsend 13def24f7e Enable users to join calls from multiple devices 2022-11-21 12:39:48 -05:00
David Baker 509fd65156 Fix close button on join call modal
It just errored as we didn't pass onClose through to the modal
2022-11-04 17:56:37 +00:00
Robin Townsend 8524b9ecd6 Set up translation with i18next 2022-10-12 14:53:49 -04:00
Robin Townsend 2b45cf1f67 Convert UnauthenticatedView to TypeScript 2022-08-18 18:48:24 -04:00
Robin Townsend ba4258aa89 Fix the call type selector 2022-08-18 18:48:17 -04:00
Robin Townsend 882eed0737 Remove top level matrix-js-sdk imports 2022-08-12 16:46:53 -04:00
TimoandGitHub 2d99acabe2 typescript src/room (#437) 2022-08-02 00:46:16 +02:00
Timo K cb5b3e9468 review changes 2022-07-29 15:07:35 +02:00
Timo K 3727bfb67f more types 2022-07-28 00:17:09 +02:00
Timo K f26ab2f941 Merge branch 'main' into ts_Form+Home 2022-07-27 23:47:56 +02:00
David Baker 32b37ed8f0 Fix 'cannot find room' error
We weren't waiting for rooms to arrive down the sync stream after
joining them but before trying to use them.

More regression details in linked issue.

Fixes https://github.com/vector-im/element-call/issues/477
2022-07-20 16:01:29 +01:00
Timo K e17a7cedb6 form_home 2022-07-14 19:20:52 +02:00
Matthew Hodgson 4f9efb3563 last minute s/radio call/walkie-talkie call/ig 2022-06-07 13:31:19 +01:00
Robin Townsend 977016fbb2 Merge branch 'main' into organize-colors 2022-06-06 09:03:40 -04:00
Robin Townsend aa45261b0d Organize colors 2022-06-01 11:48:17 -04:00
David Baker 626fdb9f79 Merge remote-tracking branch 'origin/main' into dbkr/matrix-utils-ts 2022-06-01 09:37:59 +01:00