Implement the SpaceAddRoomsScreen. (#4951)

* Update proxies ready for adding rooms to a space.

- ClientProxy.recentlyVisitedRooms to take a filter and to return room proxies.
- Expose SpaceServiceProxy.addChildToSpace.

* Implement the SpaceAddRoomsScreen.

* Fix the designs of the selected carousels.

Add more snapshot tests for inviting users.

* Fix for screen using wrong avatar size.
This commit is contained in:
Doug
2026-01-14 12:07:57 +00:00
committed by GitHub
parent 530e249eee
commit cde9714a83
61 changed files with 1060 additions and 102 deletions
@@ -935,6 +935,18 @@ extension PreviewTests {
}
}
func testSpaceAddRoomsScreenSelectedItem() async throws {
for (index, preview) in SpaceAddRoomsScreenSelectedItem_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}
}
func testSpaceAddRoomsScreen() async throws {
for (index, preview) in SpaceAddRoomsScreen_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}
}
func testSpaceHeaderTopicSheetView() async throws {
for (index, preview) in SpaceHeaderTopicSheetView_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c8a17622e1808e4e04595ae735f1a816b006f7e93fe6ce206012cf70a3973ba
size 95295
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77ba4947cce3c29021ae45097310ff21b042db8a78df79fbb63361ea0f0a92ee
size 96407
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bb157b40a5b3c661e8ad56e8d4cebdb99d617fd5a2df3dfb789dfc6617593d2
size 47349
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d1a65e7c5c35361fd5432973ee4e0e27d2d4469a2fbbe2c8313945e58faf59b
size 48140
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05f1346428ed2f7d7c74085b5344af4959d94987f3227b7d0249ad3cc66a69d0
size 152502
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c05034b8598c10d9eec2abdf3c4530d0a80d35301d30aa8972351fa7e7315f5
size 157015
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e48b453eb68a1b00d72821a72db0d4e48c001366db6ee047cb7048ba330878e
size 99439
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb9bd700fd06d334cdf3fcae0748949e1b01972e04f39ca3c1b47418a72211cf
size 102327
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b96b85d9a091da9515212b02ecdac23b23f2f4c9e5a1ee8e9bc68378a796cb3
size 152293
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:117598d6b54d6bd68492fd14f091ff3a436ec920d4e8ac62f83ebb899a66a334
size 156696
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c289a72830e07fb6947359554c10287fcd3fbc942eee4ac72feb5c7b89788ab7
size 97764
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45d5e8de16f1f09fc35a036fd093bd9704b6dbd1a190d13e79c777f08f0cff63
size 100909
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:434c23652179a0f47f34c44a053a38bd3beb1c4096ea2834874bc4b66fc346f6
size 84974
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21e5aa2415e7c955b9467670cf7b04f558d22f507dc964f23d062de436f5cc40
size 87164
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a74bd068ad6c4b5a8eb75a985ab7eaf1b635775550bd27200be6862787d6b165
size 37478
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a960dab5b3fe7a34ebac4e82547da455b59f4933b92e02c3d5948065112127a
size 39431
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c8cb1e58a5d450687711d0c4d6c50f9d356cb6c13b708afdc60c01ce659da94
size 82063
oid sha256:845647b79b7e8a9dbc0c821e255955211c802962a6aeb82d989efa1011b12694
size 80334
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0c8cb1e58a5d450687711d0c4d6c50f9d356cb6c13b708afdc60c01ce659da94
size 82063
oid sha256:845647b79b7e8a9dbc0c821e255955211c802962a6aeb82d989efa1011b12694
size 80334
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffe5449c6e7cf1ec06cfc0f28384eb518f72428cb6ff1973bb2dc47d940b52b3
size 40880
oid sha256:7a9483757bdac9b61b0185d74f4806c2e453f9808c321cf602e7268b2a55ac0d
size 38752
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffe5449c6e7cf1ec06cfc0f28384eb518f72428cb6ff1973bb2dc47d940b52b3
size 40880
oid sha256:7a9483757bdac9b61b0185d74f4806c2e453f9808c321cf602e7268b2a55ac0d
size 38752
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2542f602ecee4f2d327f87cca3656668a11a5dfb8c314f0e025654735fb814f5
size 154536
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:809cd3553dfc643ead51a82d7d2f117254eeca2c8140a1c733f3c8f9cb636678
size 164046
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca5a42f19e835b09bf57b8877a1c16f5c0b0224273627bb86319ba34dd829b3a
size 104977
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c5e0790b78b8f5146e8a5a4e13bb4102723cc60833eed5e5e991a729c1fbe3d
size 118489
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1cfd4a43c5f818d2784e81eff1635b4c6e34762ce4e0ab9dd5ad300096605473
size 153553
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:258b82ac769425e6d2c046a56211d8aa4db6302d23a836d20b0ce4cffc6852b0
size 163527
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ed5f04fd87c815d536186cf1b310d660a46c7834cd541cd49f0c1ffaf44c853
size 104775
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f78431c2ddabed00050be82c2d14dd3ecb03e046fa851fefe9f381571dd31cb
size 119550
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1c1b9c2f983ec86c4a71bcb7e7da886a1c7f0bfb6b9186baba6474773d0599f
size 129646
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd41b949329959d0c082dd5b60c71d6da161172e6f397bc2d8eadda2eb29b35c
size 143822
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c8d108cc02176cb6a19a5fc3232386c6adbda5e1f68a8b1b139773b97188d41c
size 82794
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f4f391142890de5d409a80aae05256c5a4613fd57ff9f2cdf994d88b6295d48
size 100348
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6672ff79b23918ee6eb1a748f3419085913e36322e004875f62fbf3d418bbdec
size 94278
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6672ff79b23918ee6eb1a748f3419085913e36322e004875f62fbf3d418bbdec
size 94278
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6340eba7de896583a74ef9d1522401266448423657ddcea3f5ce39d3214de9c
size 52513
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6340eba7de896583a74ef9d1522401266448423657ddcea3f5ce39d3214de9c
size 52513