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

Local-only node browser navigation page #214

Closed
justparking opened this issue May 21, 2021 · 2 comments
Closed

Local-only node browser navigation page #214

justparking opened this issue May 21, 2021 · 2 comments
Labels
enhancement feature request inconvenience proposal A feature or update proposal where feedback is sought.

Comments

@justparking
Copy link
Contributor

Currently this navigation path exists:

  1. node interface ($NODE/index.xml) ⟶
  2. global node browser (/nodes.xml) ⟶
  3. local server diagnostics (/diagnostics.xml)

Sometimes it can be useful to know exactly what's running on the server you're browsing i.e. local-only nodes. Besides that, sometimes the server is accessed from restricted locations that prevent the entire global list of nodes from being directly browsed and having a local-only list makes it clear and convenient what can be accessed.

To achieve that, I propose another step is added to the navigation path (see step 2. below)

  1. node interface ($NODE/index.xml) ⟶
  2. 🟢local node browser (/locals.xml) ⟶🟢
  3. global node browser (/nodes.xml) ⟶
  4. server diagnostics (/diagnostics.xml)

For local node browser, only nodes hosted on the current webserver will be shown and relative paths will be used instead of the absolute path the global browser currently provides.

(@mcartmel @scroix @paxofsnax and others - feedback welcome!)

@justparking justparking added enhancement inconvenience feature request proposal A feature or update proposal where feedback is sought. labels May 21, 2021
@scroix
Copy link
Member

scroix commented May 21, 2021

The simple feedback is yes, this is a great idea. If I'm working on a network with multiple active node-hosts, I often find myself launching with the --interface lo flag to achieve a similar result.

When I start to think about it. There's a few questions that arise, such as:

  • How does one know to navigate to /locals.xml. This also applies to other commonly used pages (Where did the REST API reference go? #202).
  • Is this best achieved through the use of an additional page, or could index.xml include a filter for node-hosts? They're already differentiated by distinct icons.

@justparking
Copy link
Contributor Author

justparking commented Oct 5, 2021

Release notes are:

  • feature Local-only node browser navigation page #214: local-only browsing and navigation update:
    • local host (self) browsing now default
    • nodel icon to always browse nodel network
    • dynamic host icon to always browse local host (self) only
    • "Add node here" button only available when browsing local host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature request inconvenience proposal A feature or update proposal where feedback is sought.
Projects
None yet
Development

No branches or pull requests

2 participants