feat: an unsigned profile or post, pasted for the group to sign (group-nostr-profile, Phase 8)

ProposeGroupEventScreen and GroupEventProposal come back from Curare,
accepting kinds 0 and 1 only: a relay list is refused like any kind with
no section on the group's screen (D1, D9). Its profile and post checks are
GroupStatementRefusal's, so the member proposing and the member signing
refuse the same pastes. A "Propose event" button sits under the posts
row for a member who can propose and an identity that can sign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-21 20:46:05 +02:00
1 parent f98378ca5e
commit aa820c20cc
11 files changed
+1332 -1

No files matched your search

@@ -648,4 +648,21 @@
<string name="that_is_not_a_relay_address">That isn't a relay address. Relays start with wss:// and cannot be on this device.</string>
<string name="that_relay_is_already_in_this_list">That relay is already in this list.</string>
<string name="the_app_s_publishing_relays_are_filled_in">The app's own publishing relays are filled in. Add or remove relays before sending.</string>
<!-- An unsigned event, pasted for the group to sign: docs/group-nostr-profile-and-posts.md, D9 -->
<string name="an_event_is_a_json_object">An event is a JSON object with a kind, tags and content.</string>
<string name="an_event_needs_a_kind">An event needs a kind.</string>
<string name="content_must_be_text">Content must be text.</string>
<string name="could_not_ask_the_group_to_sign_this_event">Couldn't ask the group to sign this event.</string>
<string name="eg_kind_1_tags_content">{"kind": 1, "tags": [], "content": "…"}</string>
<string name="kind_n">Kind %1$s</string>
<string name="kind_n_has_nowhere_to_go_on_this_screen">Kind %1$s has nowhere to go on the group's screen. It can file kinds %2$s.</string>
<string name="paste_an_unsigned_event_for_the_group_to_sign">Paste an unsigned Nostr event for the group to sign. It is filed by kind: a profile (kind 0) or a post (kind 1).</string>
<string name="propose_event">Propose event</string>
<string name="tags_must_be_a_list_of_lists_of_strings">Tags must be a list of lists of strings.</string>
<string name="that_is_not_json">That isn't JSON.</string>
<string name="the_content_is_not_a_profile">The content isn't a profile. A kind 0 carries a JSON object of profile fields.</string>
<string name="the_group_signs_an_event_so_it_takes_a_quorum">The group signs it, so it takes a quorum. The author is the group and the time is now, whatever the paste says about either.</string>
<string name="this_group_has_no_shared_key_to_sign_an_event">This group has no shared key, so it cannot sign an event. Run a shared key ceremony first.</string>
<string name="unsigned_event">Unsigned event</string>
<string name="what_the_group_would_sign">What the group would sign</string>
</resources>