Michael Telatynski
482d756bd0
Ensure EventListSummary key does not change during backpagination ( #7915 )
4 years ago
Kerry
889b0cebb2
Fix 'my threads' filtering to include participated threads ( #7882 )
...
* 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>
* threads test helpers
Signed-off-by: Kerry Archibald <kerrya@element.io>
* forgotten copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix threads helper unsigned
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test filter creation when thread capabilities enabled
Signed-off-by: Kerry Archibald <kerrya@element.io>
4 years ago
Kerry
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>
4 years ago
Kerry
8b9263c808
Clean up some unit test logs ( #7857 )
...
* kill some unit test logs in arrays-test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove mock logs that are asserted against anyway
* remove more logs
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix safeCOunterpartTranslate warnings in tests
Signed-off-by: Kerry Archibald <kerrya@element.io>
* more safeCounterpartTranslate warnings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove more logs
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add helper
Signed-off-by: Kerry Archibald <kerrya@element.io>
* naming
Signed-off-by: Kerry Archibald <kerrya@element.io>
4 years ago
J. Ryan Stinnett
a939184e10
Tear down AppTile using lifecycle tracking ( #7833 )
4 years ago
J. Ryan Stinnett
0dc1355441
Fix right panel data flow ( #7811 )
4 years ago
Michael Telatynski
714136d4f7
Consolidate RedactionGrouper and HiddenEventGrouper into MELS ( #7739 )
4 years ago
Germain
544957bdad
Use typographical quotes in no threads UI ( #7713 )
4 years ago
Kerry
cb1c94dd2b
Fix leaks in Login unit tests ( #7704 )
...
* make Login-test tsx, fix leaks
Signed-off-by: Kerry Archibald <kerrya@element.io>
* missed lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
4 years ago
Michael Telatynski
f2249b3e37
Fix CallEventGrouper map building to not occur during a Render phase ( #7638 )
4 years ago
Michael Telatynski
3c1ce77d48
Properly maintain aspect ratio of inline images ( #7503 )
4 years ago
Eric Eastwood
9289c0c90f
Refactor `ContextMenu` to use `RovingTabIndex` (more consistent keyboard navigation accessibility) ( #7353 )
...
Split off from https://github.com/matrix-org/matrix-react-sdk/pull/7339
4 years ago
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
4 years ago
Kerry
697b5d28b3
fix leaking registration test ( #7304 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
4 years ago
Michael Telatynski
fe24c8ad2a
Improve ThreadPanel ctx menu accessibility ( #7217 )
4 years ago
Germain
38750202ee
Design thread list tiles according to mockups ( #7078 )
4 years ago
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
4 years ago
Dariusz Niemczyk
c31bd8c647
Remove unnecessary adapter in ThreadPanel-test.tsx ( #6946 )
4 years ago
Dariusz Niemczyk
562a880c7d
Create room threads list view ( #6904 )
...
Implement https://github.com/vector-im/element-web/issues/18957 following requirements:
* Create a new right panel view to list all the threads in a given room.
* Change ThreadView previous phase to be ThreadPanel rather than RoomSummary
* Implement local filters for My and All threads
In addition:
* Create a new TileShape for proper rendering requirements (hiding typing indicator)
* Create new timelineRenderingType for proper rendering requirements
4 years ago
Dariusz Niemczyk
bc336abf47
Fix missing snapshot serializer&enzyme init ( #6932 )
4 years ago
Michael Telatynski
f5630acea7
Adhere to better eslint rules
5 years ago
David Baker
08176beb58
Kill mock-clock
...
We already import sinon's one in UserActivitytest, so use that here too.
5 years ago
David Baker
543fe6382d
Fix linting in tests
...
Or in the case of one test, disbale just the one rule it breaks
5 years ago
David Baker
ee9be5438e
eslint --fix
5 years ago
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
5 years ago
Michael Telatynski
8a3dc1bbdf
fix tests
5 years ago
Germain Souquet
d492ee4d8a
Update Enzyme adapter name
5 years ago
Robin Townsend
0f64f4d692
Fix MessagePanel tests
...
Signed-off-by: Robin Townsend <robin@robin.town>
5 years ago
Šimon Brandner
1c92e31683
Add missing license header
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
5 years ago
Šimon Brandner
e0572acb14
Write tests for CallEventGrouper
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
5 years ago
Michael Telatynski
f11a7083ae
Switch to stable endpoint/fields for MSC2858
5 years ago
Germain Souquet
c428736191
Update MessagePanel test to account for new DOM structure
5 years ago
Travis Ralston
379d19e2e0
Lint
5 years ago
Ayush PS
2ad0032f72
Added regression tests for Natural headers
5 years ago
Ayush PS
d1f23fb994
Partially added the tests [WIP]
5 years ago
Travis Ralston
6ab235f10c
Fix tests for new call path
...
We have to mock `fetch` for the caching of the download icon, and then mock out all the function calls used by components to feed a Media object.
5 years ago
Travis Ralston
533c9fed64
Appease the linter
5 years ago
Travis Ralston
0dd4d45c49
Disable velocity mock option
...
This appears to have been removed in the beta
5 years ago
Michael Telatynski
2142a65a9b
delint
5 years ago
Michael Telatynski
4c2b6f410b
fix tests
5 years ago
Michael Telatynski
1b1c482f9c
Iterate tests
5 years ago
Michael Telatynski
4997676f5d
fix last remaining broken test
5 years ago
Michael Telatynski
ae2d9941ff
fix more tests
5 years ago
Michael Telatynski
54e41b5f32
fix tests
5 years ago
Michael Telatynski
72498df28f
Remove create-react-class
5 years ago
J. Ryan Stinnett
86f39ee0ee
Fix read marker visibility for grouped events
...
The recent "groupers" which extracted out timeline grouping logic forgot to
pass through the last event state for read marker computation. This causes the
read marker to become visible when e.g. returning to room if it was last placed
inside a grouped set of events (currently room creation and membership events).
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/4059
Related to https://github.com/vector-im/riot-web/issues/12338
6 years ago
Hubert Chathi
908ca6b6ef
add test for grouping room creation events
6 years ago
Travis Ralston
1e70af00a3
Fix GroupView test
...
It was counting the wrong number of updates for reasons I don't understand.
6 years ago
Travis Ralston
042bd35d79
Fix MatrixClientPeg imports
6 years ago
Michael Telatynski
937b32663c
Migrate away from Legacy React Contexts
6 years ago