Skip to content

[Suggestion] Click a pasted block in the composer to view & edit its full contents #208

Description

@rudra496

提交前确认 · Pre-submission checklist

  • 我已搜索过现有 issue,确认这不是重复 / I searched existing issues and confirmed this isn't a duplicate.
  • 我已阅读 CONTRIBUTING.md / I've read CONTRIBUTING.md.

使用场景 · Context

When pasting content into the ZCode chat composer, there is currently no easy way to review the full contents of a paste before sending it. This matters because:

建议方案 · Proposal

Add a "click to view" interaction on pasted content in the composer. Clicking a pasted block/chip opens a lightweight viewer/editor that shows the full pasted text and lets the user:

  • Read the entire content (with wrapping and scroll).
  • Edit it before sending (fix typos, trim, redact secrets).
  • Optionally copy it back or remove it.

Suggested UX: a small "pasted (N lines)" affordance in the composer that opens a modal or inline expander on click. A keyboard shortcut (e.g. activating the block, or Shift+Enter on it) could also trigger it.

预期价值 · Value

  • Confidence before send: users can verify exactly what's being sent to the model, reducing mistakes and accidental leaks of large or sensitive content.
  • Accessibility of pasted data: works around cases where pasted text isn't visible inline in the composer ([Bug] v3.4.2 (Windows): Pasted text is present in the composer but invisible / uneditable #207).
  • Peer parity: Codex / Claude Code–style workflows benefit from explicit paste inspection; this complements the existing interaction settings (e.g. zcodeInteractionBehavior: queue).

相关 · Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions