Skip to content

Conversation

@BlaineHeffron
Copy link
Contributor

Adds a network pill component to display app's network to user

image

If the user's wallet is not connected the circle indicator is grey, if they are connected and on the same network as the app the indicator is green, if on a different network its red and a tooltip says that they are not on the same network as the app.

@BlaineHeffron
Copy link
Contributor Author

resolves #43

@BlaineHeffron BlaineHeffron requested a review from pselle May 30, 2025 14:16
@pselle pselle requested a review from a team May 30, 2025 14:48
Copy link
Member

@pselle pselle left a comment

Choose a reason for hiding this comment

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

Looks good! My first comment was pattern matching what I saw in the image with a tooltip for the hover situation, but I think we can start here, so I scratched out that comment.

Only feedback for a change here is on using the stellarNetwork directly, otherwise looking good!

@chadoh
Copy link
Member

chadoh commented May 30, 2025

Should we avoid rendering the component if network is mainnet? That's the presumable long-term default userbase for the apps people will build.

@pselle
Copy link
Member

pselle commented May 30, 2025

@chadoh I suggest we leave it for now since it's a request from Jane

@BlaineHeffron BlaineHeffron merged commit 6b47696 into main May 30, 2025
1 check passed
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.

4 participants