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

app: Fix bond waiting UI #2983

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Conversation

martonp
Copy link
Contributor

@martonp martonp commented Sep 21, 2024

Only show one section at a time in the bond waiting UI on the markets page.

Closes #2978

Only show one section at a time in the bond waiting UI on the markets page.
if (market.dex.auth.effectiveTier >= 1) {
const toggle = async () => {
Doc.hide(page.registrationStatus, page.bondRequired, page.bondCreationPending)
showSection(undefined)
Copy link
Contributor

@ukane-philemon ukane-philemon Sep 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I finished bond posting and the order form was displayed but "Fidelity bond accepted!" remained on the order form until I refreshed.

I think we should hide the registrationStatus form some secs after showing the completed registration status.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what this line is supposed to do.. and the "Fidelity bond accepted" disappears for me. Maybe you didn't build the latest UI?

@buck54321 buck54321 merged commit 153e9cf into decred:master Oct 6, 2024
5 checks passed
buck54321 pushed a commit to buck54321/dcrdex that referenced this pull request Oct 17, 2024
Only show one section at a time in the bond waiting UI on the markets page.
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.

ui: waiting for bonds displays not updating correctly
4 participants