Clark Fischer
4c1e4f5127
Fix "[object Promise]" appearing in HTML exports ( #9975 )
...
Fixes https://github.com/vector-im/element-web/issues/24272
2023-01-30 14:31:32 +00:00
Michael Telatynski
04bc8fb71c
Optimise Jest run in CI ( #9542 )
2022-11-04 10:48:08 +00:00
Kerry
d473b4ac4a
Device manager - confirm sign out of other sessions (PSG-921) ( #9487 )
...
* change testid attribute for dialog buttons to rtl friendly
* add confirm dialog for signing out sessions
* cleanup commented
* update cypress tets
* clear modals before test
* missing modal in jest tests on ci only
2022-10-25 10:39:48 +02:00
Michael Telatynski
8b54be6f48
Move from browser-request
to fetch
( #9345 )
2022-10-12 18:59:07 +01:00
Kerry
05cc5f62dd
test UserSettingsDialog ( #9118 )
2022-08-01 06:47:13 +00:00
Suguru Hirahara
464eb93a44
Fix visual bugs on AccessSecretStorageDialog ( #8160 )
...
* Remove duplicate mx_Dialog_buttons
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Group buttons on mx_Dialog with span
- Cancel default styling for elements inside .mx_AccessSecretStorageDialog_primaryContainer
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Move common rules of mx_Dialog_buttons_row to _common.scss
- Set 16px gap between buttons per https://github.com/vector-im/element-web/issues/19426#issuecomment-949778515
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Nesting - .mx_AccessSecretStorageDialog_reset
- Fix the reset link color
- Set $spacingStart variable
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Remove unnecessary rule
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2022-05-11 12:33:21 +00:00
Kerry
9db59d75b9
Bump react-focus-lock ( #7858 )
...
* react-focus-lock to 2.5.1
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use enzyme in ASSD test so focus lock finds active element
Signed-off-by: Kerry Archibald <kerrya@element.io >
* findById and flushPromises to test utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-02-21 17:09:01 +00:00
Michael Telatynski
5620b83d34
Wire up more Posthog tracking ( #7689 )
2022-02-09 14:25:58 +00:00
Kerry
085ecc7f5f
Chat export parameter customisation ( #7647 )
...
* use export settings and hide fields
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix exporter tests
Signed-off-by: Kerry Archibald <kerrya@element.io >
* test ExportDialog with settings
Signed-off-by: Kerry Archibald <kerrya@element.io >
* tidy debugs, rename setting to Parameters
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use reasonable 100gb limit
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use normal setting instead of UIFeature
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use a customisation
Signed-off-by: Kerry Archibald <kerrya@element.io >
* move validateNumberInRange to utils
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use nullish coalesce
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use 8gb size limit for customisation
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update comments
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-01-31 12:54:14 +01:00
Kerry
3eca71bc84
Unit test ExportDialog ( #7619 )
...
* add test ids to dialog buttons
Signed-off-by: Kerry Archibald <kerrya@element.io >
* unit test ExportDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove extra snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix bad snapshots
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove wrappers from snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-01-27 09:55:08 +01:00