Skip to content

fix(app): preserve prompt input editing#37938

Closed
Hona wants to merge 1 commit into
anomalyco:devfrom
Hona:audit-prompt-regressions
Closed

fix(app): preserve prompt input editing#37938
Hona wants to merge 1 commit into
anomalyco:devfrom
Hona:audit-prompt-regressions

Conversation

@Hona

@Hona Hona commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • preserve populated drafts when command-menu built-ins execute
  • insert fallback pasted text without flattening structured mentions
  • detect @ completion against text before the current cursor

Tests

  • bun test src/v2/components/prompt-input (packages/session-ui)
  • bun typecheck (packages/session-ui)
  • bun typecheck (packages/app)
  • bun run typecheck:e2e (packages/app)
  • bunx playwright test e2e/regression/prompt-input-v2-editing.spec.ts (packages/app)

Copilot AI review requested due to automatic review settings July 20, 2026 13:48
@Hona
Hona requested a review from Brendonovich as a code owner July 20, 2026 13:48

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@opencode-agent

Copy link
Copy Markdown
Contributor

Split into #37942 (command-menu drafts), #37940 (structured mentions during paste), and #37941 (@ completion at the cursor), as requested by @Brendonovich.

@opencode-agent opencode-agent Bot closed this Jul 20, 2026
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.

2 participants