Andy Balaam and GitHub
37d2b7b17b
Support dynamic room predecessors in AddExistingToSpaceDialog ( #10342 )
2023-03-09 17:17:28 +00:00
Michael Telatyński and GitHub
f40d15388c
Update tests to prefer RTL over Enzyme ( #10247
...
* Update tests to prefer RTL over Enzyme
* Strict types
2023-02-28 08:58:23 +00:00
Kerry and GitHub
dd6fc124d7
Apply strictNullChecks to src/components/views/location/* ( #10249
...
* strict fixes
* accessiblebutton without onClick explicit
* strict fix for UserMenu BaseAvatar
2023-02-28 08:55:59 +00:00
Michael Telatynski and GitHub
c29e5f18ff
Update usages of test utilities preferring RTL ( #10203 )
2023-02-22 10:52:55 +00:00
Michael Telatynski and GitHub
145a5a8a8d
Conform more code to strict null checking ( #10153 )
...
* Conform more code to strict null checking
* Conform more code to strict null checking
* Iterate
* Iterate
2023-02-15 13:36:22 +00:00
Michael Telatynski and GitHub
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
alunturner and GitHub
6d2d13fdee
Enzyme to rtl: QuickThemeSwitcher ( #9843 )
2022-12-29 12:44:18 +00:00
Michael Weimann and GitHub
5912c7a637
Replace broadcast instance with SDKContext ( #9824 )
2022-12-27 08:39:26 +01:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Germain and GitHub
3a501003e2
Add setting to hide bold notifications ( #9705 )
2022-12-06 09:59:17 +00:00
Germain and GitHub
7b5e73207f
Fix SpaceTreeLevel enzyme test ( #9602 )
2022-11-22 09:53:33 +00:00
Michael Telatynski and GitHub
13db1b17be
Prevent useContextMenu isOpen from being true if the button ref goes away ( #9418 )
2022-10-17 17:42:04 +01:00
Michael Weimann and GitHub
27ba1e57e6
Update matrix-org/react (enzyme deprecation) ( #9116 )
2022-08-02 15:10:43 +02:00
Travis Ralston and GitHub
e87bda9f37
Add an option to ignore (block) a user when reporting their events ( #8471 )
...
* Add an option to ignore (block) a user when reporting their events
This is primarily useful if the content being reported really doesn't belong on your screen, and the room moderators are slow to react.
Ideally we'd use the word "block" instead of "ignore", but we call it "ignore user" everywhere else. See https://github.com/vector-im/element-web/issues/19590 for further context on the word choice.
This change includes a minor refactor to the styles of labelled toggles (for reusability).
* Appease the linter
* Use a checkbox instead of toggle in the dialog
* Update classnames handling for toggle switch
* Appease the linter
2022-05-18 16:20:55 +00:00
Robin and GitHub
796e12e789
Go to space landing page when clicking on a selected space ( #6442 )
...
* Go to space landing page when clicking on a selected space
Signed-off-by: Robin Townsend <robin@robin.town >
* Go to home landing page when clicking on selected home space
Signed-off-by: Robin Townsend <robin@robin.town >
* Remove metaspace behavior
* Add tests
* Use the dispatcher action enum
* Break up the onClick assignment
2022-05-17 13:22:35 +00:00
Kerry and GitHub
2c19d286ed
Eslint - require copyright header rule ( #8514 )
...
* bump eslint plugin to 0.5.2
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add rule
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add missing copyright headers
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix comment order
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-05-06 09:09:28 +00:00
Travis Ralston
a987ead7d2
Step 8.1: Remove skinning setup from all tests
2022-03-28 14:02:31 -06:00
Robin and GitHub
3317b60437
Improve typing around wrapInMatrixClientContext ( #8130 )
2022-03-23 18:13:40 -04:00
Kerry and GitHub
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
Michael Telatynski and GitHub
f25e6813bb
Mandate use of js-sdk/src/matrix import over js-sdk/src ( #7933 )
2022-03-01 20:42:05 +00:00
Šimon Brandner and GitHub
df591ee835
Make everything use the KeyBindingManager ( #7907 )
2022-02-28 16:05:52 +00:00
Kerry and GitHub
f4cd71fd47
Check 'useSystemTheme' in quick settings theme switcher ( #7809 )
...
* mock Element.scrollIntoView in jest setup
Signed-off-by: Kerry Archibald <kerrya@element.io >
* extract theme switcher from quick settings, add match system option, test
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* forgotten copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove old class
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-02-24 10:01:06 +01:00
Kerry and GitHub
5e76d988ca
convert test-utils to typescript ( #7877 )
...
* move js utils into directory
Signed-off-by: Kerry Archibald <kerrya@element.io >
* typescripterize js test-utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move test utils to directory
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move remaining mock functions to directory
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update imports
Signed-off-by: Kerry Archibald <kerrya@element.io >
* missed copyright
Signed-off-by: Kerry Archibald <kerrya@element.io >
* type wait for update
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-02-23 11:21:11 +00:00
Kerry and GitHub
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
Kerry and GitHub
b1066a5699
Wrap inputs in fieldsets in Space visibility settings ( #7350 )
...
* use fieldset in space settings > visibility
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add basic tests for space setttings visibility
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix toggle button placement
Signed-off-by: Kerry Archibald <kerrya@element.io >
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update settings separator color to quinary
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-01-06 10:09:26 +00:00