Add ON/OFF toggle for the Extra column, persisted in localStorage

Users can now show/hide the Service Discovery / copy buttons column
from the view.py menu bar instead of always seeing it, with the choice
remembered across reloads and views.
This commit is contained in:
Luigi D'Acunto 2026-07-30 15:10:13 +02:00
parent 69e872569c
commit 5fa0506bdd
3 changed files with 103 additions and 4 deletions

View file

@ -30,6 +30,7 @@ A [Tampermonkey](https://www.tampermonkey.net/) userscript that enhances the Che
| **Collapse All / Expand All** | Adds two buttons to the menu bar to collapse or expand all accordion sections at once | `addAccordionToggleButtons` |
| **Site Status Filters** | Adds Disabled / Online / Timeout / Not running toggle buttons below "Add connection" to quickly filter the site connections list | `addSitesFilterBar` |
| **ListChoice Filter Bar** | Adds a search box, a "N / total selected" counter and a "Selected only" toggle above large checkbox lists (e.g. "Deploy custom files with agent") | `addListChoiceFilter` |
| **Extra Column Toggle** | Adds an ON/OFF button to the menu bar to show/hide the Extra column; the choice is remembered across reloads | `addExtraColumnToggle` |
---
@ -93,6 +94,8 @@ Hostnames longer than 32 characters are truncated with an ellipsis in the Host c
Applies to: `view.py` host and service views.
An **"Extra column: ON/OFF"** button in the menu bar (next to "Configure in WATO", when present) lets you hide or show this column. The choice is saved in the browser's local storage, so it stays the same across reloads and on every monitoring view.
---
### Monitor Button on WATO Folder Pages