Room list: remove unused sorting ManualAlgorithm (#32724)

* chore: remove unused `ManualAlgorithm`

In the old room list ui, we can"t manually sort the rooms or the
sections. Neither in a menu or by drag and drop

* fix: add `undefined` to `tagRoom` signature since the code allows it

* test: add tests to `RoomListActions`

* chore: remuve unuseful comment

* refactor: remove unused ``newIndex

* doc: remove typing in tsdoc
This commit is contained in:
Florian Duros
2026-03-09 09:52:52 +00:00
committed by GitHub
parent 00dd0c48ba
commit 3e77974fa0
11 changed files with 205 additions and 167 deletions
@@ -61,7 +61,6 @@ describe("tagRoom()", () => {
room,
DefaultTagID.LowPriority, // remove
DefaultTagID.Favourite, // add
0,
);
});
@@ -76,7 +75,6 @@ describe("tagRoom()", () => {
room,
DefaultTagID.Favourite, // remove
DefaultTagID.LowPriority, // add
0,
);
});
});
@@ -93,7 +91,6 @@ describe("tagRoom()", () => {
room,
DefaultTagID.Favourite, // remove
null, // add
0,
);
});
@@ -108,7 +105,6 @@ describe("tagRoom()", () => {
room,
DefaultTagID.Favourite, // remove
DefaultTagID.LowPriority, // add
0,
);
});
});
@@ -124,7 +120,6 @@ describe("tagRoom()", () => {
room,
DefaultTagID.LowPriority, // remove
DefaultTagID.Favourite, // add
0,
);
});
@@ -139,7 +134,6 @@ describe("tagRoom()", () => {
room,
DefaultTagID.LowPriority, // remove
null, // add
0,
);
});
});