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

Reflect not active rpc #35

Merged
merged 6 commits into from
Sep 7, 2023
Merged

Conversation

Flocqst
Copy link
Contributor

@Flocqst Flocqst commented Sep 2, 2023

Description

Added a message that appears when the rpc goes down (created a new RpcDownMessage component using existing styles), preventing the user from displaying data/doing actions that require rpc to be up. The message disappears as soon as the rpc is up.
Followed indications of the related issue (see below) to have an experience akin to Browser DevTools.

Related issue

#9

How Has This Been Tested?

On dev environment, produced expected behaviour by shutting down rpc, then turning it up again. Everything works as expected (see screens below).

Screenshots

Screenshot 2023-09-02 at 18 15 09

Screenshot 2023-09-02 at 18 16 07

Copy link
Member

@jxom jxom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just one small comment. Let me know if that's okay!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start! Might be nice if we could use Radix Dialog so we can get all the accessibility features out of the box here!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! Sure, let me know if what i've done works for you now.

@jxom jxom merged commit 7310f08 into paradigmxyz:main Sep 7, 2023
0 of 2 checks passed
@jxom
Copy link
Member

jxom commented Sep 7, 2023

thanks!

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