Repository navigation
feat(herdr): show the Refactoria beard on the collapsed sidebar - #112
Conversation
On the macOS rail the traffic lights fill the header row, so the logo was hidden. The header now grows to 84px while collapsed and draws the beard alone under the traffic lights, then returns to 46px when expanded.
Fleet review (glm)Lens: requirements + adversarial. Small, self-contained mod change. Verified against the shipped layout herdr/desktop/layouts/refactoria.json on main: the 'brand' block exists (type block, content.mod refactoria-chrome, size.px 46), so find(layout(), "brand")?.size?.px resolves and the initial expanded height matches BRAND_PX. The once-per-change guard in syncBrandHeight holds under both synchronous and asynchronous layout updates (pendingBrandPx is cleared when current === want and short-circuits repeat asks), and the footer instance of the mod returns early before reaching the sync call, so only the header instance drives the resize. No linked issue; criteria taken from the PR body. Three non-blocking observations below; none produces wrong behavior on the paths I could verify. Suggestion (2)
Question (1)
Verdict: ready to merge |
Post-merge QA (glm)Lens: requirements + adversarial. Small, self-contained mod change. Verified against the shipped layout herdr/desktop/layouts/refactoria.json on main: the 'brand' block exists (type block, content.mod refactoria-chrome, size.px 46), so find(layout(), "brand")?.size?.px resolves and the initial expanded height matches BRAND_PX. The once-per-change guard in syncBrandHeight holds under both synchronous and asynchronous layout updates (pendingBrandPx is cleared when current === want and short-circuits repeat asks), and the footer instance of the mod returns early before reaching the sync call, so only the header instance drives the resize. No linked issue; criteria taken from the PR body. Three non-blocking observations below; none produces wrong behavior on the paths I could verify. Suggestion (2)
Question (1)
Verdict: clean |
Post-merge QA (deepseek)Lens: evidence + test design. PR #112 makes the collapsed macOS rail header draw the Refactoria beard alone (28 px, bottom-aligned under the traffic lights) and keeps the layout's Suggestion (1)
Question (1)
Verdict: clean |
Summary
refactoria-chromedraws the Refactoria beard alone (28px), centered under the traffic lights.brandblock to 84px while the sidebar is collapsed and back to 46px when it expands. It follows the rail whether it narrows through the toggle button or by dragging the edge, and asks for each resize once to avoid a render loop.Verification
herdr-app checkpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_01A9D7phtHFYfszv6WKeXbiU