feat: the confederation's own screen, its profile form and its changes (confederation-profile, Phase 4)

A formed confederation opens its own screen, from its row on each member
group's screen and from its card among the group's confederations: its
signed profile, its groups with who holds their roles, the changes to its
profile and the way to propose one. A member who is not an admin sees the
public part and is told why the changes are missing.

Editing the profile asks the member's group to propose the change (or
the group they pick, when they are an admin of more than one); a change
opens on its own screen with what it would change field by field, every
group's answer, and Endorse, Object or Withdraw. The lines in each
group's room open the change, or the confederation once it is published.

The five profile fields move to a shared NostrProfileFields, used by the
group's form too, with decorative icons beside their labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-22 23:44:33 +02:00
1 parent 44cbe596d2
commit 5d6bbcd5e8
28 files changed
+2034 -120

No files matched your search

@@ -757,6 +757,52 @@
<string name="this_device_holds_no_such_request">This device holds no such request for the confederation to sign</string>
<string name="propose_the_charter">Propose the charter</string>
<string name="the_charter_names_the_groups">The charter is the confederation's public statement of the groups it is made of, signed with its own key. It is how members who are not admins hear of it.</string>
<!-- A confederation's profile, decided by its groups: docs/confederation-profile.md -->
<string name="member_of_confederation">Member of %1$s</string>
<string name="confederation_profile">Profile</string>
<string name="confederation_has_no_profile_yet">The confederation has signed no profile yet</string>
<string name="n_admins_hold_its_key">%1$d admins hold its key</string>
<string name="profile_changes">Profile changes</string>
<string name="only_admins_see_profile_changes">Only the group's admins see proposed changes.</string>
<string name="no_profile_changes_yet">No changes to its profile have been proposed</string>
<string name="edit_the_confederations_profile">Edit profile</string>
<string name="how_it_was_formed">How it was formed</string>
<string name="open_the_confederations_room">Open the confederation's room</string>
<string name="this_device_knows_nothing_of_that_confederation">This device knows nothing of that confederation</string>
<string name="profile_problem_no_record">This device holds no record of the confederation</string>
<string name="profile_problem_not_member">This group is not one of the confederation's</string>
<string name="profile_problem_cannot_sign">This group cannot sign from this device</string>
<string name="profile_problem_not_admin">Only one of the group's admins can propose a change</string>
<string name="profile_problem_no_inbox">Set up the group's inbox first: a change is sent from it</string>
<string name="profile_problem_group_without_inbox">%1$s has no inbox, so it cannot be asked</string>
<string name="change_open">Open</string>
<string name="change_endorsed">Endorsed, being signed</string>
<string name="change_published">Published</string>
<string name="change_superseded">Replaced by a newer profile</string>
<string name="change_declined">Declined</string>
<string name="change_withdrawn">Withdrawn</string>
<string name="change_expired">Expired</string>
<string name="n_of_m_endorsements">Endorsed by %1$d of the %2$d groups it needs</string>
<string name="edit_confederation_profile">Edit the confederation's profile</string>
<string name="what_the_confederation_says_about_itself">What the confederation says about itself on nostr</string>
<string name="a_change_goes_to_every_group">Your group's quorum signs the change, and it goes to every other group's inbox. The confederation signs it once %1$d of its %2$d groups have endorsed it.</string>
<string name="propose_from">Propose from</string>
<string name="propose_to_the_groups">Propose to the groups</string>
<string name="could_not_propose_the_change">Couldn't propose the change</string>
<string name="profile_change">Profile change</string>
<string name="this_device_does_not_hold_that_change">This device does not hold that change</string>
<string name="endorse">Endorse</string>
<string name="object_to_the_change">Object</string>
<string name="withdraw_the_change">Withdraw the change</string>
<string name="endorsing_lets_the_confederation_sign">Endorsing lets the confederation's admins sign this profile once enough groups have endorsed it. Nobody is asked again.</string>
<string name="answer_proposed">Proposed it</string>
<string name="answer_endorsed">Endorsed</string>
<string name="answer_objected">Objected</string>
<string name="profile_field_was">Was: %1$s</string>
<string name="profile_field_becomes">Becomes: %1$s</string>
<string name="profile_field_empty">Nothing</string>
<string name="no_field_changes">This change edits no field shown here</string>
<string name="being_signed_waiting_on">Being signed. Waiting on %1$s</string>
<!-- The group's inbox: docs/group-inbox.md -->
<string name="inbox">Inbox</string>
<string name="inbox_settings">Inbox settings</string>