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
Andy Balaam
d3c0435446
Adept KnownMembership imports for new location in types
2024-03-18 14:43:08 +00:00
Andy Balaam
34559d2a89
Adapt Membership usage for the change to an enum KnownMembership
2024-03-18 14:43:08 +00:00
Stanislav Demydiuk
da99bad7b9
Introduce Membership type
2024-03-18 14:43:08 +00:00
Michael Telatynski
6b46d6e4f8
Add MatrixClientPeg::safeGet and use it in tests ( #10985 )
2023-06-05 18:12:23 +01:00
Michael Weimann
5398db21ad
Add ESLint Jest ( #10261 )
2023-03-01 16:23:35 +01:00
Michael Telatyński
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
Michael Telatynski
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Michael Telatynski
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
Germain
2d2755d145
🧵 Enable threads by default ( #9736 )
...
* Delabs threads
* remove threads reload when labs is toggled
* Fix ts strict
* fix rebase mistake
* remove .only
* fix pr comments
* re-introduce backwards compat
* Fix export test
* Fix SearchREsultTile test
* strict ts
2022-12-13 15:09:15 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
52fc8ff255
Fix html export not including images ( #9260 )
...
* Fix html export not including images
* Respect showPlaceholder
* Add tests
2022-09-08 10:00:58 +00:00
Travis Ralston
a987ead7d2
Step 8.1: Remove skinning setup from all tests
2022-03-28 14:02:31 -06:00
Germain
4e4ce65f58
Use redaction enum event type rather than hardcoded string ( #8071 )
2022-03-17 18:38:29 +01:00
Kerry
9082e07ff4
include test/utils in tsconfig ( #8024 )
...
* fix export-test.tsx
Signed-off-by: Kerry Archibald <kerrya@element.io>
* include test/utils to tsconfig
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-10 18:15:31 +00:00
Michael Telatynski
f25e6813bb
Mandate use of js-sdk/src/matrix import over js-sdk/src ( #7933 )
2022-03-01 20:42:05 +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
Aaron Raimist
027b3660bb
Manual fixes
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:49:12 -05:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Jaiwanth
7207329c15
Apply review suggestions
2021-08-13 23:44:07 +05:30
Jaiwanth
9cbdc4a613
Use throw error instead of try-catch
2021-08-13 08:34:54 +05:30
Jaiwanth
edfc8af6cf
Apply PR Suggestions
2021-08-13 08:30:50 +05:30
Jaiwanth
e396dcfb10
Remove @types/streamsaver
2021-08-10 13:22:40 +05:30
Jaiwanth
ecf0aba97c
Test for different types of events
2021-08-10 12:25:51 +05:30
Jaiwanth
900accd823
Add test for renderToString
2021-08-09 13:25:32 +05:30
Jaiwanth
850b5452a0
Add tests for reply regex
2021-08-09 12:36:06 +05:30
Jaiwanth
c74d6c6fff
Assign replacements
2021-08-04 12:48:32 +05:30
Jaiwanth
b333612dea
Fix comparing MB -> bytes
2021-08-03 14:53:23 +05:30
Jaiwanth
4824c93707
Add a test file
2021-08-03 14:36:21 +05:30