Join room by address (#3840)

* Implemented join room by address

* improved the text field typing

* some improvements to how the text is edited

* remove navigation link

* moved room directory search to the start chat flow

* updated preview tests

* added unit tests and improved the code

* updated strings

* some pr suggestions:

- moving the file
- changing the name of the action
- reintroduce the debounce text queries
- add comments

* renamed the auth text field style to Element

updated tests
This commit is contained in:
Mauro
2025-02-28 13:35:15 +01:00
committed by GitHub
parent 2b58f57483
commit 7f6ea1c2ae
54 changed files with 611 additions and 340 deletions
@@ -149,6 +149,12 @@ extension PreviewTests {
}
}
func test_elementTextFieldStyle() async throws {
for preview in ElementTextFieldStyle_Previews._allPreviews {
try await assertSnapshots(matching: preview)
}
}
func test_emojiPickerScreenHeaderView() async throws {
for preview in EmojiPickerScreenHeaderView_Previews._allPreviews {
try await assertSnapshots(matching: preview)
@@ -317,6 +323,12 @@ extension PreviewTests {
}
}
func test_joinRoomByAddressView() async throws {
for preview in JoinRoomByAddressView_Previews._allPreviews {
try await assertSnapshots(matching: preview)
}
}
func test_joinRoomScreen() async throws {
for preview in JoinRoomScreen_Previews._allPreviews {
try await assertSnapshots(matching: preview)
@@ -647,12 +659,6 @@ extension PreviewTests {
}
}
func test_roomDirectorySearchView() async throws {
for preview in RoomDirectorySearchView_Previews._allPreviews {
try await assertSnapshots(matching: preview)
}
}
func test_roomHeaderView() async throws {
for preview in RoomHeaderView_Previews._allPreviews {
try await assertSnapshots(matching: preview)
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d70b6990d2e5b30be2fb6b2d77e99c36ea991988413cb9eea85df21c8cc1e87f
size 130748
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfbb5285937c97a49e6a1fb294af3812dd24b24b2468d9f23e4f738da30bb01a
size 134239
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11435b5e7c43b3f82305949a50612b47956a966b38483156deacdf1d0fce0a96
size 80327
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f682f709d87e02acb31f79961c25a54c103ee196ba737e49dbf59b62ed80d56d
size 83639
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ed827a1241328c2590775aff6c4590f6c138a52a59720c26a12b36f038d0d8e
size 85554
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b5eaff68a99823f23694cf25956308da24a7e9389719b8ac2bd8ef7fbe56c32
size 91105
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19b17304e85bc9d90b8e8cbfec9563a13199674abbbe114fa5e5211afc881292
size 42071
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f3804bf6226d2bf0b7c378dd1a2974fb5612ad8b75d957072e11447e6e1cbf6
size 48049
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b27b1d0c202e4e68b33e968c6d0e1323d38e06b831c1e7b4c54483af3c265ad7
size 94410
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70dae5ed165df76d10601222a281b154dbc9524f46dfba27e60425ecd33b39c1
size 96554
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cdd1ad6f323ae9458d88e4e88fd7802171348477114e71a9301dbc6046e8671a
size 43627
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d9b252d8d0be84d5cb25c507f46a15e6001600c52c3bee0edce5ac76e4fc629
size 48201
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8b491ed0dec54d7a2f3a584b077b8ad7cf2754a1bf2d330056740b3a49bca12
size 119704
oid sha256:e99c82a32fe8ca56727259eeec932e5fc732c2315f62c9698fa165e8d0ead64d
size 120770
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1568aeab5ed2fa5b9b7cfb2c7831ab5fb8e60347993bdfff5ac88ddd77a994ea
size 116774
oid sha256:fd1e150ca89274c128c1415f6c7469042b2b6b711628c795d652158b337573a7
size 117593
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19589d86321fa6347cce9a2dd229915e3c154d0544b6755bb4616ed11aec11d5
size 120953
oid sha256:04271dfb4c74bc6c3e66cca976227eeb9f4b3cf0ae59534a91af9fa20cd3934c
size 124757
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5ded2fed9334df463a22744183966ac301d7a313f79f4778aa0da4608a75246
size 116706
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24347f1d5e2940457895544373800ecb5fa90adf742c007cd3ec949b8b5481e6
size 140253
oid sha256:e021af7a5e5de6cf6405d673db82335edca645d71f37817409bea68ba53f078a
size 141761
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42369c71ada7f05b6c14ea1c479b2417647d9e4a86f0601b04f74e6153ce2922
size 138013
oid sha256:6872f520a4f6c79cdeb55d20991d7bf61280a587fe80250df8b10204d05498d5
size 139516
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b59507030a14739ae053cabff10de7ecc336c9e68815a9a2889f881f4535415
size 145823
oid sha256:c0ceac7d4a575c93b87dfb9d2cf6878d6f9c276e9504407305be628bfdb3724c
size 153065
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0584b2d8cbec2a452768cabaeeae605e2d88b4139d3f1bb3236aaf4cd90d6d89
size 136993
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba29b8a0d4484e5863850bbb8c5b00a4248f98bc6c5e74f09e71635e0e90ca48
size 71280
oid sha256:0a812bea493335fedd3e61b13e983e677bd5b6b774d5a6348cfa64737ab971a8
size 74403
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5e5fc7b4b029fe17b64bd71b9e8a0ff4c707c1217748f837603d9d4d5ae66af
size 69040
oid sha256:4e7b4889100a17b7de624facebb50b75baf42a91d3d2109f95610ed03c5a5911
size 72168
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7337fba28d597a810e92e6d593d635dee1ed4eb8c0bc5eb3e6fd9dc30d30626
size 75140
oid sha256:ba25f9db0d4a15ab35f60a06ddc2e16d0fab7d984dc0d39d5c91898a657ffb8e
size 78089
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e085e029fba474fb1517601820eae64ac1f249265270cea7d610f1857c42631
size 67841
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c49d85e92d835667b8ec14ca33a48327af2d7523c1c5f234dda40fb3db43e1f0
size 95613
oid sha256:062ec9c67e3326551bd45bb0396f25922b688ee6ad754be3216e64d7ba4fa434
size 100639
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:612ed87898b58482546cb55f36694849daf6edf69c94f28adee957f5af56d3c8
size 93536
oid sha256:9200e97526e1162831625c07251ec37073093be66b958f13b6bfa3eb0f41e80d
size 98530
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01b30b881e41dc1646a8c2870898bcf4dc54ed61afd7b6a5b06315562c9b7bca
size 103292
oid sha256:ea9f83d65534c2974698209b7d17fe1fc2a974374cc71f0cecccea0740653209
size 110886
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35cbe71d813db5883aece477676ed1fd4038b67bd5deacfa2957568510e41789
size 92671
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64090eca5f21a657af2f6f51b64e036a6a404a1db8577c39628c1275b5f7c98f
size 98588
oid sha256:4b196b0c7ef95387b7e2643e421a7acebec2bd26a4320c470d604f9710f3a1b4
size 114304
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:856c98734ddb0d538b17f3a0e4a9abfb4f141703850704ff83abd36332c214c0
size 104603
oid sha256:2f296669d40a83c27c5ca06428a7e0e42606a39ea0c9b8ff622b62fba78adc25
size 121582
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bf28ddbc247642cc1b233ceaa0a57023684cf1d97284f4c2ed47c1dfce2af19
size 51119
oid sha256:5d6baf08670cc76a5522c8b99a9c83aa25e78c4ed7ecb168b63618830e1a0669
size 63935
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39a516943fec545ff1bc26f34fb31567c4205c5060395260e30fb07d540ae42e
size 58735
oid sha256:07e29fb97f007495dec1a3635dfd8185d6a38240dc32079cdeba13d25905c93b
size 79420