Skip to content

feat(portfolio): add exchange provider fallback handling #7025

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yhabib
Copy link
Contributor

@yhabib yhabib commented Jun 27, 2025

Motivation

The exchange provider for the nns-dapp may experience downtime. If this happens, the Portfolio page will display data based on the available information, such as balance and stake in fiat currency. This PR adds a check for the exchange provider's status and displays basic data accordingly.

Before After
Screenshot 2025-06-27 at 17 12 00 Screenshot 2025-06-27 at 17 11 10

Changes

  • Check the status of the exchange provider.
  • Display default data if the provider is down.
  • Use alternative sorting if the provider is down.

Tests

  • ...

Todos

  • Accessibility (a11y) – any impact?
  • Changelog – is it needed?

@yhabib yhabib changed the title default value feat(portfolio): add exchange provider fallback handling Jun 27, 2025
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