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

Update peer details view layout #193

Open
braginini opened this issue Jun 1, 2023 · 0 comments
Open

Update peer details view layout #193

braginini opened this issue Jun 1, 2023 · 0 comments

Comments

@braginini
Copy link
Contributor

braginini commented Jun 1, 2023

Currently the peer detailed view is a popup.
The layout should be changed according to the new design (see below)

Some points to consider:

  1. If the key was added with a setup key - the email address won't be sent by the API. Just show empty
  2. A new component is added - Network Routes. Need to call an API to fetch routes for the peer and display them.
  • Call the API to /api/routes just like how it is done in the Network Routes tab
  • Filter routes by Route.Peer filed which is the peer ID - we should display only routes of the peer we are editing
  1. The network routes section looks similar to the Access Tokens in the Users tab

image
Some routes:
image

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

No branches or pull requests

1 participant