Skip to content

improve(setup): restyle the setup wizard with the two-pane companion design - #2127

Merged
bkudiess merged 7 commits into
openclaw:mainfrom
bkudiess:bkudiess-setup-two-pane-shell
Nov 13, 2026
Merged

bkudiess merged 7 commits into
openclaw:mainfrom
bkudiess:bkudiess-setup-two-pane-shell

Conversation

@bkudiess

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The first-run setup wizard looks dated next to the new designer mockups and gives no sense of where you are in setup.

User Impact

User impact: setup now uses the new two-pane design. A companion mascot with a speech bubble sits on the left, above a four-step progress timeline (Choose your PC tools, Set up, Connect your AI, Start chatting). Each page is a cleaner row-based layout on the right. The pages, their order, and what each page does are unchanged; this is a visual redesign.

Visible copy changes, in all six languages:

  • New page titles and bubble lines from the Figma.
  • "Run a private Gateway on this PC" replaces WSL-only wording on the welcome page.
  • The ready screen describes the verified Gateway by how you reached it (native, WSL, existing local, or remote) instead of always saying "Local gateway running".

Why This Change Was Made

The redesign follows the Figma frames but keeps every existing page, control, and flow on its original page. Nothing was split into new pages or sub-views. Setup styles live in a scoped SetupResources dictionary merged per page and control, never in app resources.

The window opens at 1120×720, never larger than the screen's work area. Its minimum is 960×640, also capped at the work area so small or highly scaled screens still show every button. Animations follow the Windows animation setting, and high contrast drops the glow and tint and uses system colors.

Notable details
  • New controls: SetupCompanion (bubble, mascot, glow, badges), SetupStepTimeline/SetupStepRow (pour, pop and detail-expand animations), SetupGlyphTile, SetupShellLayout (used by the ready window).
  • OnboardingStepPlan maps the route's internal stages onto the four steps. Steps the route skips render as done but are announced as skipped.
  • SetupReadyGateway classifies the verified Gateway from its saved registry record, so the ready screen's Gateway row and steps match the route.
  • SetupPhaseStatus is now a full phase row (title, activity, status) with an accent progress ring while running.
  • Warnings that moved from InfoBar to row layout keep their screen-reader announcements, on the title text. The welcome safety note keeps its "Before you get started" title.
  • DESIGN.md and .agents/design/components.jsonc describe the new setup tokens and components. SetupProgressIndicator was removed.
  • Part of the ready-screen summary and a Light-theme mascot color tweak were developed in a parallel session in the same worktree and are included here.

Evidence

Screenshots below are from the current working tree: preview mode for each page (Dark left, Light right), and the UI test harness with a synthetic Gateway for "Set up your AI" and the ready screens.

Welcome, Gateway choice and other routes
Capabilities and the Local AI detail screen
Review, install progress and Gateway installed
Native install, native failure and the legacy onboard wizard
Set up your AI, AI ready and Local AI turned on
Set up your AI Local AI row states (page-only render)
Ready screen for the native and WSL Gateway routes
Ready screen for existing local, remote and unknown Gateways
Completion: all set, setup failed, restart required

A dual-model adversarial review (Claude Opus 5.5 and GPT-6 Astra) found eight issues, all fixed and covered by the tests below:

  • held animation values after Back or resize
  • a minimum size larger than small screens
  • an invisible selected glyph in high contrast
  • English-only restart copy
  • the ready screen claiming a local Gateway for remote routes
  • a mascot mood changing after leaving a page
  • warnings that screen readers no longer announced

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • windows-winui-interactive: every setup page's visual design, theme and accessibility presentation changed.

Validation

Run locally on Windows 11 ARM64 at merge commit 8adeae9b (branch merged with origin/main at 3d5f1427). Every run reported non-zero test counts.

  • ./build.ps1: all builds succeeded (Shared, Cli, WinNodeCli, SetupEngine, WinUI), documentation validation passed (73 files).
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj: 5,848 passed, 28 skipped, 0 failed.
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj: 6,347 passed, 0 failed.
  • dotnet test ./tests/OpenClaw.SetupEngine.Tests/OpenClaw.SetupEngine.Tests.csproj: 2,618 passed, 4 skipped, 0 failed. Includes new SetupReadyGatewayTests and work-area minimum tests.
  • Setup UI tests, CI exclusions applied (dotnet test tests/OpenClaw.Tray.UITests -r win-arm64 --filter "(Onboarding|NativeSharedFlow|SetupWindow|StartupWindow|AiReadyPageRendering|LocalAiHardwareProfile|NativeGatewayEligibilityText)&Category!=NativeOnboardingProof&Category!=GatewayFixture&..."): 269 passed, 4 skipped, 0 failed. Includes the new Ready_GatewayRowAndStepsFollowHowTheGatewayWasReached (9 cases). One earlier run had 3 intermittent failures (ProviderSecret_UsesOneDialogAndCloseClearsInputs, MinimumWindow_SharedAiAndVerifiedChatRemainsReachable Light/Dark); they passed in isolation and in two later full runs.
  • The UI test project was built from a short subst drive with -p:DisableGitVersionTask=true, because this worktree's path exceeds MAX_PATH for the FileWorker payload copy.

Real Behavior Proof

  • Environment tested: Windows 11 ARM64, unpackaged Debug build of this branch. Isolated preview profiles for the screenshots; a cleaned machine for the live run.
  • PR head or commit tested: uncommitted working tree on base 2a23706991584d5bcb813f40deda4cd2883667bc, identical in content to this PR's commit.
  • Exact steps or command run:
    • OPENCLAW_SETUP_PREVIEW_PAGE=<page> previews in Dark and Light for every preview page.
    • UI test captures with OPENCLAW_UI_PROOF_DIR.
    • A live first-run setup after scripts/clean-uninstall.ps1 -All -ConfirmDestructive, launched with ./run-app-local.ps1 -NoBuild -UseStoreGateway and completed through to chat.
  • Evidence after fix: screenshots above.
  • Observed result: every page renders the new design in both themes. The step timeline tracks the route, including skipped steps on existing and remote routes. The ready screen's Gateway row matches each route. The live run reached chat.
  • Screenshot or artifact links verified? Yes
  • Not verified or blocked:
    • High-contrast screenshots.
    • A reduced-motion screen recording (code paths are unit and UI tested).
    • A live setup against a real existing-local or remote Gateway (covered by the synthetic UI test).
    • The "Connect to a gateway" editor and networking-consent screens with live network state.

Security Impact

  • New permissions or capabilities? No
  • Secrets or tokens handling changed? No
  • New or changed network calls? No
  • Command or tool execution surface changed? No
  • Data access scope changed? No. The ready window reads the existing Gateway registry record by id only to choose display text.
  • If any answer is Yes, explain the risk and mitigation:

Compatibility and Migration

  • Backward compatible? Yes
  • Config or environment changes? No
  • Migration needed? No
  • If yes, list the exact upgrade steps:

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

bkudiess and others added 2 commits November 12, 2026 12:00
…design

Restyle every setup page to match the new Figma design without changing the
pages, their order or their behavior: a left companion pane (speech bubble,
mascot, glow) above a four-step progress timeline, and row-based pages with
left-aligned titles and right-aligned actions. Setup styles live in a scoped
SetupResources dictionary.

The window opens at 1120x720 with a 960x640 minimum, both capped at the work
area. Animations follow the Windows animation setting and high contrast uses
system colors. The ready screen describes the verified Gateway by route.
New copy is translated in all six locales, and tests and design docs are
updated for the new structure.

Co-authored-by: Copilot App <[email protected]>
…ne-shell

# Conflicts:
#	DESIGN.md
#	src/OpenClaw.Tray.WinUI/Strings/en-us/Resources.resw
#	src/OpenClaw.Tray.WinUI/Strings/fr-fr/Resources.resw
#	src/OpenClaw.Tray.WinUI/Strings/nl-nl/Resources.resw
#	src/OpenClaw.Tray.WinUI/Strings/pt-br/Resources.resw
#	src/OpenClaw.Tray.WinUI/Strings/zh-cn/Resources.resw
#	src/OpenClaw.Tray.WinUI/Strings/zh-tw/Resources.resw
@clawsweeper

clawsweeper Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

🦞👀
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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. 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 12, 2026
@clawsweeper

clawsweeper Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Codex review: needs changes before merge.

What this changes

This PR restyles onboarding with a companion pane, four-step timeline, shared presentation resources, and route-specific Gateway summaries.

Example: A user opens first-run setup.

  • Before: A 720×820-DIP window shows centered page content and progress dots.
  • After: A work-area-capped 1120×720-DIP window shows the companion and four-step timeline beside the setup page.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The redesign has useful visual evidence, but the latest layout repair needs direct proof and three concrete regressions remain.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦪 silver shellfish (2/6) 3 actionable review findings remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: First-run setup lacks the new companion presentation and a clearly labeled indication of progress.
Reason: The collaborator-authored direction improves orientation while retaining existing pages, choices, verification, and recovery ownership.

Merge readiness

⛔ Needs changes before merge - 3 items remain

Keep open: this collaborator-authored redesign has clear value and fixes both earlier findings, but a native-footer overflow and two UI-test regressions remain.

Priority: P2
Reviewed head: d1cdef022cd7b7cc794131e6328484b60c2a8004

Before merge

  • Make the native installation footer adapt to capped widths (P2) - The native page retains a fixed two-column Grid while this revision raises Back to the shared 180-DIP minimum. On a 1920-pixel-wide display at 250% scaling, work-area capping permits a window at most 768 DIPs wide; the 380-DIP companion and 48-DIP gutter leave at most 340 DIPs for this footer. Back plus Retry or Cancel requires 368 DIPs, so the row extends outside its page column. The preceding 110/180-DIP pair fit that width. Use the existing adaptive footer here and preserve the native action visibility and wrapping behavior.
  • Update the Local AI proof test for SetupFooterPanel (P2) - LocalAi_FullWindowShowsHeadingStateGroupsAndFooter still selects grid.Children.OfType<StackPanel>() in row 2. This revision replaces that row's StackPanel with SetupFooterPanel, which derives directly from Panel, so Assert.Single receives an empty sequence in all four theory cases. The NativeOnboardingProof exclusion in the reported validation omits these cases. Select the actual footer type or the existing panel boundary and retain the visibility assertions.
  • Align initial-size assertions with work-area capping (P2) - AssertInitialWindowSize still expects min(requested size, maximum tracking size), but the changed controller initializes against DisplayArea.WorkArea. For example, at 1920×1080 and 150% scaling with a 1032-pixel work-area height, the requested height is 1080 pixels and the actual height is 1032, while this assertion expects 1080. Its callers therefore fail on a supported display configuration. Assert the work-area-capped dimensions instead. This concern was equally visible at the earlier reviewed head and was missed in that review; comparison and blame confirm the relevant assertion and controller change are unchanged.

Findings

  • [P2] Make the native installation footer adapt to capped widths — src/OpenClaw.SetupEngine.UI/Pages/NativeGatewaySetupPage.xaml:94-100
  • [P2] Update the Local AI proof test for SetupFooterPanel — tests/OpenClaw.Tray.UITests/OnboardingAiPageTests.cs:1294
  • [P2] Align initial-size assertions with work-area capping — tests/OpenClaw.Tray.UITests/SetupWindowMinimumSizeTests.cs:251-252

Tests

  • Low-value test tests/OpenClaw.SetupEngine.Tests/SetupFooterLayoutTests.cs: Remove the extents-only arithmetic assertions in Extents_IncludeOneSpacingBetweenEachVisibleAction; they test helper sums without exercising layout, while the mounted recovery test protects the observable failure.
  • Missing end-to-end proof: Supply current-head visible evidence of the stacked Back/Retry/Close recovery footer at capped width; the added regression also lacks a demonstrated pre-fix failure and post-fix pass.
Agent review details

How this fits together

SetupWindow hosts the existing onboarding pages and setup operations; the new controls project their route, progress, and verified Gateway information into native WinUI presentation.

flowchart LR
  A[User choices] --> B[SetupWindow]
  B --> C[Existing setup pages]
  C --> D[Setup and verification owners]
  D --> E[Verified Ready window]
  B --> F[Companion and timeline]
  E --> F
Loading

Technical review

Best possible solution:

Reuse SetupFooterPanel for native installer actions, update the affected UI-test contracts, and preserve the existing setup and readiness owners.

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

Source establishes the fixed native-footer width and both stale test expectations; no native reproduction was run during this read-only review.

Is this the best way to solve the issue?

The presentation redesign preserves the existing flow owners, but its adaptive layout must cover native installation and its tests must reflect the shipped control and sizing contracts.

Full review comments:

  • [P2] Make the native installation footer adapt to capped widths — src/OpenClaw.SetupEngine.UI/Pages/NativeGatewaySetupPage.xaml:94-100
    The native page retains a fixed two-column Grid while this revision raises Back to the shared 180-DIP minimum. On a 1920-pixel-wide display at 250% scaling, work-area capping permits a window at most 768 DIPs wide; the 380-DIP companion and 48-DIP gutter leave at most 340 DIPs for this footer. Back plus Retry or Cancel requires 368 DIPs, so the row extends outside its page column. The preceding 110/180-DIP pair fit that width. Use the existing adaptive footer here and preserve the native action visibility and wrapping behavior.
    Confidence: 0.95
  • [P2] Update the Local AI proof test for SetupFooterPanel — tests/OpenClaw.Tray.UITests/OnboardingAiPageTests.cs:1294
    LocalAi_FullWindowShowsHeadingStateGroupsAndFooter still selects grid.Children.OfType<StackPanel>() in row 2. This revision replaces that row's StackPanel with SetupFooterPanel, which derives directly from Panel, so Assert.Single receives an empty sequence in all four theory cases. The NativeOnboardingProof exclusion in the reported validation omits these cases. Select the actual footer type or the existing panel boundary and retain the visibility assertions.
    Confidence: 1
  • [P2] Align initial-size assertions with work-area capping — tests/OpenClaw.Tray.UITests/SetupWindowMinimumSizeTests.cs:251-252
    AssertInitialWindowSize still expects min(requested size, maximum tracking size), but the changed controller initializes against DisplayArea.WorkArea. For example, at 1920×1080 and 150% scaling with a 1032-pixel work-area height, the requested height is 1080 pixels and the actual height is 1032, while this assertion expects 1080. Its callers therefore fail on a supported display configuration. Assert the work-area-capped dimensions instead. This concern was equally visible at the earlier reviewed head and was missed in that review; comparison and blame confirm the relevant assertion and controller change are unchanged.
    Confidence: 0.96
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 64c96ac92d10.

Provenance checked

  • Shared onboarding composition changes intended behavior with a stated reason (3eed1f1: The shared onboarding flow unified native and WSL presentation while keeping installation and runtime ownership platform-specific.)
  • Compact actions and provider presentation changes intended behavior with a stated reason (c3d622f: The earlier refinement standardized compact actions, recommendations, spacing, and inline provider loading.)
  • Window sizing and verified readiness keeps the original intent (d318127: Readiness follows completed setup and exact-model verification, with DPI-aware window constraints and actionable recovery.)
  • Design reference catalog keeps the original intent (bef07da: The catalog documents Fluent components derived from the shipping Windows implementation.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • ./build.ps1
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore
  • dotnet test ./tests/OpenClaw.SetupEngine.Tests/OpenClaw.SetupEngine.Tests.csproj --no-restore
  • dotnet test ./tests/OpenClaw.Tray.UITests/OpenClaw.Tray.UITests.csproj -r win-arm64 --filter "FullyQualifiedNameSetupWindowMinimumSizeTests|FullyQualifiedNameLocalAi_FullWindowShowsHeadingStateGroupsAndFooter|FullyQualifiedNameNativePackagePages_KeepHeroAndActionsVisible|FullyQualifiedNameNativeSharedFlowTests"

What I checked:

  • Review scope and policy: Read the root, documentation, and Tray WinUI AGENTS.md files and applicable review guidance. No maintainer-notes directory exists. The checkout contains the pinned PR head, and current main retains the earlier single-pane shell. (AGENTS.md:1, 64c96ac92d10)
  • Earlier findings addressed: The change since the earlier reviewed head adds the adaptive SetupFooterPanel, mounts a finishing-recovery regression, and corrects the native-footer documentation. (src/OpenClaw.SetupEngine.UI/Controls/SetupFooterPanel.cs:40, d1cdef022cd7)
  • Native footer remains fixed: Native installation retains a two-column Grid while both visible actions now require 180 DIPs. A 1920-pixel-wide work area at 250% scaling permits at most 340 DIPs after the 380-DIP companion and 48-DIP gutter, below the 368-DIP action-row minimum. (src/OpenClaw.SetupEngine.UI/Pages/NativeGatewaySetupPage.xaml:97, d1cdef022cd7)
  • Local AI proof test retains obsolete footer type: The LocalAi_FullWindowShowsHeadingStateGroupsAndFooter theory selects a StackPanel in row 2, but AiSetupPage now places a SetupFooterPanel there, whose base type is Panel. (tests/OpenClaw.Tray.UITests/OnboardingAiPageTests.cs:1294, d1cdef022cd7)
  • Initial-size assertion contradicts new sizing: AssertInitialWindowSize still expects the requested dimensions capped by maximum tracking size, while the changed controller caps initialization at the monitor work area. Comparison and blame confirm this concern was equally visible at the earlier reviewed head. (tests/OpenClaw.Tray.UITests/SetupWindowMinimumSizeTests.cs:251, 8adeae9b8271)
  • Visual evidence and inspection limits: Directly inspected four prepared Light/Dark composites covering welcome, route choices, capabilities, review, progress, native failure, and classic onboarding. Additional media downloads failed with curl error 23 on scratch writes and browser retrieval returned Cache miss; those infrastructure limits are not contributor defects. (src/OpenClaw.SetupEngine.UI/Controls/SetupCompanion.xaml:20, d1cdef022cd7)

Likely related people:

  • Barbara Kudiess: Raw commit d318127 adds src/OpenClaw.SetupEngine.UI/SetupWindowSizingController.cs:7 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d318127350b5; files: src/OpenClaw.SetupEngine.UI/SetupWindowSizingController.cs)

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:

  • remove proof: 📸 screenshot: Current real behavior proof evidence kind is not_applicable.
  • remove proof: sufficient: Current real behavior proof status is not_applicable, not sufficient.

Label justifications:

  • P2: The useful onboarding improvement has a limited display-scaling regression and concrete failures in its UI validation paths.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-12T20:33:31.783Z sha 8adeae9 :: needs changes before merge. :: [P2] Preserve footer space when the work area caps the window width | [P3] Update the retained native-footer description

Reviewed November 12, 2026, 6:10 PM ET / 23:10 UTC (Revision 2).

bkudiess and others added 2 commits November 12, 2026 12:59
Both setup footer button styles now share SetupFooterButtonMinWidth (180), so paired Back and Next actions are the same size. The footer keeps its 8px spacing.

Co-authored-by: Copilot App <[email protected]>
Setup footers now use SetupFooterPanel, which keeps actions in one right-aligned row when they fit and stacks them one per row otherwise. Back, Retry and Close on a finishing failure no longer overflow the page column at the minimum or work-area-capped window width. The native install footer uses the shared footer button width, and the onboarding guide describes the current footer.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. and removed proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 12, 2026
@bkudiess
bkudiess merged commit d8e458d into openclaw:main Nov 13, 2026
72 of 76 checks passed
bkudiess added a commit that referenced this pull request Nov 13, 2026
…p the companion without waiting (#2153)

#2127 added seven null-forgiving SetupCompanion.Find(page)! lookups, which the test-timing ratchet rejects. Acquire the companion inside a bounded named wait (OnboardingNativeProof.CompanionAsync) and use that capture. AssertFixedPageChrome and AssertProgress become async and every call site awaits them. All assertions are unchanged and the ratchet baseline is not raised.

Co-authored-by: Copilot App <[email protected]>
bkudiess added a commit to bkudiess/openclaw-windows-node that referenced this pull request Nov 13, 2026
…e app is busy

ChatCopyButton started its 2 s reset timer at the click. When the UI thread stayed
busy past that window, the reset ran before the "Copied" or "Copy failed" feedback
was ever rendered or announced. Start the window when the feedback reaches the
native button, and name the default window.

The proof tests now record the button's label transitions instead of sampling the
label after a fixed settle that a loaded CI runner stretched past the 2 s timer
(the CopyFeedback_MessageAndCodeCapture failure on openclaw#2127). The repeated-click,
content, identity and disposal checks use held or short reset windows so each
phase can only pass for the behavior it names.

Co-authored-by: Copilot App <[email protected]>
bkudiess added a commit that referenced this pull request Nov 13, 2026
…e app is busy (#2138)

ChatCopyButton started its 2 s reset timer at the click. When the UI thread stayed
busy past that window, the reset ran before the "Copied" or "Copy failed" feedback
was ever rendered or announced. Start the window when the feedback reaches the
native button, and name the default window.

The proof tests now record the button's label transitions instead of sampling the
label after a fixed settle that a loaded CI runner stretched past the 2 s timer
(the CopyFeedback_MessageAndCodeCapture failure on #2127). The repeated-click,
content, identity and disposal checks use held or short reset windows so each
phase can only pass for the behavior it names.

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

Labels

P2 Normal priority bug or improvement with limited blast radius. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant