Skip to content

Commit 0a380c8

Browse files
committed
ui: panel restructure — active-studio subpanel, compact details, queue promoted
Coherent UI pass against the user's feedback that the panel had grown into a wall of stacked rows. Six concrete changes, one commit: 1. Active-Studio details split into STAGE_PT_active_studio. The per-Studio details (lock, name, parent, group, output, capture toggles, notes, tags, stored props, post-render actions) used to live inside STAGE_PT_main, inflating the main panel by ~15 rows and pushing every other subpanel off-screen. Now they live in their own collapsible subpanel that polls False when no Studio is active (panel hidden entirely, no empty header). 2. Capture toggles compacted to one icon-toggle row. Was 5 stacked rows of named checkboxes (Camera / World / Visibility / Render Settings / Output Path). Now a single row of 5 icon toggles with property tooltips — saves 4 vertical rows without losing affordance. 3. Lock demoted to subpanel header icon. Was a full-width button under Render. Now a small lock/unlock icon next to the Studio name in the Active Studio header — out of the way until you actually need to toggle it. Subpanel body greys out when locked, same as before. 4. Resolved-path hint reformatted as folder-above-filename. The "→ /Users/.../Renders/Studio_…0001.png" hint used to truncate ugly. Now renders as a small two-line box: the (truncated-from- the-left if needed) directory above, the full filename below with the FILE_TICK icon. Long Renders folders read clean. 5. Default Output Path moved to the bottom of STAGE_PT_main. Useful but rarely changed — was eating prime panel real estate at the top. Now sits below the Apply/Update/Render row where it's still discoverable but doesn't dominate. 6. Subpanel stack reordered via bl_order: 0 Stage (list + controls) 1 Active Studio (auto-hidden when empty) 2 Render Queue (promoted from bottom; primary workflow) 3 Bulk Edit (default closed) 4 Groups (default closed) 5 Stored Properties (default closed) Render Queue used to be at the bottom; promoting it puts the render workflow near the top where you actually use it. Other: - Render Queue panel is no longer DEFAULT_CLOSED (it's now a top-of- stack workflow panel, deserves to be open by default). Test: bumped test_queue_panel_registered to assert the new bl_order + that DEFAULT_CLOSED is gone. Total suite: 170/171 (lone pre-existing dirty-state reload flake unchanged).
1 parent fab4a87 commit 0a380c8

4 files changed

Lines changed: 246 additions & 149 deletions

File tree

stage/ui/lister.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ class STAGE_PT_lister(Panel):
4949
bl_region_type = 'UI'
5050
bl_category = "Stage"
5151
bl_options = {'DEFAULT_CLOSED'}
52+
# Bottom of the stack — it's a global-search panel, not in the daily
53+
# workflow flow (active Studio → queue → bulk → groups).
54+
bl_order = 5
5255

5356
def draw(self, context):
5457
layout = self.layout

0 commit comments

Comments
 (0)