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

Improve token dashboard #691

Merged
merged 3 commits into from
Jul 10, 2023
Merged

Conversation

csillag
Copy link
Contributor

@csillag csillag commented Jul 7, 2023

This PR improves two small things around the token dashboard.

Make sure there are loading states for all the cards on the dashboard

Now, while loading the token info:

image

Handle undefined token total supply

When a token doesn't have the token supply defined, say "undefined" instead of "n/a", as suggested by @donouwens

before after
image image

@github-actions
Copy link

github-actions bot commented Jul 7, 2023

Deployed to Cloudflare Pages

Latest commit: f6a78f8069bae92b1a7ac81f0775a321d8359efe
Status:✅ Deploy successful!
Preview URL: https://fa248a46.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/token-dashboard-loading-state branch from c959549 to 08fa93b Compare July 7, 2023 21:59
@csillag csillag requested review from buberdds and lukaw3d July 7, 2023 21:59
@csillag csillag marked this pull request as ready for review July 7, 2023 21:59
@csillag csillag changed the title Token dashboard: make sure all cards have loading state Improve token dashboard Jul 7, 2023
@csillag csillag force-pushed the csillag/token-dashboard-loading-state branch 5 times, most recently from 3a140b5 to 48056a5 Compare July 10, 2023 13:57
@csillag csillag force-pushed the csillag/token-dashboard-loading-state branch from 48056a5 to f6a78f8 Compare July 10, 2023 21:47
@csillag csillag enabled auto-merge July 10, 2023 21:47
@csillag csillag merged commit 60de008 into master Jul 10, 2023
6 checks passed
@csillag csillag deleted the csillag/token-dashboard-loading-state branch July 10, 2023 21:49
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.

None yet

2 participants