Michael Telatynski
b084ff2313
Prepare for repo merge
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00
R Midhun Suresh
91e84f7951
Upgrade to latest compound-web package ( #84 )
...
* Upgrade to latest compound-web package
* Use a custom render function for jest tests
This way we don't need to manually wrap our components with
<TooltipProvider>
* Pin wrap-ansi to fix broken yarn install
* Add playwright helper to find tooltip from element
and use it in the failing test
* Exclude floating-ui divs/spans from axe testing
This is rendered outside .MatrixChat by compound and contains all the
tooltips.
* Wrap outermost components with TooltipProvider
* Remove onChange and use onSelect for toggle
* Fix jest tests and update snapshots
* Use vector-im/matrix-wysiwig
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-14 16:11:58 +00:00
David Langley
491f0cd08a
Change license ( #13 )
...
* Copyright headers 1
* Licence headers 2
* Copyright Headers 3
* Copyright Headers 4
* Copyright Headers 5
* Copyright Headers 6
* Copyright headers 7
* Add copyright headers for html and config file
* Replace license files and update package.json
* Update with CLA
* lint
2024-09-09 13:57:16 +00:00
Florian Duros
33a017b528
New theme ui in user settings ( #12576 )
...
* Add hook to get the theme
* Adapt subsection settings to new ui
* WIP new theme subsection
* Add theme selection
* Fix test types
* Disabled theme selector when system theme is used
* Update compound to `4.4.1`
* Add custom theme support
* Remove old ThemChoicePanel
* Fix QuickThemeSwitcher-test.tsx
* Fix AppearanceUserSettingsTab-test.tsx
* Update i18n
* Fix ThemeChoicePanel-test.tsx
* Update `@vector-im/compound-web`
* Small tweaks
* Fix CSS comments and use compound variable
* Remove custom theme title
* i18n: update
* test: add tests to theme selection
* test: update AppearanceUserSettingsTab-test snapshot
* test: rework custom theme
* playwright: fix audio-player.spec.ts
* playwright: appearance tab
* test: update snapshot
* playright: add custom theme
* i18n: use correct char for ellipsis
* a11y: add missing aria-label to delete button
* dialog: update close button tooltip
* theme: remove local state and handle custom delete
* theme: don't add twice the same custom theme
* test: update snapshot
* playwright: update snapshot
* custom theme: add background to custom theme list
* update compound web
* Use new destructive property on `IconButton` of theme panel
* test: update snapshots
* rename new ui into legacy
* remove wrong constructor doc
* fix theme selector padding
* theme selector: fix key
* test: fix e2e
2024-06-26 15:47:01 +00:00
Michael Telatynski
57a0d99dc8
Improve randomString mock for better snapshots ( #11375 )
2023-08-09 09:39:48 +01:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Germain
38dbe8ed33
Migrate some tests to React Testing Library ( #9584 )
2022-11-18 09:16:11 +00:00
Michael Weimann
27ba1e57e6
Update matrix-org/react (enzyme deprecation) ( #9116 )
2022-08-02 15:10:43 +02:00
Travis Ralston
a987ead7d2
Step 8.1: Remove skinning setup from all tests
2022-03-28 14:02:31 -06:00
Kerry
abc225d3c6
Unit test tsc fixes part 15 ( #8104 )
...
* fix ts issues in MPollBody test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix ts issues in PollCreateDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix settings components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix DateSeparator
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix loosies
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tsconfig
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-22 11:32:35 +01:00
Kerry
818fddd72c
Add customisation point to disable space creation ( #7766 )
...
* mock matchMedia in jest setup
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use UIComponent.CreateSpaces in space panel
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* hide add space in spacecontextmenu
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use UIComponent customistations in space oom view add space button
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-09 17:21:40 +01:00
Andy Balaam
4b903b9fbd
Break ThemeChoicePanel into a separate component ( #6998 )
...
* Break ThemeChoicePanel into a separate component
* Tests for ThemeChoicePanel
* i18n fixes
* Fix copyright for ThemeChoicePanel
2021-10-20 14:58:27 +00:00