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

fix: handle name history api errors #189

Closed
wants to merge 1 commit into from

Conversation

lukeromanowicz
Copy link
Contributor

@lukeromanowicz lukeromanowicz commented May 1, 2023

Description

Resolves #127

Doesn't show the name history tab if loading failed.

I decided to go this path rather than displaying "There is no data available" because so far we have been showing that message when there is no data available in the blockchain. In this case there always is data but fetching it fails. I think it should be handled differently (e.g. some appropriate message that loading data failed, please try again later). Probably will be improved everywhere across the application in #95

Demo

image

Checklist:

  • I have read and followed the Contributing Guide
  • My change does NOT require a change to the documentation.

@github-actions
Copy link

github-actions bot commented May 1, 2023

Deployed to https://pr-189-aescan.stg.aepps.com

@janmichek
Copy link
Collaborator

Honestly, I don't see a need for this fix. It's a hypothetical scenario with no evidence of happening.
If we want to do such a fix, it would be better to do it for every entity.
I suggest closing this and moving it to #95 as noted above

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.

Name history panel should be visible with no data
2 participants