Commit Graph
66 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
Daniel Abramov b68cd54049 Properly use sizeToClassName for a LinkButton 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
TimoandGitHub 7b19980a83 Disable mute button if media is not yet available. (#1218)
---------

Signed-off-by: Timo K <toger5@hotmail.de>
2023-07-10 12:26:47 +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
Robin Townsend 69099772e0 Make settings button icon size match designs 2023-05-22 15:12:41 -04:00
Robin Townsend cf1a7f2e21 Match settings modal to design nuances better 2023-05-22 15:12:41 -04:00
Šimon Brandner 0269753f59 Settings improvements
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-05-05 11:44:35 +02: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 acc41c532e Add URL params to control fonts
This was also a good chance to switch to the semantic font size names used in Compound.
2022-12-09 14:31:13 -05:00
David Baker 5c8562088d A couple of minor a11y fixes
Picked up by Axe
2022-11-04 18:31:21 +00:00
Robin Townsend 8524b9ecd6 Set up translation with i18next 2022-10-12 14:53:49 -04:00
Šimon Brandner c61bc46673 Use useCallback()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-08 20:05:44 +02:00
Šimon Brandner 7ca08f2f30 Add FullscreenButton
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-07 19:04:59 +02:00
Šimon BrandnerandGitHub 3de8f9077d Merge pull request #493 from vector-im/SimonBrandner/feat/volume-design 2022-08-02 18:00:50 +02:00
Šimon Brandner 93db217239 Update where we jump form icon to icon
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:31:16 +02:00
Šimon Brandner a150619d08 Make the button icon change
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:30:12 +02:00
Šimon Brandner 7d5fb5f041 Add VolumeIcon
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:29:32 +02:00
Šimon Brandner 005622800d Fix tooltip (again)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 13:50:47 +02:00
Šimon Brandner 130073689d Fix button tooltip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 12:38:09 +02:00
TimoandGitHub 2d99acabe2 typescript src/room (#437) 2022-08-02 00:46:16 +02:00
Šimon Brandner 44ce76bcb1 Get volume button inline with design
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 18:58:59 +02:00
TimoandGitHub 44b9bd0046 Merge pull request #485 from toger5/ts_Form+Home 2022-08-01 18:20:59 +02:00
Šimon Brandner 2537088099 Accompanying changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-30 10:06:28 +02:00
Šimon Brandner 304339f589 Improve TS around OptionsButton
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-28 08:15:32 +02:00
Timo K f26ab2f941 Merge branch 'main' into ts_Form+Home 2022-07-27 23:47:56 +02:00
Šimon Brandner eda8404144 Add UI for local volume control
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-15 11:18:56 +02:00
Timo K e17a7cedb6 form_home 2022-07-14 19:20:52 +02:00
David Baker 6eb77b7c2f Fix types 2022-07-08 14:56:00 +01:00
Timo K 5b58223f9d fix refs 2022-07-05 17:44:09 +02:00
Timo K 713136672a make className an optional param 2022-07-02 21:45:31 +02:00
Timo K 2e82960ae6 ButtonVariant ButtonSize 2022-07-02 21:20:53 +02:00
Timo K 18ca92cec4 js->ts 2022-06-11 23:21:20 +02:00
Timo K dc11814695 rename files js->ts 2022-06-11 15:23:33 +02:00
David Baker 9fc4fbc3e7 Icon / styling fixes + typo
* Use icon from compound
 * Use warning colour
 * Fix capitalisation
2022-06-10 12:06:06 +01:00
David Baker 1f5ac411f6 Add warning if incompatible versionsd are being used
This will probably be overly sensitive until we start timing out
member events (ie. https://github.com/matrix-org/matrix-js-sdk/pull/2446
lands) because lots of calls might have old member events from people
who've joined previously.
2022-06-09 21:56:58 +01:00
Robin Townsend 977016fbb2 Merge branch 'main' into organize-colors 2022-06-06 09:03:40 -04:00
Robin Townsend 8da492d00d Fix warning 2022-06-02 16:30:35 -04:00
Robin Townsend aa45261b0d Organize colors 2022-06-01 11:48:17 -04:00
Robin Townsend cbfd03f9c6 Add a dropdown to choose between video calls and radio calls 2022-05-26 13:52:06 -04:00
David Baker 85e3f3761a Add all the license headers 2022-05-04 17:09:48 +01:00
Robert Long b6c926d2c8 Additional in-room PTT styling 2022-04-27 16:47:23 -07:00
Robert Long 38f9a79bd3 Initial PTT designs 2022-04-22 18:05:48 -07:00
Robert Long 51a2027d64 Fix screenshare button styling 2022-02-15 12:58:55 -08:00
Robert Long 9c3e4907c8 Move join room button 2022-02-04 12:31:59 -08:00
Robert Long d7d38c1ba9 Fix button tooltips 2022-01-20 13:03:54 -08:00
Robert Long abae58489c Fix focus styles 2022-01-18 16:03:49 -08:00
Robert Long d4fec73d64 Revert filtering onClick in Button 2022-01-18 16:03:40 -08:00
Robert Long 251f6a92a9 Filter onClick from button props 2022-01-18 15:25:02 -08:00
Robert Long 6311a869f9 Fix button prop warnings 2022-01-18 14:25:02 -08:00