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

feat(ux): Pool display polishes, pre-release fixes #2065

Merged
merged 8 commits into from
Apr 6, 2024

Conversation

rossbulat
Copy link
Collaborator

@rossbulat rossbulat commented Apr 6, 2024

This PR tackles various issues with the new JoinPool canvas, and deprecates code that JoinPool now superseeds.

Breakdown of changes

  • JoinPool canvas now accepts a performance batch key alongside the pool id, so it can fetch performance data from the provided pool from the correct batch.
  • Title formatting fixes for the nominations list in JoinPool canvas.
  • Makes the "Actively Nominating" badge dynamic, only showing when pool has been active for the last MaxEraRewardPointsEras eras.
  • Hides JoinForm component if no account is connected / pool is not in Open state, or if account is already a pool member.
  • JoinPool preloader is now more generic, and can be used when browsing pools as well as joining them.
  • Removed menu items from Pools list, and displays a "More" button (replaces "Join" button) to open the JoinPool canvas for any pool. Disabled while active pools are being synced.

@rossbulat rossbulat requested a review from TingALin April 6, 2024 11:24
@rossbulat rossbulat changed the title feat(ux): Pool display polishes, fixes pre-release feat(ux): Pool display polishes, pre-release fixes Apr 6, 2024
@rossbulat rossbulat merged commit 89e5f98 into main Apr 6, 2024
11 checks passed
@rossbulat rossbulat deleted the rb-join-pool-fixes branch April 6, 2024 11:37
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.

1 participant