Collapse sections by clicking their title bar (ticket 006)
Alerts, Metrics, Params, and Dashboards now toggle collapsed state when their header row is clicked, instead of requiring a dedicated collapse button. The chevron (CollapseToggle) becomes a purely visual, non-focusable indicator for these sections; HelpIcon and PopOutButton now stop propagation so they keep working without also collapsing the section. The log viewer's toggle (App.tsx/FilterBar) keeps its dedicated button, since that row is a filter toolbar with an editable input rather than a plain title bar, so CollapseToggle's onToggle prop stays available for that case. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XFUNZwCvz3kcod3352ZR2o
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
01eadf415c
commit
5038295554
@@ -1,8 +0,0 @@
|
||||
# Collapse sections by clicking title bar instead of a dedicated button
|
||||
|
||||
Instead of having collapse buttons on the main view components/categories, clicking the title bars should collapse them.
|
||||
|
||||
## Acceptance criteria
|
||||
- Clicking a section's title bar toggles its collapsed/expanded state.
|
||||
- Dedicated collapse buttons are removed (or repurposed as a visual indicator only, e.g. a chevron, without being the sole click target).
|
||||
- Title bar remains usable for any other existing interactions (if any) without conflicting with the collapse click.
|
||||
Reference in New Issue
Block a user