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:
- If the key was added with a setup key - the email address won't be sent by the API. Just show empty
- 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
- The network routes section looks similar to the Access Tokens in the Users tab