feat(frost): the knock, under the list of doors it is for
The resend gets its affordance on the signing screen, below the member list and above the approval block. The list is already the screen's answer to whose door to knock on; this is the knock. Coordinator only, and the state says why rather than leaving it to the button: `acceptProposal` takes a session's coordinator from the author of the proposal that opened it, so a resend from anybody else would have a member who was missing the session believe the resender coordinates -- and then drop the real coordinator's signer set. `silent` is derived on the UI state rather than collected. Everything it is made of is already there -- the share holders, who offered a nonce, who signed, who refused -- and a second flow would be a second thing that can disagree with the rows the screen draws. A member who refused is not silent: they answered. The cooldown disables the button rather than hiding the section, because a control that vanishes after a tap reads as one that failed, and what happened is that it worked. `resend` hands back whether anything went out, so the snackbar says which: asked again, or everyone has since answered and there was nobody left to ask. The transcript line gets its own icon. A resend must not read as a second proposal, which is the one thing a session can never have -- two proposals under one session id would be asking for two signatures out of one secret nonce. `ask_again` already existed in the catalogue for re-querying a list's relays and means exactly this, so it is reused rather than duplicated. m3Audit: all budgets met. jvmTest: 1260 tests, no failures. Plan: docs/frost-session-resend.md, Phases 5-7. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
01e022fdcc
commit
aee19737f6
5 files changed
+156
No files matched your search
@@ -196,6 +196,11 @@
|
||||
<string name="propose_translation">Propose translation</string>
|
||||
<string name="publish_new_key_package">Publish new key package</string>
|
||||
<string name="re_broadcast">Re-broadcast</string>
|
||||
<string name="asked_again">Asked the members who have not answered to take another look</string>
|
||||
<string name="everyone_has_answered_this_session">Everyone has answered. There is nobody left to ask.</string>
|
||||
<string name="one_member_has_not_answered">One member has not answered. They may never have received it.</string>
|
||||
<string name="members_have_not_answered">%1$s members have not answered. They may never have received it.</string>
|
||||
<string name="asked_again_recently">Asked again just now. You can ask again in a few minutes.</string>
|
||||
<string name="read_to_the_end_of_the_list_to_sign">Read to the end of the list to sign.</string>
|
||||
<string name="recovery_phrase">Recovery phrase</string>
|
||||
<string name="ready_to_sign">Ready to sign</string>
|
||||
|
||||
Reference in new issue
Block a user