Repository navigation
fix(ui): restore scrollbar in skill workshop board mode - #108197
Conversation
65bc2a5 to
9c9c6bd
Compare
The flex height constraint chain was broken at three points in the board-mode layout, preventing both the proposal queue and detail body from scrolling: 1. .sw-hub-panel > .skill-workshop used a > child selector but .skill-workshop is nested inside an inner wa-tab-panel wrapper, so the rule never matched. Switched to a descendant selector. 2. #skill-workshop-mode-panel (the inner tab panel) had no flex styles, defaulting to display:block which cannot pass through flex height constraints. Added explicit flex container styles. 3. The wa-tab-panel shadow-DOM part(base) wrapper also needs flex overrides to fill the host height. Added part selectors with display:flex, flex:1, min-height:0, and width:100% to preserve full-width block behavior for non-flex children like the history scan banner. Also added flex-shrink:0 to .sw-history so the banner does not collapse when .skill-workshop receives a definite height. Fixes openclaw#108196
9c9c6bd to
755e609
Compare
|
Codex review: needs maintainer review before merge. Reviewed July 15, 2026, 9:53 PM ET / July 16, 2026, 01:53 UTC. Summary PR surface: Source +20. Total +20 across 1 file. Reproducibility: yes. at source level: the old direct-child selector cannot match the documented nested tab-panel structure, breaking the flex height chain. An independent interactive reproduction against the latest main checkout was not established. Review metrics: none identified. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the scoped flex-chain correction after refreshing it onto current main, preserving the two-pane board layout and confirming that both panes scroll independently with long content. Do we have a high-confidence way to reproduce the issue? Yes at source level: the old direct-child selector cannot match the documented nested tab-panel structure, breaking the flex height chain. An independent interactive reproduction against the latest main checkout was not established. Is this the best way to solve the issue? Yes. Repairing the existing flex constraint chain in the owning stylesheet is narrower and more maintainable than adding JavaScript sizing or a competing scrolling mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a14fad5ff809. Label changesLabel justifications:
Evidence reviewedPR surface: Source +20. Total +20 across 1 file. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
Merged via squash.
|
) The flex height constraint chain was broken at three points in the board-mode layout, preventing both the proposal queue and detail body from scrolling: 1. .sw-hub-panel > .skill-workshop used a > child selector but .skill-workshop is nested inside an inner wa-tab-panel wrapper, so the rule never matched. Switched to a descendant selector. 2. #skill-workshop-mode-panel (the inner tab panel) had no flex styles, defaulting to display:block which cannot pass through flex height constraints. Added explicit flex container styles. 3. The wa-tab-panel shadow-DOM part(base) wrapper also needs flex overrides to fill the host height. Added part selectors with display:flex, flex:1, min-height:0, and width:100% to preserve full-width block behavior for non-flex children like the history scan banner. Also added flex-shrink:0 to .sw-history so the banner does not collapse when .skill-workshop receives a definite height. Fixes openclaw#108196
) The flex height constraint chain was broken at three points in the board-mode layout, preventing both the proposal queue and detail body from scrolling: 1. .sw-hub-panel > .skill-workshop used a > child selector but .skill-workshop is nested inside an inner wa-tab-panel wrapper, so the rule never matched. Switched to a descendant selector. 2. #skill-workshop-mode-panel (the inner tab panel) had no flex styles, defaulting to display:block which cannot pass through flex height constraints. Added explicit flex container styles. 3. The wa-tab-panel shadow-DOM part(base) wrapper also needs flex overrides to fill the host height. Added part selectors with display:flex, flex:1, min-height:0, and width:100% to preserve full-width block behavior for non-flex children like the history scan banner. Also added flex-shrink:0 to .sw-history so the banner does not collapse when .skill-workshop receives a definite height. Fixes openclaw#108196
What Problem This Solves
In the Skill Workshop page, when viewing proposals in board mode, neither the proposal list (left panel) nor the proposal detail body (right panel) shows a scrollbar. Users can only see the content that fits on screen and cannot scroll to view the rest.
Fixes #108196
Why This Change Was Made
The flex height constraint chain was broken at three points in
ui/src/styles/skill-workshop.css:.sw-hub-panel > .skill-workshopused the>direct-child combinator, but.skill-workshopis nested inside an innerwa-tab-panel#skill-workshop-mode-panel, so the rule never matched. Fixed by switching to a descendant selector.wa-tab-panel#skill-workshop-mode-paneldefaulted todisplay: block, which cannot pass through flex height constraints. Added explicit flex container styles.wa-tab-panelshadow DOM internalslot[part="base"]also needed::part(base)flex overrides to fill the host element height.User Impact
Users of the Skill Workshop in board mode can now properly scroll through both the proposal list and the proposal detail body.
Evidence
cd ui && pnpm build— passed.Before
The queue and detail content are clipped with no usable scrollbar.
After
Both panes expose their intended scrollable content.