feat(watcher): bottom-anchored collapsible sections (Resources / Gate / Rate)#35
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)._resources_lines()with_bottom_sections()returning the same shape as top sections.🤖 Generated with Claude Code