Skip to content

refactor: externalize send form components#695

Merged
theborakompanioni merged 19 commits intomasterfrom
refactor/send-form-components
Dec 1, 2023
Merged

refactor: externalize send form components#695
theborakompanioni merged 19 commits intomasterfrom
refactor/send-form-components

Conversation

@theborakompanioni
Copy link
Collaborator

@theborakompanioni theborakompanioni commented Nov 25, 2023

Externalizes send form components. These changes prepare for:

New components:

  • SendForm
  • AmountInputField
  • DestinationInputField
  • SourceJarSelector

No functionality should have changed!
The code is still pretty rough, but way better then before.

JarSelector button in "Recipient" and Sweep button in "Amount in sats" have been adapted to better display errors states.
As a consequence, the following can be done again:

  • input fields for numbers can now show native up/down buttons again
  • display validation warnings

📸 Before / After


@theborakompanioni theborakompanioni added UI/UX Issue related to cosmetics, design, or user experience tech dept Removes some technical debt labels Nov 25, 2023
@theborakompanioni theborakompanioni self-assigned this Nov 25, 2023
@theborakompanioni
Copy link
Collaborator Author

@editwentyone Screenshots are a bit outdated. 🙏

@theborakompanioni theborakompanioni marked this pull request as ready for review November 26, 2023 16:04
@theborakompanioni theborakompanioni force-pushed the refactor/send-form-components branch from bffd4fa to e65ec04 Compare November 28, 2023 10:55
@theborakompanioni theborakompanioni force-pushed the refactor/send-form-components branch from e65ec04 to a803ded Compare November 30, 2023 21:52
@theborakompanioni
Copy link
Collaborator Author

@editwentyone Now supports displaying a validation message for missing source jars:

@theborakompanioni theborakompanioni merged commit a246ad3 into master Dec 1, 2023
@theborakompanioni theborakompanioni deleted the refactor/send-form-components branch December 1, 2023 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tech dept Removes some technical debt UI/UX Issue related to cosmetics, design, or user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants