Skip to content

Add inline images with a remembered click-to-load choice - #2

Open
dmillzilla wants to merge 1 commit into
mainfrom
feat/message-images
Open

dmillzilla wants to merge 1 commit into
mainfrom
feat/message-images

Conversation

@dmillzilla

Copy link
Copy Markdown
Owner

Email images now render inline in the terminal reader. Embedded and attached images load as conversations open; remote images stay hidden until the reader clicks Always show images or presses I. That choice persists across launches, and S opens reading settings to turn it off.

  • Support PNG, JPEG, GIF first frames, and WebP with bounded downloads, decoding, and an in-memory preview cache.
  • Keep the consent button above the scrolling message; cancel obsolete work on navigation and ignore stale completions. Remote requests validate public destinations and redirects without mail credentials, cookies, or environment proxies.
  • Add an offline click-to-load sample in the demo's A few photos from the coast conversation. Demo settings remain session-only and leave mailbox preferences unchanged.
  • Document image controls and the demo test flow. Existing cached mail gains image metadata on its next sync.

Validation: go test -race ./..., go vet ./..., staged make install and executable version check, macOS arm64/amd64 cross-builds, secret scan of the staged source tree, and terminal mouse verification of demo loading and hiding.

No version bump, release tag, or release publication is included.

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