Skip to content

fix(fb): display error alert in modal#776

Merged
bhaveshg16 merged 1 commit intojoinmarket-webui:masterfrom
bhaveshg16:fix/error
Jun 4, 2024
Merged

fix(fb): display error alert in modal#776
bhaveshg16 merged 1 commit intojoinmarket-webui:masterfrom
bhaveshg16:fix/error

Conversation

@bhaveshg16
Copy link
Contributor

fixes #775
The alert message has been shifted inside modal.
However I was not able to produce the error locally, so its requested to produce the error locally while reviewing it. and please let know if it works fine.
PS: If anyone gets to know how to produce error, I would love to learn it as well.

@theborakompanioni
Copy link
Collaborator

theborakompanioni commented Jun 4, 2024

PS: If anyone gets to know how to produce error, I would love to learn it as well.

e.g. this gets triggered when the wallet is not "Fidelity Bond"-enabled, when the wallet is created via the CLI and the users presses n on the question Would you like this wallet to support fidelity bonds? (https://jamdocs.org/FAQ/#how-to-import-an-existing-wallet-via-the-command-line).

We could load the timelocked address immediately after selecting the date, so the error would get triggered earlier in the process. Currently the user selects a UTXO and only then the address is loaded.. maybe this can be considered in #650?

PR looks good! Approved 🚀

@theborakompanioni theborakompanioni changed the title (fix/fb):alert inside modal fix(fb): display error alert in modal Jun 4, 2024
@bhaveshg16 bhaveshg16 merged commit fef6260 into joinmarket-webui:master Jun 4, 2024
@bhaveshg16 bhaveshg16 deleted the fix/error branch June 4, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(FB) : error Alert is displayed in the background of modal.

2 participants