Skip to content

fix(ui): restore scrollbar in skill workshop board mode - #108197

Merged
steipete merged 1 commit into
openclaw:mainfrom
xianshishan:fix/workshop-proposal-scrollbar
Jul 16, 2026
Merged

steipete merged 1 commit into
openclaw:mainfrom
xianshishan:fix/workshop-proposal-scrollbar

Conversation

@xianshishan

@xianshishan xianshishan commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

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:

  1. CSS child selector mismatch: .sw-hub-panel > .skill-workshop used the > direct-child combinator, but .skill-workshop is nested inside an inner wa-tab-panel#skill-workshop-mode-panel, so the rule never matched. Fixed by switching to a descendant selector.
  2. Missing flex styles on inner tab panel: wa-tab-panel#skill-workshop-mode-panel defaulted to display: block, which cannot pass through flex height constraints. Added explicit flex container styles.
  3. Shadow DOM boundary: The wa-tab-panel shadow DOM internal slot[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.
  • Exact-head CI gate — passed.
  • CSS-only fix, scoped to Skill Workshop.

Before

The queue and detail content are clipped with no usable scrollbar.

Skill Workshop board before the fix, with clipped proposal content

After

Both panes expose their intended scrollable content.

Skill Workshop board after the fix, with restored scrollbars

@xianshishan
xianshishan force-pushed the fix/workshop-proposal-scrollbar branch from 65bc2a5 to 9c9c6bd Compare July 15, 2026 09:21
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
@xianshishan
xianshishan force-pushed the fix/workshop-proposal-scrollbar branch from 9c9c6bd to 755e609 Compare July 16, 2026 01:04
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. labels Jul 16, 2026
@clawsweeper

clawsweeper Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 15, 2026, 9:53 PM ET / July 16, 2026, 01:53 UTC.

Summary
The PR adjusts Skill Workshop flex and shadow-part CSS so the board-mode proposal list and detail pane regain bounded, scrollable layouts.

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
Relationship: fixed_by_candidate
Canonical: #108196
Summary: This PR is the explicit candidate fix for the paired open bug report.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🐚 platinum hermit ✨ media proof bonus
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • none.

Risk before merge

  • [P1] The PR base is behind current main, so maintainers should refresh the merge result and visually recheck the board against the latest tab-panel structure before landing.

Maintainer options:

  1. Decide the mitigation before merge
    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.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • No automated repair is indicated because the proposed patch has no concrete review defect; it needs ordinary maintainer refresh and merge review.

Security
Cleared: The CSS-only diff adds no dependency, permission, secret, downloaded-code, execution, or supply-chain surface.

Review details

Best 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 changes

Label justifications:

  • P2: This fixes a real but limited-blast-radius Control UI regression in the optional Skill Workshop board view.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The paired before screenshot and PR after screenshot directly address the visible scrollbar regression; the image should remain free of private endpoints, credentials, and other sensitive details.
  • proof: sufficient: Contributor real behavior proof is sufficient. The paired before screenshot and PR after screenshot directly address the visible scrollbar regression; the image should remain free of private endpoints, credentials, and other sensitive details.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The paired before screenshot and PR after screenshot directly address the visible scrollbar regression; the image should remain free of private endpoints, credentials, and other sensitive details.
Evidence reviewed

PR surface:

Source +20. Total +20 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 1 25 5 +20
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 25 5 +20

What I checked:

  • Changed surface: The branch replaces the selector that cannot reach the nested workshop, propagates flex height through the inner tab panel and its shadow-DOM base, and prevents the history banner from shrinking. (ui/src/styles/skill-workshop.css:46, 755e609a8362)
  • Root-cause consistency: The linked issue and PR describe a nested tab-panel structure that the previous direct-child selector cannot match, which directly explains the lost height constraint and inaccessible overflow. (ui/src/styles/skill-workshop.css:46, 755e609a8362)
  • Real behavior evidence: The paired issue supplies the before state and the PR supplies an after-fix screenshot for the visible scrollbar behavior; the PR's UI, build, lint, type, security, and CI-gate checks are reported successful. (755e609a8362)
  • Current-main relationship: The PR remains the explicit candidate fix for the open paired issue, with no supplied merged replacement or current-main fix provenance that would justify an implemented-on-main close. (a14fad5ff809)
  • Feature provenance: Skill Workshop history connects shakkernerd with the workshop workflow and adjacent board-mode behavior, making them the strongest available routing candidate. (ui/src/ui/views/skill-workshop.ts:1, 3037646d228d)

Likely related people:

  • shakkernerd: Feature history connects this contributor with the Skill Workshop workflow, board/today switching, and adjacent workshop behavior. (role: feature introducer and recent area contributor; confidence: high; commits: 3037646d228d, 3cd368edec85, 908fc35b97f7; files: ui/src/styles/skill-workshop.css, ui/src/ui/views/skill-workshop.ts, src/skills/workshop/policy.ts)
  • vincentkoc: Recent project history connects this contributor with substantial Control UI layout and interaction work adjacent to the affected surface. (role: recent Control UI contributor; confidence: medium; files: ui/src/styles/skill-workshop.css, ui/src/ui/app.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (1 earlier review cycle)
  • reviewed 2026-07-16T01:09:21.337Z sha 755e609 :: needs maintainer review before merge. :: none

@steipete steipete self-assigned this Jul 16, 2026
@steipete
steipete merged commit a7189d2 into openclaw:main Jul 16, 2026
131 of 138 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 17, 2026
)

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
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]Skill Workshop: proposal list and detail body have no scrollbar in board mode

2 participants