Skip to content

fix(ui): show New Session failures in a centered alert - #107997

Merged
steipete merged 2 commits into
mainfrom
codex/center-new-session-error
Jul 15, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/center-new-session-error

Conversation

@steipete

@steipete steipete commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Closes #107992

What Problem This Solves

Fixes an issue where users whose New Session creation or cloud startup failed would see a plain red sentence stretched across the page, visually detached from the centered workflow.

Why This Change Was Made

Draft failures now use the existing danger-callout design with a dedicated status icon, alert semantics, centered bounded layout, and safe wrapping for long backend messages. Folder-browser errors remain compact and inline instead of inheriting the page-level presentation.

User Impact

New Session failures are easier to notice and scan, stay centered with the composer, and remain readable on narrow screens. Retry behavior and backend error text are unchanged.

Evidence

AI-assisted implementation; reviewed and validated against the affected UI flow.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 15, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aae2f62e5c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md Outdated
@@ -40,6 +40,7 @@ Docs: https://docs.openclaw.ai

### Fixes

- **Control UI New Session errors:** center creation and cloud-start failures in a themed alert card with an accessible status icon and readable wrapping.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove the manual changelog entry

For this normal UI fix, adding an Unreleased entry here conflicts with AGENTS.md:299, which says CHANGELOG.md is release-only and should not be edited for normal PRs or direct main fixes; AGENTS.md:301 says release generation derives entries from commits/PRs. Keeping this line risks duplicate or stale release notes during the generated changelog step, so the release-note context should stay in the commit/PR body instead.

Useful? React with 👍 / 👎.

@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Jul 15, 2026
@steipete
steipete force-pushed the codex/center-new-session-error branch from daa7040 to e7fe071 Compare July 15, 2026 04:25
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Jul 15, 2026
@steipete steipete self-assigned this Jul 15, 2026
@steipete
steipete merged commit 4a6dc1f into main Jul 15, 2026
87 of 89 checks passed
@steipete
steipete deleted the codex/center-new-session-error branch July 15, 2026 04:37
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 15, 2026
* fix(ui): center new session errors

* chore: remove release-owned changelog entry
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* fix(ui): center new session errors

* chore: remove release-owned changelog entry
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.

[Bug]: Center New Session errors in a readable alert

1 participant