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

feat(ui): display end of peerid instead of front #1252

Merged
merged 1 commit into from
Mar 3, 2023
Merged

Conversation

jacobheun
Copy link
Contributor

Summary

Fixes #1238
Instead of displaying the common characters in a Peer ID, this will display the end of the PeerId. This makes it easier to quickly discern requests from different peers.

You can see in the screenshots below of the exact same data that while the PeerIDs all look the same before, showing the last 8 characters instead of the first 8 clearly shows they're all unique peers.

Before
Screenshot 2023-03-03 at 2 08 34 PM

After
Screenshot 2023-03-03 at 2 16 41 PM

Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

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

Thanks!

@dirkmc dirkmc merged commit 0a553d1 into main Mar 3, 2023
@dirkmc dirkmc deleted the feat/ui-peer-id branch March 3, 2023 13:57
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.

Update PeerID displays in the UI so that more than just the common prefix is displayed
2 participants