Commit Graph

63259 Commits

Author SHA1 Message Date
Florian Duros
3cf4c57490 filter test 2025-03-04 16:12:48 +01:00
Florian Duros
e32964004c test(e2e): update room panel tests 2025-03-03 12:31:46 +01:00
Florian Duros
6f6a21448d test(e2e): add room list tests 2025-03-03 12:31:46 +01:00
Florian Duros
d8f48341d2 test(new room list): add test to virtualized room list 2025-03-03 12:31:46 +01:00
Florian Duros
463249bc8b test(new room list): update room list panel tests 2025-03-03 12:00:56 +01:00
Florian Duros
7f4a142158 test(new room list): add test for room cell 2025-03-03 11:59:46 +01:00
Florian Duros
aa0dc11e68 draft 2025-03-03 11:59:46 +01:00
Florian Duros
4beeffcdeb chore: make the room list panel a flexbox 2025-03-03 14:56:22 +05:30
R Midhun Suresh
3719642250 Add more vm functionality
- Listen for updates from the store
- Provide a method to open rooms
2025-03-03 14:47:27 +05:30
R Midhun Suresh
19ed3e9770 Fix broken jest tests 2025-03-03 14:40:34 +05:30
R Midhun Suresh
c254ae050e Implement a way to filter by active space
Implement a way to filter by active space
2025-03-03 14:40:25 +05:30
R Midhun Suresh
b0937897ab Add method to await space store setup
Otherwise, the room list store will get incorrect information about
spaces and thus will produce an incorrect roomlist.
2025-03-03 14:39:16 +05:30
R Midhun Suresh
2c41ade8cf Add more tests 2025-03-02 18:52:06 +05:30
R Midhun Suresh
6b61ba97ea Remove more redundant code 2025-03-02 18:51:53 +05:30
R Midhun Suresh
c989bbfcd6 Fix test 2025-03-02 18:18:24 +05:30
R Midhun Suresh
9fae0012c8 Remove redundant code
On a timeline action, we return early if payload.room is falsy.
So then why do we need to retry fetching the room?
I think this can be removed but will ask others if there's some
conext I'm missing.
2025-03-02 18:16:43 +05:30
R Midhun Suresh
9f0f7826a0 Add more tests 2025-03-02 17:39:52 +05:30
R Midhun Suresh
44a867ffc0 Make code more readable
- Make if/else more consistent
- Add comment on findAndAddRoom()
2025-03-02 17:18:17 +05:30
R Midhun Suresh
35a9cbe3ff Add newlines between case blocks 2025-03-02 16:41:50 +05:30
R Midhun Suresh
0fe02600ad Add more tests 2025-03-02 16:41:49 +05:30
R Midhun Suresh
87d8ef7037 Update the store on action 2025-03-02 16:41:46 +05:30
R Midhun Suresh
a7817e5e98 Add more docs 2025-03-02 16:35:25 +05:30
R Midhun Suresh
cf50965e9e Add more documentation 2025-03-02 16:24:02 +05:30
R Midhun Suresh
67ed03fad8 Add some jsdoc comments 2025-03-02 16:24:01 +05:30
R Midhun Suresh
3da4576e10 Write more tests 2025-03-02 16:24:01 +05:30
R Midhun Suresh
06d9852f50 Add some basic tests for the store 2025-03-02 16:24:00 +05:30
R Midhun Suresh
db25c0d824 Fix CI 2025-03-02 16:23:59 +05:30
R Midhun Suresh
d1152351c7 Create a minimal view model 2025-03-02 16:23:59 +05:30
R Midhun Suresh
80604111b6 Create a new room list store that wraps around the skip list 2025-03-02 16:23:58 +05:30
R Midhun Suresh
933fa086f2 Remove the store class
Probably best to include this PR with the minimal vm implmentation
2025-03-02 16:23:57 +05:30
R Midhun Suresh
757cd88bb7 Don't attach to window object
We don't want the store to be created if the labs flag is off
2025-03-02 16:23:56 +05:30
R Midhun Suresh
257cd9e4ea Make it possible to swap sorting algorithm 2025-03-02 16:23:56 +05:30
R Midhun Suresh
199ab71fce Implement enough of the new store to get a list of rooms 2025-03-02 16:23:54 +05:30
ElementRobot
dfd08a8c01 Playwright Docker image updates (#29355)
* [create-pull-request] automated change

* Update synapse.ts

* Update synapse.ts

---------

Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-02-28 11:32:53 +00:00
Florian Duros
7db909a47d new room list: keep space name in one line in header (#29369)
* fix(new room list): keep space name in one line in header

* test(new room list): update tests
2025-02-28 08:34:06 +00:00
ElementRobot
1ad1387e05 [create-pull-request] automated change (#29389)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-02-28 06:21:55 +00:00
Michael Telatynski
c6b3bf962a Enable babel plugins to enable js-sdk to use decorators (#29376)
* Enable @babel/plugin-proposal-decorators

Only needed because we consume js-sdk code directly so its own transpiling isn't in play

This should separately be fixed, we should not need to have a superset of js-sdk's babel plugins

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-02-27 14:20:01 +00:00
Florian Duros
e749b017c9 refactor: rename mx_RoomList as mx_LegacyRoomList (#29362) 2025-02-27 13:34:54 +00:00
RiotRobot
c00262f0c5 Merge branch 'master' into develop 2025-02-27 13:19:26 +00:00
RiotRobot
7a513a2dc2 v1.11.94 v1.11.94 2025-02-27 13:16:17 +00:00
ElementRobot
808412c6be fix: /tmp/element-web-config may already exist preventing the container from booting up (#29372) (#29377)
* fix: /tmp/element-web-config may already exist preventing the container from booting up

* Update docker/docker-entrypoint.d/18-load-element-modules.sh

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
(cherry picked from commit 45497905be)

Co-authored-by: Itay Grudev <itay+github.com@grudev.com>
2025-02-27 12:41:59 +00:00
Itay Grudev
45497905be fix: /tmp/element-web-config may already exist preventing the container from booting up (#29372)
* fix: /tmp/element-web-config may already exist preventing the container from booting up

* Update docker/docker-entrypoint.d/18-load-element-modules.sh

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-02-27 12:13:23 +00:00
Florian Duros
0997e0a747 refactor: rename RoomListView as RoomListPanel (#29361) 2025-02-26 11:14:04 +00:00
ElementRobot
6173c1224b [create-pull-request] automated change (#29364)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-02-26 06:23:19 +00:00
Florian Duros
f95218e2b7 New room list: add space menu in room header (#29352)
* feat(new room list): add space menu in view model

* test(new room list): add space menu in view model

* feat(new room list): add space menu in room list header

* chore: update i18n

* test(new room list): add tests for space menu

* test(new room list): update room list tests

* test(e2e): add tests for space menu
2025-02-25 14:06:01 +00:00
Hubert Chathi
62a287219d add test to ensure that dehydrated device gets removed on identity reset (#29354) 2025-02-25 13:46:57 +00:00
RiotRobot
db45a17d43 Reset matrix-js-sdk back to develop branch 2025-02-25 13:46:58 +00:00
RiotRobot
9b1de5634d Merge branch 'master' into develop 2025-02-25 13:46:45 +00:00
RiotRobot
230e26e1ab v1.11.93 v1.11.93 2025-02-25 13:27:04 +00:00
Michael Telatynski
cf5ffacff2 Upgrade dependency to matrix-js-sdk@37.0.0 2025-02-25 13:17:51 +00:00