Skip to content

fix(ui): wordmark on public conversation pages - #193876

Merged
vyctorbrzezowski merged 14 commits into
mainfrom
brzezowski/public-session-loading-brand
Nov 7, 2026
Merged

vyctorbrzezowski merged 14 commits into
mainfrom
brzezowski/public-session-loading-brand

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Public conversation pages used a small mascot and plain-text header, while access checks left their status near the top of an empty page.

User Impact

  • Shared conversations use the OpenClaw wordmark and an unframed assistant avatar.
  • Access checks show a decorative sidebar skeleton on desktop and a centered text wordmark on phones, with the mascot above the status.
  • Failed checks offer Reload and Log in. Reload keeps the link fragment; authentication and login destinations are unchanged.
  • Reduced motion stops the body, claws, ground and lids while slowing the eye scan.

Why This Change Was Made

Match the approved Control UI branding and status-page treatment. Shared SVG asset identifiers stay outside the environment-variable namespace; focused tests protect accessibility and recovery without freezing incidental markup.

Evidence

Existing before/after captures of the real page under its CSP, with the access probe held or failed: Chromium at 2× with reduced motion. These inspected captures are reused; the preparation repair changes only test expectations and internal export names, preserving the rendered assets and behavior.

Scenario Before After
Loading · desktop 1440 · light
Loading · phone 390 · light
Could not check access · desktop 1440 · light
Could not check access · desktop 1440 · dark
  • Node 24: 17 renderer tests pass (5.09 s wall, one worker); 48 operator-handoff, refresh and locale tests pass (7.10 s wall).
  • The original renderer failure was reproduced at the removed spinner assertion, then repaired to check the decorative mascot and readable status.
  • Environment-name, source-line and test-line guards pass without increasing budgets; scoped format checks pass.
  • Core production types, the affected Gateway test type graph, and scoped typed lint pass.
  • Hosted CI timing remains pending. No new browser capture or E2E suite was run for this mechanical repair.

The shared-conversation reader and its Loading conversation / Conversation
unavailable interstitials now show the theme-aware OpenClaw wordmark in the
topbar, and the access interstitials center their status in the viewport.
@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 6, 2026
@clawsweeper

clawsweeper Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Nov 6, 2026
@vyctorbrzezowski vyctorbrzezowski changed the title fix(ui): crisp wordmark on public conversation pages fix(ui): wordmark on public conversation pages Nov 6, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Nov 6, 2026
@clawsweeper

clawsweeper Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR adds a theme-aware wordmark, centers public conversation access screens, and enlarges the reader’s assistant avatar.

Example: Open a public conversation link at 1440px in light mode.

  • Before: The header shows a small mascot beside plain OpenClaw text, with the loading message near the top.
  • After: The header shows the vector wordmark, with the loading message centered vertically.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong visual evidence supports the intended result, but the counted constant name needs repair before merge.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The PR’s inspected browser screenshots show before/after public loading pages at desktop light/dark and mobile light sizes, plus a desktop reader with the new wordmark and larger avatar; these directly demonstrate the changed presentation.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Shared-link visitors see older branding and access-screen placement than the related operator-UI design.
Reason: The maintainer-authored direction is already an owner decision, and the screenshots demonstrate a coherent, narrowly scoped visual improvement.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this maintainer-authored PR open: the visual improvement is supported, but the new SVG constant introduces a source-verifiable ratchet failure.

Priority: P3
Reviewed head: 023d861d1e4a2ff2b6dcece0daf02dd9a4711f76

Before merge

  • Rename the SVG constant outside the counted environment namespace (P2) - The new OPENCLAW_WORDMARK_SVG identifier matches the raw /OPENCLAW_[A-Z0-9_]+/ scanner in scripts/check-env-var-count.mts. Both changed production files are counted, and the distinct name is absent from the introduction base while the budget remains unchanged, so the combined baseline ratchet rejects the added name. This renderer previously required the same correction for OPENCLAW_PITCH in commit 060b20e. Rename the export and its import/use, for example to PUBLIC_SESSION_WORDMARK_SVG, without increasing the environment-name budget.

Findings

  • [P2] Rename the SVG constant outside the counted environment namespace — src/shared/openclaw-wordmark.ts:6

Tests

  • Low-value test src/gateway/control-ui-public-session-render.test.ts: Remove the marker-only assertions for data-public-unavailable: they still pass with all centering CSS deleted and therefore do not prove the layout behavior claimed by their comment.
  • Missing end-to-end proof: The screenshots cover the changed visual behavior; red-on-base and green-on-head execution of the added assertions is not supplied.
Agent review details

How this fits together

The Gateway’s public-session renderer converts permitted conversation content or an unavailable state into standalone HTML, CSS, and a fixed reader script.

flowchart LR
  A[Shared conversation URL] --> B[Public session route]
  B --> C[Publication and access checks]
  C --> D[Public document renderer]
  E[Inline wordmark asset] --> D
  D --> F[Browser reader or access screen]
Loading

Technical review

Best possible solution:

Retain the focused visual change and rename the SVG constant and its references outside the counted OPENCLAW_ namespace.

Do we have a high-confidence way to reproduce the issue?

The before screenshots and fetched-main markup establish the prior visual treatment; source inspection also establishes that the added constant contributes a new counted environment name, without executing target code.

Is this the best way to solve the issue?

The existing renderer remains the presentation owner, and an inline SVG fits its standalone document contract; renaming the constant completes the change without changing the ratchet budget.

Full review comments:

  • [P2] Rename the SVG constant outside the counted environment namespace — src/shared/openclaw-wordmark.ts:6
    The new OPENCLAW_WORDMARK_SVG identifier matches the raw /OPENCLAW_[A-Z0-9_]+/ scanner in scripts/check-env-var-count.mts. Both changed production files are counted, and the distinct name is absent from the introduction base while the budget remains unchanged, so the combined baseline ratchet rejects the added name. This renderer previously required the same correction for OPENCLAW_PITCH in commit 060b20e. Rename the export and its import/use, for example to PUBLIC_SESSION_WORDMARK_SVG, without increasing the environment-name budget.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6c1bad522ef0.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/gateway/control-ui-public-session-render.test.ts --maxWorkers=1
  • pnpm exec oxfmt --check src/shared/openclaw-wordmark.ts src/gateway/control-ui-public-session-render.ts src/gateway/control-ui-public-session-render.test.ts
  • pnpm check:max-lines-ratchet --base 01a5e16

What I checked:

  • Introduced patch: The pinned introduction changes only the renderer, its existing test, and the new inline SVG module; access checks and the reader script remain unchanged. (src/gateway/control-ui-public-session-render.ts:287, 023d861d1e4a)
  • Concrete ratchet violation: The environment-name scanner counts every OPENCLAW_[A-Z0-9_]+ occurrence in governed production source, including constants. OPENCLAW_WORDMARK_SVG is absent from the introduction base, adds one distinct counted name, and leaves the budget unchanged. (scripts/check-env-var-count.mts:19, 023d861d1e4a)
  • Prior repair of the same failure: Commit 060b20e renamed this renderer’s OPENCLAW_PITCH constant because the same scanner incorrectly counted it as an environment name. (src/gateway/control-ui-public-session-render.ts, 060b20e595f3)
  • Visual evidence inspected: Inspected all eight before/after screenshots in the PR body: desktop loading in light and dark, mobile loading in light, and the light desktop reader. They show the wordmark, access-screen positioning, and larger unframed avatar. The four prepared local images were inspected first; remaining images were read directly through GitHub after scratch writes and browser fetching failed. (023d861d1e4a)
  • Current main and related direction: Fetched main still uses the small mascot and plain-text header. The branding follow-up documented in fix(ui): keep Gateway downtime visible without losing drafts #191935 establishes the related wordmark and unframed-avatar treatment on the operator UI; this PR applies it to the separate public renderer. (src/gateway/control-ui-public-session-render.ts:467, 6c1bad522ef0)
  • CI evidence and inspection limits: The reviewed head has a failed baseline-ratchets job and consequent CI gate failure. Annotations identify the combined max-lines step but do not expose its underlying diagnostic; job-log retrieval redirects to a blocked Azure host. The environment-name defect is independently established by source, rather than inferred from those annotations. Extended follow history eventually reached an unavailable promisor object. (023d861d1e4a)

Likely related people:

  • Peter Steinberger: Raw commit 45ec7dc adds src/gateway/control-ui-public-session-render.ts:159 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 45ec7dc8ba50; files: src/gateway/control-ui-public-session-render.ts)

PR surface

Source +8, Tests +10. Total +18 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 13 5 +8
Tests 1 10 0 +10
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 23 5 +18

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is visual branding and layout polish with a narrow CI repair; no broken conversation or access workflow is established.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is visual branding and layout polish with a narrow CI repair; no broken conversation or access workflow is established.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 5, 2026, 9:04 PM ET / November 6, 2026, 02:04 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit a138685 into main Nov 7, 2026
117 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/public-session-loading-brand branch November 7, 2026 05:01
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 8, 2026
Use shared inline branding on public conversation entry pages while retaining access checks and recovery behavior.

Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant