feat(proposals): a chip row over the list, and four ways of being empty
Five chips under the app bar, each carrying its count, scrolling sideways. The row is outside the list rather than its first item, because a control that scrolls away is a control the reader has to scroll back for -- and the list it filters is as long as the group's whole signing history. It scrolls rather than wraps for the same reason from the other side: five counted chips do not fit the sixty characters `readableContent` holds the column to at the largest text size a reader can ask for, and a row reflowing to a second line moves the list under the thumb about to tap it. Unfiltered, the two sections stay. Filtered, they go: "waiting for you" against "everything else" is a distinction the reader has already made by tapping, and heading a single-state list with it would answer a question nobody asked. A room with nothing in it gets no chips at all. Five chips reading 0 over an empty screen would be five ways of saying what the empty state says once. The screen also picks up the state widgets it never had -- `LoadingDataIndicator`, `ErrorState` with an explicit `onRetry = null` because a room missing from this device will not appear by looking again, and `EmptyState` with a message per filter. That last one is the point: one shared default is how five different absences here came to say one thing. A group never asked to sign and a queue the reader has worked through are not the same fact, and the second is not an absence at all -- it keeps the queue's own icon and reads as finished. `initialFilter` reaches the screen and is applied in the view model's `init`, so a `Loaded` handed in for a preview cannot open with its chips saying one thing and its rows showing another. Nothing passes it yet. Fourteen screen tests, and the audit's budgets all still met: 0 hardcoded colours, 0 dp literals in spacing positions, 0 title-case strings, both floors held. 1329 jvm tests pass; the Android target compiles. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f42f4913c4
commit
ef2b461c5c
4 files changed
+531
-75
No files matched your search
@@ -20,6 +20,8 @@
|
||||
an em dash or a comma. The compose resources plugin reports that only as
|
||||
"XML file ... is not valid. Check the file content."
|
||||
-->
|
||||
<string name="abandoned">Abandoned</string>
|
||||
<string name="filter_all">All</string>
|
||||
<string name="app_name">Curare</string>
|
||||
<string name="add_a_dialect_the_group_can_translate_into">Add a dialect the group can translate into</string>
|
||||
<string name="add_artifact_to_library">Add artifact to library</string>
|
||||
@@ -108,6 +110,7 @@
|
||||
<string name="i_have_saved_my_recovery_phrase_somewhere">I have saved my recovery phrase somewhere safe.</string>
|
||||
<string name="i_understand_that_if_i_lose_this_phone_and">I understand that if I lose this phone and my recovery phrase, I lose this profile and the funds in its wallet.</string>
|
||||
<string name="if_you_are_new_to_torch_or_just_want_to">If you are new to Curare or just want to create a fresh profile</string>
|
||||
<string name="in_progress">In progress</string>
|
||||
<string name="initial_version_label">Initial version label</string>
|
||||
<string name="input_npub_or_nip05">Input npub... or nip05</string>
|
||||
<string name="introduce_yourself">Introduce yourself</string>
|
||||
@@ -151,6 +154,7 @@
|
||||
<string name="name_eg_alan_turing">Name (eg. Alan Turing)</string>
|
||||
<string name="name_eg_group_discussions">Name (eg. Group Discussions)</string>
|
||||
<string name="name_of_artifact">Name of artifact</string>
|
||||
<string name="needs_you">Needs you</string>
|
||||
<string name="network_relays">Network relays</string>
|
||||
<string name="no_wallet_is_open_on_this_device_so_there">No wallet is open on this device, so there is no phrase to show.</string>
|
||||
<string name="not_backed_up_yet">Not backed up yet</string>
|
||||
@@ -167,9 +171,12 @@
|
||||
<string name="no_one_selected_yet">No one selected yet</string>
|
||||
<string name="no_one_to_add_yet">No one to add yet.</string>
|
||||
<string name="no_projects_exists_in_this_group">No projects exists in this group.</string>
|
||||
<string name="no_proposal_has_been_abandoned">No proposal has been abandoned.</string>
|
||||
<string name="no_proposal_is_in_progress">No proposal is in progress.</string>
|
||||
<string name="no_translations_yet">No translations yet.</string>
|
||||
<string name="no_versions">No versions.</string>
|
||||
<string name="not_now">Not now</string>
|
||||
<string name="nothing_is_waiting_for_your_signature">Nothing is waiting for your signature.</string>
|
||||
<string name="nothing_was_created_and_no_key_exists_it_is">Nothing was created and no key exists. It is safe to run it again.</string>
|
||||
<string name="open_chat">Open chat</string>
|
||||
<string name="original">Original</string>
|
||||
@@ -221,6 +228,7 @@
|
||||
<string name="send_message">Send message</string>
|
||||
<string name="share_profile">Share profile</string>
|
||||
<string name="shared_key">Shared key</string>
|
||||
<string name="signed">Signed</string>
|
||||
<string name="signing_key">Signing key</string>
|
||||
<string name="the_key_this_room_signs_as">The key this room signs as, and the ceremony it came from.</string>
|
||||
<string name="what_the_group_signed">What the group signed</string>
|
||||
@@ -265,6 +273,7 @@
|
||||
<string name="this_decides_who_can_change_the_group_later">This decides who can change the group later. You can't switch afterwards.</string>
|
||||
<string name="this_group_has_no_shared_key_so_it_cannot">This group has no shared key, so it cannot sign them in.</string>
|
||||
<string name="this_group_has_not_been_asked_to_sign">This group has not been asked to sign anything yet.</string>
|
||||
<string name="this_group_has_not_signed_anything_yet">This group has not signed anything yet.</string>
|
||||
<string name="this_is_fixed_once_the_ceremony_runs">This is fixed once the ceremony runs. Changing it later means generating a new key.</string>
|
||||
<string name="this_is_the_last_thing_the_ceremony_needs">This is the last thing the ceremony needs from you.</string>
|
||||
<string name="this_will_be_shown_when_people_open_the_chat">This will be shown when people open the chat for more details.</string>
|
||||
@@ -334,6 +343,7 @@
|
||||
<string name="event_s_still_unreadable">%1$s event(s) still unreadable%2$s</string>
|
||||
<string name="events_signed_together">%1$s events, signed together</string>
|
||||
<string name="everyone_has_to_be_online_at_the_same_time">Everyone has to be online at the same time — the ceremony can only finish once all %1$s of you have taken part.</string>
|
||||
<string name="filter_and_count">%1$s · %2$s</string>
|
||||
<string name="functionality_coming_soon_2">"%1$s" functionality coming soon</string>
|
||||
<string name="how_should_be_run">How should %1$s be run?</string>
|
||||
<string name="invite_2">Invite %1$s</string>
|
||||
|
||||
Reference in new issue
Block a user