Skip to content

Chat UI roll out implementation - #37222

Merged
AmethystLiang merged 9 commits into
mainfrom
AmethystLiang/adjust-roll-out-for-chatui
Nov 2, 2026
Merged

AmethystLiang merged 9 commits into
mainfrom
AmethystLiang/adjust-roll-out-for-chatui

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​987 $\color{#cf222e}{\Huge{\mathbf{−}}}$​58 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​929
Prod 23 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1044 $\color{#cf222e}{\Huge{\mathbf{−}}}$​161 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​883

adding cards for telling users about the Chat UI

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed12591b-0188-404c-9170-c4b0c3f18d52
Commits

Reviewing files that changed from the base of the PR and between c65ce88 and 9e123c4.

Files selected for processing: 25
  • config/vite.fixtures.config.ts
  • src/main/persistence/applying-settings/persistence-chat-ui-launch-tip-audience.test.ts
  • src/main/telemetry/chat-ui-launch-tip-cohort.test.ts
  • src/main/telemetry/chat-ui-launch-tip-cohort.ts
  • src/main/telemetry/client-deferred-start.test.ts
  • src/main/telemetry/client.ts
  • src/main/telemetry/experiment-cohort-props.ts
  • src/renderer/src/app-shell/use-onboarding-and-feature-tips.test.tsx
  • src/renderer/src/app-shell/use-onboarding-and-feature-tips.ts
  • src/renderer/src/components/feature-tips/ChatUiHereCornerCard.fixture.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereCornerCard.test.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereCornerCard.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereTip.test.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereTipDialog.fixture.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereTipDialog.tsx
  • src/renderer/src/components/feature-tips/FeatureTipActions.tsx
  • src/renderer/src/components/feature-tips/FeatureTipsModal.tsx
  • src/renderer/src/components/feature-tips/LiveSwitchingDemoDialog.tsx
  • src/renderer/src/components/feature-tips/chat-ui-here-actions.ts
  • src/renderer/src/components/feature-tips/chat-ui-here-copy.ts
  • src/renderer/src/components/feature-tips/feature-tip-telemetry.ts
  • src/renderer/src/i18n/locales/en.json
  • src/shared/telemetry-event-classification.ts
  • src/shared/telemetry-native-feature-event-schemas.ts
  • src/shared/telemetry-settings-types.ts
Files skipped from review as they are similar to previous changes: 1
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

Walkthrough

The change adds three treatment cohorts, targeting settings, and button-emphasis telemetry for the Chat UI launch tip. The onboarding flow now selects between a corner card, a center dialog, and the next pending tip based on cohort and eligibility. The app shell renders the corner card with existing notifications. The card and dialog add surface-selection actions, cohort-dependent copy and button order, and a live-switching demo.

Merge Risk: Minimal · up to 9e123

No merge-blocking issue is established; the change is ready for normal checks.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description only states that cards were added for the Chat UI and includes an automated line-count summary. It does not provide the required ELI5, detailed changes, rationale, linked issue, visual… Complete the required template sections. Add the user-facing before and after, implementation details, reason for the approach, a linked issue, UI screenshots or videos, test steps and platform coverage, risk and rollback information, AI di…
Docstring Coverage Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main change: implementing the Chat UI rollout. It is concise and related to the changeset.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description only states that cards were added for the Chat UI and includes an automated line-count summary. It does not provide the required ELI5, detailed changes, rationale, linked issue, visual proof, testing results, risk assessment, review information, or checklist status.

Resolution

Complete the required template sections. Add the user-facing before and after, implementation details, reason for the approach, a linked issue, UI screenshots or videos, test steps and platform coverage, risk and rollback information, AI disclosure if applicable, review notes, and checklist status.

Full details: Docstring Coverage

Explanation

Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 24 functions across 28 files. (1 skipped: 1 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 49b0b570-682f-4b4c-a5d6-56f219d8c850
Commits

Reviewing files that changed from the base of the PR and between 6e0a58c and f7d9bad.

Files selected for processing: 30
  • docs/site/content/docs/telemetry.mdx
  • src/main/native-chat/chat-ui-launch-tip-targeting.ts
  • src/main/persistence/applying-settings/persistence-chat-ui-launch-tip-audience.test.ts
  • src/main/startup/main-process-observers.ts
  • src/main/telemetry/chat-ui-launch-tip-cohort.test.ts
  • src/main/telemetry/chat-ui-launch-tip-cohort.ts
  • src/main/telemetry/client-agent-dashboard-active.test.ts
  • src/main/telemetry/client-deferred-start.test.ts
  • src/main/telemetry/client-test-harness.ts
  • src/main/telemetry/client.ts
  • src/main/telemetry/experiment-cohort-props.ts
  • src/renderer/src/app-shell/AppNotificationCards.tsx
  • src/renderer/src/app-shell/AppRootSurfaces.tsx
  • src/renderer/src/app-shell/use-onboarding-and-feature-tips.test.tsx
  • src/renderer/src/app-shell/use-onboarding-and-feature-tips.ts
  • src/renderer/src/components/feature-tips/ChatUiHereCornerCard.fixture.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereCornerCard.test.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereCornerCard.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereFeatureTipVisual.test.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereFeatureTipVisual.tsx
  • src/renderer/src/components/feature-tips/ChatUiHereTipDialog.tsx
  • src/renderer/src/components/feature-tips/FeatureTipsModal.tsx
  • src/renderer/src/components/feature-tips/LiveSwitchingDemoDialog.tsx
  • src/renderer/src/components/feature-tips/chat-ui-here-actions.ts
  • src/renderer/src/components/feature-tips/chat-ui-here-copy.ts
  • src/renderer/src/components/feature-tips/feature-tip-telemetry.ts
  • src/renderer/src/i18n/locales/en.json
  • src/shared/telemetry-event-classification.ts
  • src/shared/telemetry-native-feature-event-schemas.ts
  • src/shared/telemetry-settings-types.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: adc8d878-1a7b-46e8-b822-c44e3d21abdf
Commits

Reviewing files that changed from the base of the PR and between f7d9bad and c65ce88.

Files selected for processing: 25
  • docs/site/content/docs/telemetry.mdx
  • src/main/claude/structured/claude-structured-session-reading-control.test.ts
  • src/main/claude/structured/claude-structured-turn-resume-point.test.ts
  • src/main/claude/structured/journal/claude-structured-journal-translation-background-tasks.test.ts
  • src/main/codex/codex-structured-journal-exit-convergence.test.ts
  • src/main/codex/codex-structured-journal-goal-resume.test.ts
  • src/main/codex/codex-structured-journal-translation-settlement.test.ts
  • src/main/codex/codex-structured-journal-translation.test.ts
  • src/main/jsonl-rpc/reader-pause-holds.ts
  • src/main/jsonl-rpc/timeline-final-tail.test.ts
  • src/main/jsonl-rpc/timeline-lane.test.ts
  • src/main/jsonl-rpc/timeline-lane.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-event-sink-queue.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-event-sink.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-event-sink.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-final-tail-reservation.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-final-tail-reservation.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-received-output.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-resolved-append.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-transition-contract-test-fixture.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-transition.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-transition.ts
  • src/main/pi/rpc-session-startup.test.ts
  • src/main/pi/rpc-session.ts
  • src/main/telemetry/client-deferred-start.test.ts
Files with no reviewable changes: 4
  • src/main/native-chat/agent-session-wire/structured-agent-session-final-tail-reservation.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-transition.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-final-tail-reservation.ts
  • src/main/jsonl-rpc/timeline-lane.test.ts
Files skipped from review as they are similar to previous changes: 1
  • docs/site/content/docs/telemetry.mdx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

Comment thread src/main/pi/rpc-session.ts Resolved
- Assign new profiles to an 80/20 control and treatment experiment,
  with treatment split between all users and eligible harnesses.
- Show terminal-default users a corner card and record targeting
  assignments to measure outcomes.
- Assign 10% of new enrollments to the new variant while preserving existing assignments.
- Track live-switching link exposure and simplify the demo copy.
- Add a centered dialog cohort and independently vary button emphasis.
- Target users who have not switched and allow switching back to terminal.
- Record live-switching exposure only when the link is visible.
Freeze eligibility at enrollment while preserving the historical audience.
@AmethystLiang
AmethystLiang force-pushed the AmethystLiang/adjust-roll-out-for-chatui branch from c65ce88 to 9e123c4 Compare November 2, 2026 00:55
@AmethystLiang
AmethystLiang merged commit 29479dd into main Nov 2, 2026
61 checks passed
audichuang pushed a commit to audichuang/orca that referenced this pull request Nov 2, 2026
* Adjust Chat UI announcement rollout and show a nonblocking card

- Assign new profiles to an 80/20 control and treatment experiment,
  with treatment split between all users and eligible harnesses.
- Show terminal-default users a corner card and record targeting
  assignments to measure outcomes.

* Refine the Chat UI announcement card layout and copy

* Add live switching demo to Chat UI launch tip experiment

* fix test

* Shorten Chat UI announcement telemetry documentation

* Add a swapped-button cohort to the Chat UI launch tip

- Assign 10% of new enrollments to the new variant while preserving existing assignments.
- Track live-switching link exposure and simplify the demo copy.

* Adjust Chat UI launch tip rollout and switching options

- Add a centered dialog cohort and independently vary button emphasis.
- Target users who have not switched and allow switching back to terminal.
- Record live-switching exposure only when the link is visible.

* Validate persisted chat tip emphasis before initializing telemetry

* Target chat UI launch tips using the current default surface

Freeze eligibility at enrollment while preserving the historical audience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant