Skip to content

fix(ui): keep custodian startup errors near composer - #115720

Merged
vincentkoc merged 1 commit into
mainfrom
fix/custodian-layout-gap
Jul 29, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/custodian-layout-gap

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 29, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where Ask OpenClaw users who hit a blocking inference/setup error would see the disabled composer pinned nearly a full viewport below the error banner.

Why This Change Was Made

The shared custodian surface now switches to content-sized grid rows only when the transcript is empty and a settled error is visible. Normal conversations and the docked panel keep the existing fill-height chat layout.

User Impact

Blocking startup errors and their composer now stay together near the top of the page instead of leaving a huge empty gap.

Evidence

  • Deterministic Chromium reproduction at 1600×1200: vertical alert-to-composer gap drops from 957.9px to 32px.
  • node scripts/run-vitest.mjs ui/src/pages/custodian/custodian-page.test.ts ui/src/components/custodian/custodian-panel.test.ts — 32 tests passed.
  • node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/custodian-event-nudge.e2e.test.ts — 5 tests passed.
  • node scripts/check-changed.mjs — passed on Blacksmith Testbox.
  • Final autoreview after rebasing onto current main: clean, no accepted/actionable findings.
  • Testbox proof: https://github.com/openclaw/openclaw/actions/runs/30429218787

@vincentkoc vincentkoc self-assigned this Jul 29, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 29, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review July 29, 2026 07:25
@vincentkoc
vincentkoc force-pushed the fix/custodian-layout-gap branch 2 times, most recently from 05c0eff to 45b19b3 Compare July 29, 2026 08:12
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Jul 29, 2026
@vincentkoc
vincentkoc marked this pull request as draft July 29, 2026 08:17
@vincentkoc
vincentkoc marked this pull request as ready for review July 29, 2026 08:17
@vincentkoc
vincentkoc force-pushed the fix/custodian-layout-gap branch from 45b19b3 to 7b3207d Compare July 29, 2026 08:21
@openclaw-barnacle openclaw-barnacle Bot removed the agents Agent runtime and tooling label Jul 29, 2026
@vincentkoc
vincentkoc merged commit 0f9c702 into main Jul 29, 2026
176 of 180 checks passed
@vincentkoc
vincentkoc deleted the fix/custodian-layout-gap branch July 29, 2026 08:43
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Jul 29, 2026
* origin/main:
  fix(zalo): stop provider startup after gateway shutdown (#115763)
  fix(agents): bound completed background process retention (#115760)
  fix(plugins): bound hook execution and retire stale registrations (#115695)
  fix(ui): collapse custodian startup error gap (#115720)
  fix(gateway): reload edited hook transforms (#107875)
  refactor: centralize channel streaming config hints (#115739)
  fix(msteams): finalize sent replies after dispatch (#82354)
  fix(cron): deliver explicitly configured failure alerts (#115762)
  fix(hooks): resolve inbound claim conversation once (#115491)
  refactor: retire legacy provider and secret paths (#115655)
  fix(memory): reject malformed QMD result entries (#115705)
  fix(diagnostics): keep internal thinking out of telemetry [AI] (#115261)
  fix(ui): localize remaining control surfaces (#115730)
  fix(gateway): prevent model owner mismatch after plugin activation (#115747)
  fix(agents): run reply hooks for restart recovery (#115711)
  fix(cron): initialize detached hook run sessions (#115765)
  fix(ios): keep stop available for staged voice notes (#115744)
  fix(doctor): preserve config includes during cleanup (#115723)
  fix(memory): keep dreaming consolidation within project scope (#115721)
  fix(discord): keep tool rows under verbose progress (#111947)

# Conflicts:
#	ui/src/pages/custodian/custodian-surface.ts
#	ui/src/styles/custodian.css
vincentkoc added a commit that referenced this pull request Jul 29, 2026
…ft-ingestion

* origin/main:
  fix(feishu): reject unsupported initial document content (#115697)
  feat(media): probe duration and dimensions for playback metadata (#115728)
  fix(sandbox): scope runtimes by workspace (#115766)
  fix(ui): guide users through missing or broken AI setup (#115716)
  fix(sessions): return direct-agent replies to their active session (#115756)
  fix(zalo): stop provider startup after gateway shutdown (#115763)
  fix(agents): bound completed background process retention (#115760)
  fix(plugins): bound hook execution and retire stale registrations (#115695)
  fix(ui): collapse custodian startup error gap (#115720)
  fix(gateway): reload edited hook transforms (#107875)
  refactor: centralize channel streaming config hints (#115739)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
…ft-ingestion

* origin/main:
  fix(feishu): reject unsupported initial document content (openclaw#115697)
  feat(media): probe duration and dimensions for playback metadata (openclaw#115728)
  fix(sandbox): scope runtimes by workspace (openclaw#115766)
  fix(ui): guide users through missing or broken AI setup (openclaw#115716)
  fix(sessions): return direct-agent replies to their active session (openclaw#115756)
  fix(zalo): stop provider startup after gateway shutdown (openclaw#115763)
  fix(agents): bound completed background process retention (openclaw#115760)
  fix(plugins): bound hook execution and retire stale registrations (openclaw#115695)
  fix(ui): collapse custodian startup error gap (openclaw#115720)
  fix(gateway): reload edited hook transforms (openclaw#107875)
  refactor: centralize channel streaming config hints (openclaw#115739)
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 maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant