Skip to content

[FEATURE]: add prompt-time image preview for TUI attachments #22195

Closed as not planned

Description

@hernandezsanti
  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Add prompt-time image previews in the TUI when an image is attached.

Proposed behavior:

  • keep the existing [Image N] token
  • show textual metadata for attached images
  • render a small thumbnail when terminal capabilities allow it
  • fall back silently to text-only preview on unsupported terminals

Benefits:

  • gives immediate feedback before sending
  • makes pasted image attachments easier to verify
  • keeps unsupported terminals usable with a simple fallback

I already have a local prototype for this, but wanted to check if this direction is acceptable before opening a PR because it touches TUI/UI behavior.

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 12, 2026
  2. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature requests must use the **[FEATURE]: ** prefix in the title (e.g. [FEATURE]: add prompt-time image preview for TUI attachments)
    • Feature requests must use the Feature Request issue template, which includes a verification checkbox confirming the feature hasn't been suggested before

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. changed the title [-]feat: add prompt-time image preview for TUI attachments[/-] [+][FEATURE]: add prompt-time image preview for TUI attachments[/+] on Apr 12, 2026
  4. hernandezsanti commented on Apr 12, 2026

    @hernandezsanti
    Author

    I have a working local prototype for this on my fork:

    • branch: feature/FEAT-22195-tui-image-preview

    It shows attachment metadata in the TUI prompt and a small terminal-aware thumbnail fallback.

    Before opening a PR, I wanted to confirm whether this direction is acceptable given the design review note in CONTRIBUTING.md for UI/core product changes.

  5. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines and feature request template. We appreciate you taking the time to revise it.

  6. assigned and unassigned on Apr 26, 2026
  7. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  8. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions