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

Page improvement design: 'Error' message #132

Open
diterra-code opened this issue Nov 8, 2024 · 2 comments
Open

Page improvement design: 'Error' message #132

diterra-code opened this issue Nov 8, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@diterra-code
Copy link

diterra-code commented Nov 8, 2024

Upon request by @subject026 ,

A new page 'error' design. Including the following UX and UI components:

  • description
  • reporting location (discord leftist server, Breadchain feedback channel)
  • Return home (bake page)

OLD:

image

NEW:

image

The latest version can be found in the Figma link Dark & Light mode:

https://www.figma.com/design/2sWRCrux6a47zBXTwDVJxh/Breadchain-crowdstake?node-id=6954-58140&t=E8JYQmTzFcAHs58k-1

@diterra-code diterra-code added the enhancement New feature or request label Nov 8, 2024
@secbajor
Copy link
Contributor

In GovernancePage.tsx there are several pieces of data required for loading the page, otherwise we show an error message. This issue describes the updated error message that should be displayed if an error is found in the screenshotted code below (replace the spinner and "Please wait..." text).

Image

@subject026
Copy link
Member

I think this should more or less only occur in 2 scenarios:

  1. There is a problem with RPC endpoint(s) like we experienced in November.
  2. There is a problem with a user's network connection.

It might be worth considering keeping track of a user's connection status in a custom hook using this browser API and showing a "check your network connection" type message in that situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants