feat: the Shares section holds Rotate shares and says why (Phase 2)

SharesSummary.canRotate becomes Rotation: Unavailable, Available, or
Held with a reason -- a rotation in progress, the group's signature on
the new shares still owed, or this device behind. The button stays,
disabled, with the reason beneath it.

While the key state is owed and nobody here is asking for it, the
section offers to ask the group to sign it
(ShareRefreshManager.proposeOwedKeyState), so a coordinator who is gone
does not hold every later rotation; while somebody is asking, it links
to the proposal. The offer to rotate without a removed member is made
only when a rotation could start now, and says so otherwise.

The section's actions run one at a time, through isActionPending.
ShareRefreshRitualJvmTest 24/24, m3Audit, compileDebugKotlinAndroid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-20 00:44:59 +02:00
1 parent 159ae402db
commit d358a0db38
8 files changed
+215 -13

No files matched your search

@@ -127,6 +127,13 @@
<string name="pending_rotation_confirm">Store your new share</string>
<string name="pending_repair_help">Help bring a member back</string>
<string name="shares_action_sent">Sent to the group</string>
<string name="rotation_held_running">A rotation is in progress</string>
<string name="rotation_held_awaiting_signatures">Waiting for the group to sign the new shares before another rotation</string>
<string name="rotation_held_behind">This device is catching up with the group's latest rotation</string>
<string name="rotation_held_after_removal">Removal sent. They still hold a share; rotate without them once the group has signed the current shares.</string>
<string name="ask_the_group_to_sign_the_new_shares">Ask the group to sign the new shares</string>
<string name="key_state_requested">Asked the group to sign the new shares</string>
<string name="see_the_proposal">See the proposal</string>
<string name="share_rotation_requested">Share rotation proposed; every remaining member is asked to take part</string>
<string name="library">Library</string>
<string name="lightning_invoice">Lightning invoice</string>