feat: the group's nostr profile, seen and proposed (group-nostr-profile, Phase 5)

The group's screen gets a Nostr profile row in Marmot rooms, under the
description: what the group is called and its nostr address, or that it
is not described yet. Behind it, the profile screen and the editor, ported
from Curare. The editor proposes a kind:0 through proposeSigning and hands
over to the signing session in its place.

Who may propose is the room's half (a Marmot room, not left, not
disbanded) and the device's (a share of the key), as GroupStatementCapability
and canProposeAsGroup; an npub-only identity is offered no editor (D4).
The editor offers no lightning address and the profile shows none, while
an edit keeps one already there (D6). A device holding no profile says so
rather than that the group never described itself (D8). The broadcast
button under the profile comes with Phase 7.

The detail screen's absence test for these rows moves into
GroupSignedWorkRowsJvmTest, which now checks the row is there.

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:34:53 +02:00
1 parent 09649d9a91
commit add309f79a
19 files changed
+1725 -10

No files matched your search

@@ -592,4 +592,25 @@
<string name="why_this_is_unavailable">Why this is unavailable</string>
<string name="unavailable">Unavailable</string>
<string name="view_profile">View profile</string>
<!-- The group's nostr profile: docs/group-nostr-profile-and-posts.md -->
<string name="about">About</string>
<string name="could_not_ask_the_group_to_sign_this_profile">Couldn't ask the group to sign this profile.</string>
<string name="edit_nostr_profile">Edit Nostr profile</string>
<string name="eg_a_group_translating_hard_books">eg. A group translating hard books into Sesotho</string>
<string name="eg_group_example_com">eg. group@example.com</string>
<string name="eg_https_example_com">eg. https://example.com</string>
<string name="eg_https_example_com_group_png">eg. https://example.com/group.png</string>
<string name="eg_translation_collective">eg. Translation collective</string>
<string name="no_name_on_this_profile">No name on this profile</string>
<string name="nostr_address">Nostr address</string>
<string name="nostr_profile">Nostr profile</string>
<string name="picture_url">Picture URL</string>
<string name="propose_nostr_profile">Propose Nostr profile</string>
<string name="signed_by_the_group_on">Signed by the group on %1$s</string>
<string name="the_group_signs_its_profile_so_it_takes_a_quorum">The group signs this, so it takes a quorum. An empty field unsays what the group had said.</string>
<string name="this_group_has_no_shared_key_to_sign_a_profile">This group has no shared key, so it cannot sign a profile. Run a shared key ceremony first.</string>
<string name="website">Website</string>
<string name="what_the_group_says_about_itself_on_nostr">What the group says about itself on Nostr</string>
<string name="not_described_yet">Not described yet</string>
<string name="this_device_holds_no_profile_for_this_group">This device holds no profile for this group. A profile signed before you joined isn't passed on.</string>
</resources>