netdata-cloud icon indicating copy to clipboard operation
netdata-cloud copied to clipboard

[Feat]: Collapse/expand in the main Nodes view and in the right menu

Open ilyam8 opened this issue 2 years ago • 3 comments

Problem

Lack of collapse/expand in the main Nodes view and in the right menu.

Description

Add an ability to collapse/expand Live/Stale nodes in the main Nodes view and in the right menu.

Screenshot 2023-10-31 at 13 47 55

Importance

really want

Value proposition

  1. Less noise/cleaner view by default. ND doesn’t remove stale ephemeral nodes so they keep stacking in Stale. Some Users ended up removing metadata from SQLite just to get rid of them.
  2. Faster switching between live/stale. If I want to check stale nodes I need to go to Dynamic filters, select Nodes Status, and select Stale. It sounds like not a big deal until you use it - it feels not natural - if the main view shows Live and Stale there should be a faster way to do it.

Proposed implementation

Use the same default as we use in the Nodes filter:

  • Live: expanded by default.
  • Stale: collapsed by default.

ilyam8 avatar Oct 31 '23 11:10 ilyam8

this is done

https://github.com/netdata/netdata-cloud/assets/82235632/82a393fd-0c45-4025-85e0-d8dc4f15111c

hugovalente-pm avatar Dec 28 '23 15:12 hugovalente-pm

@hugovalente-pm doesn't work on our parent instance using local UI

https://github.com/netdata/netdata-cloud/assets/22274335/1647e0fc-2852-4b53-959e-e1e690b827e8

ilyam8 avatar Dec 28 '23 15:12 ilyam8

Also, clicking on expanded should collapse. Imagine you have 300 hosts and you want to get to Stale/Offline - you will need to scroll (and scroll and scroll) down, because clicking on Live (first expanded) does nothing.

ilyam8 avatar Dec 28 '23 15:12 ilyam8