Feature Parity 19: BIP21 URI Import/Open and Drag-and-Drop Send Handling #523

Closed
opened 2026-02-28 16:54:52 +00:00 by johnny9 · 0 comments
johnny9 commented 2026-02-28 16:54:52 +00:00 (Migrated from github.com)

Summary

Add BIP21 URI ingestion for send flow, including paste/open and drag/drop handling.

Complexity

  • L

Dependencies

  • 14
  • 16
  • 02

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Implement BIP21 parser in gui-qml runtime path (or move parser utility into gui-qml).
  • Support open URI action and clipboard/paste ingestion into send form.
  • Support URI drag/drop onto send surface.
  • Validate/merge URI params into recipient model with clear conflict handling.

Acceptance Criteria (DoD-Aligned)

  1. Valid BIP21 URI populates send form fields correctly.
  2. Malformed URI is rejected with user-readable error.
  3. Drag/drop works on desktop and does not interfere with normal text input.

Required Tests

  • C++ unit tests: Unit tests for URI parse/format edge cases.
  • QML QTest: QTests for open/paste/drop state changes in send page.
  • Python E2E (qml/test/testbridge.h): E2E flow: ingest URI via paste and drag/drop; send review values match URI payload.

Implementation Notes

  • Keep URI logic in gui-qml-owned code; do not call widget dialogs.
## Summary Add BIP21 URI ingestion for send flow, including paste/open and drag/drop handling. ## Complexity - `L` ## Dependencies - `14` - `16` - `02` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Implement BIP21 parser in gui-qml runtime path (or move parser utility into gui-qml). - Support open URI action and clipboard/paste ingestion into send form. - Support URI drag/drop onto send surface. - Validate/merge URI params into recipient model with clear conflict handling. ## Acceptance Criteria (DoD-Aligned) 1. Valid BIP21 URI populates send form fields correctly. 2. Malformed URI is rejected with user-readable error. 3. Drag/drop works on desktop and does not interfere with normal text input. ## Required Tests - C++ unit tests: Unit tests for URI parse/format edge cases. - QML QTest: QTests for open/paste/drop state changes in send page. - Python E2E (`qml/test/testbridge.h`): E2E flow: ingest URI via paste and drag/drop; send review values match URI payload. ## Implementation Notes - Keep URI logic in gui-qml-owned code; do not call widget dialogs.
Sign in to join this conversation.
No description provided.