netbirdio / dashboard

NetBird Management Service Web UI Panel

Home Page:https://app.netbird.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update peer details view layout

braginini opened this issue · comments

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