[PR #13411] refactor: Prompt editor #14654

Open
opened 2026-02-16 18:19:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13411

State: open
Merged: No


What does this PR do?

Refactors the prompt editor into a shared component, adds supporting icons, and documents it.

Why / future context:

  • Prepares the UI for upcoming automations work where the same prompt authoring UX is needed across multiple surfaces.
  • Centralizes prompt editing so future improvements (templates, helper actions, validation, richer formatting) ship once and stay consistent.

What changed:

  • Extracts a shared prompt editor component for reuse.
  • Adds prompt editor icons (automate, play, sparkles).
  • Adds prompt editor docs and index entry.

Related: #5891, #11498, #11232

How did you verify your code works?

  • bun run --cwd packages/app test:unit

Related Drafts:

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13411 **State:** open **Merged:** No --- ### What does this PR do? Refactors the prompt editor into a shared component, adds supporting icons, and documents it. Why / future context: - Prepares the UI for upcoming automations work where the same prompt authoring UX is needed across multiple surfaces. - Centralizes prompt editing so future improvements (templates, helper actions, validation, richer formatting) ship once and stay consistent. What changed: - Extracts a shared prompt editor component for reuse. - Adds prompt editor icons (`automate`, `play`, `sparkles`). - Adds prompt editor docs and index entry. Related: #5891, #11498, #11232 ### How did you verify your code works? - `bun run --cwd packages/app test:unit` ### Related Drafts: - #13412 (TUI/CLI) - #13413 (Web/Desktop UI) - #13414 (Backend)
yindo added the pull-request label 2026-02-16 18:19:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14654