Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: externalize send form components #695

Merged
merged 19 commits into from
Dec 1, 2023

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
3 checks passed
@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