Commit graph

14 commits

Author SHA1 Message Date
Tim Abell
1f035a8d6d
Stop project panel from over-expanding on focus
Focus previously switched the box from Size to Weight: 2, giving the
panel ~2/7 of the side area regardless of how many rows it had. That
also ignored Gui.ExpandFocusedSidePanel — every other side panel only
expands on focus when accordion mode is on.

Route the project box through the same accordionBox helper as the
others. Stays fitted to content normally; expands on focus only when
the user opted in.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 12:22:13 +01:00
Tim Abell
fb6f7fd380
Size project panel to fit its rows when unfocused
Previously hard-coded to Size: 3 (one visible row) on the assumption
there was only ever one project. With profile pseudo-projects you can
have several rows, but they were hidden until you focused the panel.

Sizes to Len()+2 (rows plus borders), clamped to [3, 8] so the
single-project case is unchanged and a project with many profiles
can't squeeze out the other side panels.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 11:44:19 +01:00
copilot-swe-agent[bot]
e3c1c8630a Hide project/services panels when not in a docker-compose project
Co-authored-by: jesseduffield <8456633+jesseduffield@users.noreply.github.com>
2026-03-15 22:26:03 +00:00
Jesse Duffield
26ce871368 Improve projects support 2026-03-15 14:53:48 +11:00
Jesse Duffield
fc592b5806 more refactoring of list panels 2022-11-09 21:21:36 +11:00
Jesse Duffield
c6d424e4a4 show loader when filtering 2022-11-09 21:21:36 +11:00
Jesse Duffield
dfff845469 more refactoring 2022-11-09 21:21:36 +11:00
Jesse Duffield
f7beb6e83f stop support menu filtering for simplicity 2022-11-09 21:21:35 +11:00
Jesse Duffield
be347a7216 POC filtering on images panel 2022-11-09 21:21:35 +11:00
Jesse Duffield
46de6b365d clean up some things
remove redundant g argument
2022-10-09 18:36:42 -07:00
Jesse Duffield
540c592b04 prevent issue where opening popup in maximised main view shows popup in front of a side view 2022-10-09 18:03:57 -07:00
Jesse Duffield
aa8504b8f6 fix focus issues 2022-10-09 18:03:57 -07:00
Jesse Duffield
c6607686eb fix view stack code 2022-10-09 18:03:40 -07:00
Jesse Duffield
badc43b225 allow changing window size 2022-10-09 18:02:11 -07:00