feat: the group's inbox, seen (group-inbox, Phase 7)

Three screens, each with a way back, readableContent, the four states
and the transition between them: the inbox (its conversations, newest
first, with who they are with and what is unread; mail this device
cannot open, counted with why; an inbox the group has not yet announced
saying nobody can write to it; and for an admin promoted after the
first key, why earlier mail is missing), a conversation (theirs on the
leading edge, the group's replies marked as the group's), and the
inbox's settings (setting one up with where mail should arrive, the
key generation by generation, the ceremony with who it waits on and
Abandon, and Rotate the inbox key).

The group's screen gets an Inbox row with the unread count on a device
that holds the key, the ceremony while it runs, or Set up an inbox for
an admin who could start one. A member who is not an admin sees no row.
The ceremony's own screen planned for Phase 4 is the settings screen's
ceremony card. m3Audit at its budgets; compileDebugKotlinAndroid builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-22 02:00:09 +02:00
1 parent 5370527a4f
commit 12a93bd4d7
18 files changed
+1572

No files matched your search

@@ -740,4 +740,37 @@
<string name="group_signs_with">%1$s: %2$d of %3$d admins to sign</string>
<string name="confederation_formed">Formed</string>
<string name="this_is_the_confederations_room">This is the room of the confederation %1$s. Its key is held by the admins of its groups together. Until the confederation can sign, who is in this room cannot change.</string>
<!-- The group's inbox: docs/group-inbox.md -->
<string name="inbox">Inbox</string>
<string name="inbox_settings">Inbox settings</string>
<string name="no_new_messages">No new messages</string>
<string name="one_new_message">1 new message</string>
<string name="n_new_messages">%1$d new messages</string>
<string name="set_up_an_inbox">Set up an inbox</string>
<string name="let_anyone_on_nostr_write_to_the_group_privately">Let anyone on nostr write to the group privately</string>
<string name="the_admins_are_making_the_inbox_key">The admins are making the group's inbox key</string>
<string name="couldn_t_find_the_group">Couldn't find the group</string>
<string name="nobody_has_written_to_the_group_yet">Nobody has written to the group yet.</string>
<string name="earlier_mail_is_not_on_this_device">Messages sent before you held the group's inbox key aren't on this device.</string>
<string name="one_message_this_device_can_t_open">1 message this device can't open</string>
<string name="n_messages_this_device_can_t_open">%1$d messages this device can't open</string>
<string name="why_a_message_can_t_be_opened">It was sent to the group's npub by an app that doesn't know the group's inbox key, or to a key from before you were an admin.</string>
<string name="the_group_hasn_t_announced_its_inbox">The group hasn't signed its inbox announcement yet, so nobody can write to it.</string>
<string name="the_group">The group</string>
<string name="the_group_wrote">The group: %1$s</string>
<string name="you_and_the_group">%1$s and the group</string>
<string name="inbox_setup_explainer">The group's admins will make a key together. Every admin holds it and can read what arrives. Nobody can write to the group until it signs its announcement, and the group signs every reply.</string>
<string name="where_mail_should_arrive">Where mail should arrive</string>
<string name="one_relay_per_line">One relay per line, starting wss://</string>
<string name="inbox_key_generation">Key %1$d, %2$s</string>
<string name="announced_anyone_can_write_to_it">Announced: anyone can write to it</string>
<string name="waiting_for_the_group_to_sign_its_announcement">Waiting for the group to sign its announcement</string>
<string name="retired_kept_to_open_older_mail">Retired, kept to open older mail</string>
<string name="mail_arrives_on">Mail arrives on %1$s</string>
<string name="waiting_on">Waiting on %1$s</string>
<string name="rotate_the_inbox_key">Rotate the inbox key</string>
<string name="rotate_explainer">Makes a new key with the current admins. Mail sent to the old key can still be read by the admins who held it, and a removed admin keeps what they already read.</string>
<string name="couldn_t_start_the_ceremony">Couldn't start the ceremony</string>
<string name="the_inbox_key_ceremony_started">The inbox key ceremony started</string>
<string name="no_inbox_relays_were_valid">None of those is a relay a stranger could reach</string>
</resources>