Skip to content

feat(watcher): bottom-anchored collapsible sections (Resources / Gate / Rate)#35

Merged
ProtocolWarden merged 1 commit into
mainfrom
style/bottom-anchored-collapsible-sections
May 8, 2026
Merged

feat(watcher): bottom-anchored collapsible sections (Resources / Gate / Rate)#35
ProtocolWarden merged 1 commit into
mainfrom
style/bottom-anchored-collapsible-sections

Conversation

@ProtocolWarden
Copy link
Copy Markdown
Owner

Restructured the bottom of the pane: System Resources, Global Gate, and Global Rate are now three independently collapsible sections, all bottom-anchored.

Default state: System Resources open; Global Gate + Global Rate collapsed (operator expands as needed with click-on-header or c).

─────────────────────────────────────
▼ System Resources
                  1m      5m     15m
  Processes/Queue …
  CPU Utilization …
  RAM    █████░░░ 62%  …
  Swap   █░░░░░░░  9%  …
─────────────────────────────────────
▶ Global Gate
─────────────────────────────────────
▶ Global Rate
  • Replaced flat _resources_lines() with _bottom_sections() returning the same shape as top sections.
  • Removed the top-section 'budget' build (Global Rate moved to bottom).
  • Bottom render loop renders each section with collapse marker, hit-tests work uniformly with the top sections.

🤖 Generated with Claude Code

Restructured the bottom of the pane: System Resources, Global Gate,
Global Rate are now three independently collapsible sections, all
bottom-anchored. Default open: System Resources only; Gate + Rate
start collapsed.

- Replaced flat _resources_lines() with _bottom_sections() → list[dict]
- Removed top-section 'budget' (Global Rate moved to the bottom block)
- Bottom render loop: spacer + divider, then each section header (and
  body if expanded), divider between sections
- Click-on-header / 'c' / mouse-wheel hit-testing all work uniformly
  (the new sections register in section_rows + header_rows)
- collapsed_sections init: gate + rate True; system_resources False
@ProtocolWarden ProtocolWarden merged commit 83f2ce4 into main May 8, 2026
5 checks passed
@ProtocolWarden ProtocolWarden deleted the style/bottom-anchored-collapsible-sections branch May 8, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant