mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 04:33:17 +00:00
Turn the older-agent notice into one quiet line
Every Proxmox, Docker, Kubernetes, TrueNAS, vSphere and Machines tab opened with a three-line amber warning about hosts on an older Pulse agent, listing names and a Show all button above the monitoring data. An outdated agent is maintenance, not an incident, and the warning competed with real problems for attention on every visit. The notice is now one sentence in the info tone with the upgrade link inline. The affected names sit behind a "Which hosts?" toggle, so every name is still one click away and the inventory starts higher on the page.
This commit is contained in:
@@ -8049,12 +8049,14 @@ backend deletion or destination delivery.
|
||||
|
||||
### Large platform notices keep the inventory in view
|
||||
|
||||
`PlatformOutdatedAgentNotice` previews at most three affected names and exposes
|
||||
the full list through a keyboard-operable button when more hosts are outdated.
|
||||
The count, update guidance and action link remain visible. This keeps a
|
||||
large-estate stale-agent warning from pushing the platform inventory and
|
||||
Storage search below the phone viewport while preserving every affected name
|
||||
on demand. The component test pins collapsed, expanded and collapsed-again
|
||||
`PlatformOutdatedAgentNotice` is maintenance guidance, not an incident, so it
|
||||
renders as one sentence in the info tone: the count, what the update brings,
|
||||
a keyboard-operable "Which hosts?" toggle (any count above one) that reveals
|
||||
every affected name, and the upgrade link inline in the same line rather than
|
||||
on an action row. This keeps the stale-agent notice from pushing the platform
|
||||
inventory and Storage search below the fold at desktop and phone widths, and
|
||||
from competing with real warnings for attention, while preserving every
|
||||
affected name on demand. The component test pins collapsed, expanded and collapsed-again
|
||||
states; 1440px, 768px and 390px browser checks verify placement and overflow.
|
||||
The shared `InlineNotice` action text uses opaque 800-level colors for its four
|
||||
tones. The current Tailwind configuration overrides several 900-level palette
|
||||
|
||||
Reference in New Issue
Block a user