Rework the payment request edit flow: in-place editing, exits, and draft discard #909

Closed
opened 2026-09-18 17:49:55 +00:00 by epicleafies · 0 comments
epicleafies commented 2026-09-18 17:49:55 +00:00 (Migrated from github.com)

Three related gaps in the request editor's lifecycle, plus a backend sub-decision:

  1. Proposal: edit in place on the request detail page. Only the three text fields are editable after creation and all three already render on the detail page, yet every edit routes through the Receive page editor. In-place editing removes the page jump and the whole class of return-navigation problems below.
  2. Edits end where they started. Committing or cancelling an edit leaves the user on the request page instead of returning to the view the edit was launched from, so the edit has no visible completion.
  3. A prefilled draft cannot be discarded. Arriving on the editor via "Create payment request" from address details, or via use-as-template, prefills a draft whose only exits are hand-clearing the fields or navigating away; Cancel shows only for saved requests and "New request" only outside editing.

Sub-decision: setCurrentPaymentRequestAddress does not validate the address's used state backend-side, so whether request creation on a used address should be refused (and with what failure mode) needs deciding as part of this flow.

Three related gaps in the request editor's lifecycle, plus a backend sub-decision: 1. Proposal: edit in place on the request detail page. Only the three text fields are editable after creation and all three already render on the detail page, yet every edit routes through the Receive page editor. In-place editing removes the page jump and the whole class of return-navigation problems below. 2. Edits end where they started. Committing or cancelling an edit leaves the user on the request page instead of returning to the view the edit was launched from, so the edit has no visible completion. 3. A prefilled draft cannot be discarded. Arriving on the editor via "Create payment request" from address details, or via use-as-template, prefills a draft whose only exits are hand-clearing the fields or navigating away; Cancel shows only for saved requests and "New request" only outside editing. Sub-decision: setCurrentPaymentRequestAddress does not validate the address's used state backend-side, so whether request creation on a used address should be refused (and with what failure mode) needs deciding as part of this flow.
Sign in to join this conversation.
No description provided.