Skip to content

Draw the picture under the selected row in image-preview - #6

Merged
scoobynko merged 2 commits into
mainfrom
feat/image-preview-picture-under-row
Oct 2, 2026
Merged

scoobynko merged 2 commits into
mainfrom
feat/image-preview-picture-under-row

Conversation

@scoobynko

Copy link
Copy Markdown
Owner

What changes

  • Picture under the selected row. The picture, its buttons and its caption now sit directly under the row you picked, with the remaining rows after it. Before, they sat below the whole list, away from the row they belong to.
  • Clean caption for pasted images. An image pasted right after a slash command shares its message with the command's record (<command-name>…, <local-command-stdout>…), and every pasted image brings an [Image: source: …] line. Both were shown as the caption; now only the text you typed is.
  • image-preview goes to 0.3.0.

Testing

  • claude plugin test plugins/image-preview: 78 pass, including a new test for the row order and one for the caption, both written to fail first.
  • claude plugin validate plugins/image-preview passes.
  • Row order checked in a live terminal session with three images, loading the mod with --plugin-dir. The caption fix is covered by its test only; it was not re-checked live.
  • Not run: tsc type-check (TypeScript is not installed in the repo).

🤖 Generated with Claude Code

scoobynko and others added 2 commits October 2, 2026 22:45
The picture used to sit below the whole list, away from the row it
belongs to. It now follows the selected row, with the remaining rows
after it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An image pasted right after a slash command shares its message with the
command's record, and every pasted image brings an [Image: source: ...]
line. Both were shown as the caption under the picture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@scoobynko
scoobynko merged commit 63e812e into main Oct 2, 2026
1 check 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