Skip to content

De-quantum onboarding: generic copy, About You description, auto-submit fix - #222

Merged
jeonghun-jj-lee merged 4 commits into
local/amicodefrom
feat/de-quantum-onboarding
Aug 20, 2026
Merged

De-quantum onboarding: generic copy, About You description, auto-submit fix#222
jeonghun-jj-lee merged 4 commits into
local/amicodefrom
feat/de-quantum-onboarding

Conversation

@jeonghun-jj-lee

@jeonghun-jj-lee jeonghun-jj-lee commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

De-quantumify all user-facing onboarding copy and fix the auto-submit race condition.

Changes

  • De-quantum copy: about-you widget, onboarding wizard, getting-started starters, tagline — all reworded to be domain-agnostic
  • Research area label: renamed from 'focus' / 'What you work on' across widget, wizard, and home-cards
  • About You description field: new description field rendered below focus/affiliation (2-line clamp), auto-generated by Amico at onboarding handoff
  • Auto-submit race fix: setPendingAutoSend now fires after tabs.newDraft() resolves, and checks prompt content (not just array length) — fixes the bug where the onboarding prompt sat in the textbox without auto-sending when no sessions were open

Paired with

amicode PR: harmoniqs/amicode#450

Summary by CodeRabbit

  • Bug Fixes

    • Improved automatic prompt submission by waiting for draft creation and required model and prompt readiness.
    • Added retry handling when model initialization or prompt content is not immediately available.
  • User Experience

    • Updated onboarding, starter prompts, empty states, and taglines to support broader research and coding workflows.
    • Added optional profile descriptions to the home screen.
    • Refined research-area labels and guidance for first experiments, analysis, and result refinement.

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4436eae0-e470-4e79-9dd4-e98a57d6558f

📥 Commits

Reviewing files that changed from the base of the PR and between 49e95d6 and 4e6752f.

📒 Files selected for processing (7)
  • packages/app/src/app.tsx
  • packages/app/src/pages/new-session/new-session-draft-controller.ts
  • packages/opencode/src/server/amicode/widgets-src/about-you.ts
  • packages/ui/src/amicode/getting-started.tsx
  • packages/ui/src/amicode/home-cards.tsx
  • packages/ui/src/amicode/onboarding-wizard.tsx
  • packages/ui/src/amicode/tagline.tsx

📝 Walkthrough

Walkthrough

The update fixes draft auto-submit sequencing and readiness checks. It also broadens Amico’s profile, onboarding, starter prompts, session guidance, and tagline content for research and coding workflows.

Changes

Draft auto-submit flow

Layer / File(s) Summary
Draft creation and readiness-gated submission
packages/app/src/app.tsx, packages/app/src/pages/new-session/new-session-draft-controller.ts
Draft creation completes before auto-send is enabled. Submission waits for prompt readiness, model readiness, model selection, and non-empty prompt content, with bounded retries.

Amico research experience

Layer / File(s) Summary
Profile description support
packages/ui/src/amicode/home-cards.tsx
Profile parsing accepts nullable descriptions and displays them beneath profile details with a two-line clamp.
Research-focused profile and session copy
packages/opencode/src/server/amicode/widgets-src/about-you.ts, packages/ui/src/amicode/getting-started.tsx, packages/ui/src/amicode/home-cards.tsx, packages/ui/src/amicode/onboarding-wizard.tsx, packages/ui/src/amicode/tagline.tsx
Profile labels, onboarding text, starter prompts, session guidance, empty states, and taglines now use broader research and coding terminology.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant AmicodeNavigateBridge
  participant tabs.newDraft
  participant DraftController
  participant ReadinessChecks
  AmicodeNavigateBridge->>tabs.newDraft: Create draft
  tabs.newDraft-->>AmicodeNavigateBridge: Return created draft
  AmicodeNavigateBridge->>DraftController: Enable pending auto-send
  DraftController->>ReadinessChecks: Check prompt and model readiness
  ReadinessChecks-->>DraftController: Return readiness state
  DraftController->>DraftController: Retry or submit prompt
Loading

Suggested reviewers: brendonovich, kateebonner, rchari1

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/de-quantum-onboarding

Comment @coderabbitai help to get the list of available commands.

@jeonghun-jj-lee
jeonghun-jj-lee marked this pull request as ready for review August 20, 2026 23:25
@jeonghun-jj-lee
jeonghun-jj-lee merged commit e3d99ec into local/amicode Aug 20, 2026
1 of 5 checks passed
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