feat(gateway): add configurable Control UI title#51067
Conversation
Greptile SummaryThis PR adds a
Confidence Score: 5/5
Last reviewed commit: "feat(gateway): add c..." |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ad06058ce3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1dd9f6c4a9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Codex review: needs maintainer review before merge. Reviewed July 6, 2026, 9:22 AM ET / 13:22 UTC. Summary PR surface: Source +11, Docs +1, Generated 0. Total +12 across 9 files. Reproducibility: not applicable. as a bug reproduction; this is a feature/config PR. Current main still has a fixed Control UI browser title with no accepted Review metrics: 1 noteworthy metric.
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
Maintainer decision needed
Security Review detailsBest possible solution: Close this PR until a maintainer sponsors the static title config surface; if sponsored later, the implementation should keep the bootstrap JSON approach, retain docs/rollback guidance, and explicitly define precedence with dynamic session-title work. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction; this is a feature/config PR. Current main still has a fixed Control UI browser title with no accepted Is this the best way to solve the issue? No as a repository outcome without maintainer sponsorship. The bootstrap JSON approach is safer than the earlier HTML-interpolation attempt, but the best solution requires an explicit product decision on whether this static config key should exist and how it composes with dynamic title work. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9344bb8b48da. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +11, Docs +1, Generated 0. Total +12 across 9 files. 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 (6 earlier review cycles)
|
…rt static <title>; fix check-lint - Revert ui/index.html <title> to 'OpenClaw Control' so smoke checks (scripts/e2e/parallels/macos-smoke.ts and scripts/openclaw-cross-os-release-checks.ts) pass without modification. The runtime hook in app-lifecycle.ts overrides it after mount when the toggle is enabled. - Add Appearance > Browser tab toggle (Agent name / Static). Default: Agent name (preserves the per-agent title sync from the original PR). Persists via the existing UiSettings localStorage store as documentTitleSyncEnabled. - syncDocumentTitleFromHost now reads host.settings.documentTitleSyncEnabled; when off, restores the static 'OpenClaw Control' title. - Replace 'TODO(openclaw#51067)' comment with a non-TODO note to satisfy the no-warning-comments oxlint rule that failed check-lint.
|
ClawSweeper PR egg ✨ Hatched: 🥚 common Sunspot Review Wisp Hatch commandComment Hatchability rules:
Rarity: 🥚 common. What is this egg doing here?
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
…itle) Allow users to set a custom browser tab title for the Control UI via the gateway.controlUi.title config option. Useful when running multiple OpenClaw instances to distinguish between tabs. Closes openclaw#51052 Co-Authored-By: Claude Opus 4.6 <[email protected]>
…olUi.title Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
|
This pull request has been automatically marked as stale due to inactivity. |
Summary
Describe the problem and fix in 2–5 bullets:
Allow users to set a custom browser tab title for the Control UI via the gateway.controlUi.title config option. Useful when running multiple OpenClaw instances to distinguish between tabs.
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
List user-visible changes (including defaults/config).
Title in browser tab is configurable.
Security Impact (required)
Yes, explain risk + mitigation:Repro + Verification
Environment
Human Verification (required)
What you personally verified (not just CI), and how:
Changed title via the config variable and left at no config. Appropriate title in browser tab
Real behavior proof
gateway.controlUi.title: "Rainman"in config and runopenclaw gateway rungateway.controlUi.titleis set, and falls back to the default "OpenClaw Control" when the key is absent.Review Conversations
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
Compatibility / Migration
Failure Recovery (if this breaks)
Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.None