Add the UI for your own user status in the Settings screen. (#5888)

* Show the user's own Status emoji on the SettingsScreen.

* Add the UI for setting your own status.

* Add placeholder action for selecting a custom emoji and fix some accessibility issues.
This commit is contained in:
Doug
2026-07-17 12:21:51 +01:00
committed by GitHub
parent a4a509f2de
commit a0ec5ed9dd
32 changed files with 533 additions and 80 deletions
@@ -1159,6 +1159,20 @@ extension PreviewTests {
}
}
@Test
func settingsScreenUserStatusPickerView() async throws {
for (index, preview) in SettingsScreenUserStatusPickerView_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}
}
@Test
func settingsScreenUserStatusRow() async throws {
for (index, preview) in SettingsScreenUserStatusRow_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}
}
@Test
func settingsScreen() async throws {
for (index, preview) in SettingsScreen_Previews._allPreviews.enumerated() {
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2d77bf89b1d8f32769fb344350d506385d285b8243d2e68e6a927526ec859f6
size 148915
oid sha256:5001fc410195d974fceb85fb9c8e03a25bd7614fe9ffd7d35d1ca3791b71df4d
size 150756
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be915ee13c944b772a0e57afebc00a89c025da30a2b9752f63355d439da7cddb
size 155044
oid sha256:da52953ab4cf8a4b09f00ee3c5942f8bb946b108b1613fad1e906e833cf6fa00
size 156816
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a05f66738a862f6131e63903c87c9b1b94dfdf0a64cbb222185c30dc13d76dc3
size 95770
oid sha256:f0b3e32358f640201ad8efb3f397287c3b8f1286eb8f4b3510d521a104db5180
size 97973
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:504ba2c922526a08812f1df453b7a3f7edb56c3e78666d75272f6da887965926
size 111928
oid sha256:834144dc590660e7553cb94e24464d5eab47d096641c4e435190c731233db3d1
size 114090
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e580af0e0cd966cf0fecec76f46412cfc258e7d2f354c3b9d0a08c072cef0a4b
size 149158
oid sha256:49948b289947884a323d3d9e5af9b2d2b98689d57c6b15426cb56c9bab661da5
size 150999
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2e654f118059094b2245e8e6574a1c26b9debdc470453e938e27fed680f799c
size 155305
oid sha256:c9a15bdedcbd5957ecf376e56a443dfaa55c08a486ab21df53b8def37df37e60
size 157077
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd8270f52ee525489e71ecdb3eefaf07879654d71adfccb71fe018fd8a3f01a6
size 96176
oid sha256:c63dec2f3675ac96551c66cc5398cdfaa87ed600c267c92267bb50b8cf83120d
size 98379
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b067e9231ded487380ca1bc6af2d17410fcabf349afb7fc81fd0ae9cf0fb7c04
size 115309
oid sha256:b0107312537fe0627c61fc799f91009b36b39464e64545cb7280bf2b67fa3cb5
size 117471
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c2dfd8d6bc2a475e5a77cf004b46dac6f4f56591315bd2a0399a8e6b3fb842e
size 106801
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfc43abc39bc53dccf09bac730b1a5415d0a1b3ac9b6e94127edc0d46604ed4f
size 109600
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d0773ec07993bea5963f0d18526090b4d380b86634a6826edd97f910cd01946
size 61378
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a943da9248522547ff9cd82d6545c316636003799d3c5971d837f1ba3311d12
size 68219
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c3ac8e7e786f9769e382d8fc59f5ed7b702542d93dd4ce4f28cd683f6feb7cc8
size 108146
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf0f284e5e2fc6a942e6990dd0639c29c176a5824fc16f74e24a185fdea3f6bc
size 110210
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93ee4b791e7b40f6ec0b21616806b749ac3dee51202e643b4b54800fd1d4c266
size 60165
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8068d0b7d33018645ee13ae808e1f52c99e35198c3222567cd096705f4b2d41e
size 66395