Skip to content

improve(ui): clarify GitHub accounts and publication feedback - #192283

Merged
vyctorbrzezowski merged 4 commits into
mainfrom
openclaw/copy-e5-b
Nov 4, 2026
Merged

vyctorbrzezowski merged 4 commits into
mainfrom
openclaw/copy-e5-b

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

GitHub account settings and publication feedback mix accounts with credentials, expose internal permission scope names, and describe replies as runs.

User Impact

GitHub accounts and publication feedback use the approved Control UI glossary. Permission guidance distinguishes personal sign-in from admin-managed accounts, and failed sign-in keeps its summary separate from the provider detail. Authorization, publication, and CI behavior are unchanged.

Why This Change Was Made

Old New
GitHub connections GitHub accounts
Effective credential Account in use
No credentials No account
operator.read / operator.admin guidance Read access / admin access, with personal sign-in guidance
Use native for new runs Use GitHub CLI
Please try again. Try again.
Start a live agent turn… Ask the agent to publish this Cloud workspace…
Publication failed Couldn’t publish

English remains in the locale catalogs. Updated consumers, focused assertions, and docs quoting the changed settings label. Actual CI “Failed” results are unchanged.

Evidence

  • Inspected synthetic, light-theme, cropped screenshots captured from the mocked Control UI on origin/main and after the changes.
  • pnpm ui:i18n:baseline completed; no baseline diff was required.
  • pnpm ui:i18n:verify passed, including the final bounded verification after the host-load stop request.
  • Targeted oxfmt passed on the changed files; targeted type-aware oxlint reported zero warnings/errors before the final two small test corrections.
  • git diff --check passed before commit.

Before

GitHub account settings before copy changes

After

GitHub account settings after copy changes

Gaps

  • The maintainer requested an immediate stop because the shared host reached load 187. Stopped the owned mock/browser/test work; no further tests or screenshots were run.
  • Focused tests exposed an outdated confirmation substring and a new error-detail fixture without authorization access. Both test issues were corrected, but the final test state was not rerun. The initial duplicate test import was also corrected.
  • The device-authorization and chat-publication browser e2e suites were not run. No full UI suite, broad typecheck, CI monitoring, or landing was performed.
  • F1’s shared collapsed “Show details” contract is not present on the selected origin/main base. Existing raw details remain visible: authorization state.message (now separate from the summary), cancellation props.authorization.message, and formatted connection/operation error rows. Migrating these to the shared contract is left for the integration pass.
  • No restriction-cause field was added to the account model: guidance uses the existing connection-ready, status-readable, authorizable, and personal/shared scope facts. No new permissions or account behavior.

Worked on by

Landing integration preserves personal/shared account gates, credential isolation, and verified-identity versus publication-permission semantics. Raw sign-in failures use the existing collapsed ErrorDetails owner. All 127 affected unit/component cases and two GitHub credential-boundary browser cases passed across focused runs after updating stale copy consumers. I18n baseline/verification, scoped lint, formatting, and whitespace checks passed; existing visual proof is reused. The test-line allocation covers only this change's 36 added lines; 216 inherited lines remain with the main owner. The final merge with current main is clean.

roboclaw-bot and others added 2 commits November 3, 2026 21:14
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 6cab69f4-f553-41a1-a682-bcefe8d5c46a
@clawsweeper

clawsweeper Bot commented Nov 3, 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 docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime size: M labels Nov 3, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR updates GitHub account terminology, permission guidance, and publication feedback in the Control UI and related documentation.

Example: Open Settings → Profile with no configured System GitHub account.

  • Before: The section says “GitHub connections” and the account status says “No credentials.”
  • After: The section says “GitHub accounts” and the account status says “No account.”

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful, focused copy work with inspected visual evidence, but incomplete consumer updates and misleading recovery text prevent a passing patch verdict.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored presentation PR is outside the ordinary contributor proof gate; inspected before/after browser screenshots directly demonstrate the collapsed account-label changes, with other presentation coverage described in testingReview.
Patch quality 🦪 silver shellfish (2/6) 4 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Account settings and publication feedback expose credential terminology and internal permission names that make the intended action harder to understand.
Reason: The maintainer-authored direction supports this focused terminology improvement, and the existing catalogs and renderer can deliver it without new product machinery.

Merge readiness

⛔ Needs changes before merge - 4 items remain

Keep this maintainer-authored PR open: the copy improvements are useful, but remote-host guidance and confirmed test failures need correction before merge.

Priority: P2
Reviewed head: efbd69ec96e56f4566651e974d7a3b0433d5fc11

Before merge

  • Identify the Gateway computer in publication recovery guidance (P2) - For a supported remote Gateway setup, the browser runs on a different computer from the process resolving GitHub credentials. Replacing “Gateway runtime host” with “this computer” tells that user to run gh auth login or gh auth status on the browser machine, which cannot repair the Gateway account. Name the computer running OpenClaw in the unavailable, unverified, and unknown guidance, and preserve that distinction in workspace guidance.
  • Render the generic sign-in failure summary only once (P2) - When authorization.phase is failed, the title and failureDescription both render “Couldn’t sign in to GitHub. Try again.” The added description therefore repeats the summary before the provider detail. Exact-head CI confirms that the new separation test fails at its singular getByText query because both elements match. Keep one summary and one distinct detail, retaining the specific expired, denied, and incorrect-code explanations.
  • Update the remaining consumers of changed GitHub copy (P2) - The locale changes leave executable consumers expecting the old text. Exact-head CI reports failures in chat-pull-requests.test.ts, chat-pull-requests.publication-discovery.test.ts, session-hovercard.test.ts, session-progress-hovercard-target.test.ts, github-loading.test.ts, and panels-tools-skills.browser.test.ts. The changed publication test also still requires “reclaim the workspace” at lines 303 and 312. Update these assertions and selectors, including remaining browser e2e selectors, while retaining their behavioral checks; rerunning the unchanged suites cannot resolve these failures.
  • Update the profile help text to the renamed account section (P3) - The section heading becomes “GitHub accounts,” but en-profile.ts:69 still tells users to manage publishing access under “GitHub connections below.” This leaves contradictory navigation guidance on the same Profile page. Update that existing English consumer with the section rename.

Findings

  • [P2] Identify the Gateway computer in publication recovery guidance — ui/src/i18n/locales/en-github.ts:153
  • [P2] Render the generic sign-in failure summary only once — ui/src/features/github-connections/github-identity-view.tsx:251-255
  • [P2] Update the remaining consumers of changed GitHub copy — ui/src/i18n/locales/en-github.ts:123-133

Tests

  • Low-value test ui/src/features/github-connections/github-identity-view.test.tsx: Remove or consolidate the new four-row permission-copy table: it injects the final permission booleans and pins wording without exercising the real permission owner.
  • Missing end-to-end proof: The inspected browser screenshots cover collapsed account labels; failed-sign-in and publication feedback are not shown, and passing red/green regression evidence is absent.
Agent review details

How this fits together

The Control UI presents GitHub identity and publication state supplied by existing Gateway owners; this change updates English catalogs and error presentation without changing credential selection or publication authority.

flowchart LR
  A[Gateway identity owners] --> B[UI identity projection]
  B --> C[Account settings]
  D[Gateway publication owner] --> E[Publication feedback]
  F[English catalogs] --> C
  F --> E
Loading

Technical review

Best possible solution:

Keep the catalog-based changes, identify the Gateway computer accurately, render each failure summary once, and update all affected consumers without adding state or configuration.

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

Exact-head hosted CI reproduces the duplicate-summary and stale-expectation failures; source and the documented remote Gateway contract establish the wrong-computer guidance without a local runtime run.

Is this the best way to solve the issue?

Updating the existing English catalogs and shared renderer is the smallest appropriate approach, provided the copy preserves deployment facts and the consumer updates are complete.

Full review comments:

  • [P2] Identify the Gateway computer in publication recovery guidance — ui/src/i18n/locales/en-github.ts:153
    For a supported remote Gateway setup, the browser runs on a different computer from the process resolving GitHub credentials. Replacing “Gateway runtime host” with “this computer” tells that user to run gh auth login or gh auth status on the browser machine, which cannot repair the Gateway account. Name the computer running OpenClaw in the unavailable, unverified, and unknown guidance, and preserve that distinction in workspace guidance.
    Confidence: 0.99
  • [P2] Render the generic sign-in failure summary only once — ui/src/features/github-connections/github-identity-view.tsx:251-255
    When authorization.phase is failed, the title and failureDescription both render “Couldn’t sign in to GitHub. Try again.” The added description therefore repeats the summary before the provider detail. Exact-head CI confirms that the new separation test fails at its singular getByText query because both elements match. Keep one summary and one distinct detail, retaining the specific expired, denied, and incorrect-code explanations.
    Confidence: 1
  • [P2] Update the remaining consumers of changed GitHub copy — ui/src/i18n/locales/en-github.ts:123-133
    The locale changes leave executable consumers expecting the old text. Exact-head CI reports failures in chat-pull-requests.test.ts, chat-pull-requests.publication-discovery.test.ts, session-hovercard.test.ts, session-progress-hovercard-target.test.ts, github-loading.test.ts, and panels-tools-skills.browser.test.ts. The changed publication test also still requires “reclaim the workspace” at lines 303 and 312. Update these assertions and selectors, including remaining browser e2e selectors, while retaining their behavioral checks; rerunning the unchanged suites cannot resolve these failures.
    Confidence: 1
  • [P3] Update the profile help text to the renamed account section — ui/src/i18n/locales/en.ts:1290
    The section heading becomes “GitHub accounts,” but en-profile.ts:69 still tells users to manage publishing access under “GitHub connections below.” This leaves contradictory navigation guidance on the same Profile page. Update that existing English consumer with the section rename.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 91a636fc0c9b.

Provenance checked

  • Personal and shared account guidance keeps the original intent (feat(github): connect personal accounts alongside the system account #133799: Keep personal publication credentials separate from shared execution credentials, verified sign-in identity, and permissions.)
  • Authorization failure presentation changes intended behavior with a stated reason (8c9999b: The Solid migration preserved the existing authorization workflow and displayed the provider message as the failure description.)
  • Current connection layout keeps the original intent (improve(ui): give each GitHub connection one action and its own setup #191314: Give each account one row action and place setup beneath the account it changes.)
  • Publication and hovercard English changes intended behavior with a stated reason (fd01817: This commit moved the existing wording into the lazy English catalog without changing it; it does not establish when the earlier wording originated.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/features/github-connections/github-identity-view.test.tsx ui/src/features/github-connections/github-connections.test.tsx ui/src/features/github-connections/github-identity.test.ts --maxWorkers=1
  • pnpm test ui/src/pages/chat/components/chat-github-publication.test.ts ui/src/pages/chat/components/chat-pull-requests.test.ts ui/src/pages/chat/components/chat-pull-requests.publication-discovery.test.ts ui/src/components/session-hovercard.test.ts ui/src/components/session-progress-hovercard-target.test.ts ui/src/i18n/github-loading.test.ts ui/src/pages/agents/panels-tools-skills.browser.test.ts --maxWorkers=1
  • pnpm ui:i18n:verify
  • git diff --check

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit a8b963b adds ui/src/features/github-connections/github-connections.tsx:232 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a8b963b78b7f; files: ui/src/features/github-connections/github-connections.tsx)

PR surface

Source +21, Tests +30, Docs 0. Total +51 across 13 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 89 68 +21
Tests 5 64 34 +30
Docs 4 4 4 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 13 157 106 +51

Labels

Label changes:

  • add P2: The change improves account-setting clarity but introduces misleading remote recovery instructions and repairable UI test failures.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: The change improves account-setting clarity but introduces misleading remote recovery instructions and repairable UI test failures.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • 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 3, 2026, 4:37 PM ET / 21:37 UTC.

roboclaw-bot and others added 2 commits November 4, 2026 12:04
Remove duplicated sign-in failure text and identify the computer running OpenClaw for host-side recovery. Keep the approved GitHub accounts terminology.

Co-authored-by: vyctorbrzezowski <[email protected]>
@vyctorbrzezowski
vyctorbrzezowski merged commit 82ee4ab into main Nov 4, 2026
30 of 32 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/copy-e5-b branch November 4, 2026 15:10
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
…aw#192283)

improve(ui): clarify GitHub accounts and publication feedback

Co-authored-by: vyctorbrzezowski <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Allow initial guest PR preparation from the recorded project's published
history while preserving unpublished work and original PR identity.

(cherry picked from commit 2757947)

Stable adaptation: preserve the existing linked-identity fixture; expand
its options type and allocate exactly 89 regression LF instead of 84.
Production and documentation patches are unchanged from the source.

Companions: #188785 is present-equivalent. Later #188784, #190223,
#190576, #190542, #195413, #197229, #197243, #199717, #195787,
#197510, #193664, #199851, #199864, #197656, #198851, #193873,
#197594, #189006, #188904, #194025, #196200, #192283, #189010,
#188816 and e0466ff are not prerequisites to this scoped repair;
retain their separate intake dispositions. No later PR-number mentions.

Proof: baseline 4 failed/20 passed through registered agent action;
fixed 41/41 across preparation, refresh and base-action suites.
Type-aware lint4, formatting5, docs MDX1419 and diff check pass.
No live GitHub or full release qualification claim.

Co-authored-by: RomneyDa <[email protected]>
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 docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: M 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.

2 participants