Skip to content

feat(desktop): auto-load inline images and add click-to-enlarge preview - #687

Merged
huichen merged 4 commits into
mainfrom
feat/desktop-inline-images
Sep 17, 2026
Merged

huichen merged 4 commits into
mainfrom
feat/desktop-inline-images

Conversation

@huichen

@huichen huichen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Automatically load resolved local Markdown images, including paths outside the workspace, while retaining backend path/size validation and URL filtering.
  • Click unlinked images to open a viewport-sized lightbox rendered outside streamed-content containment; close with Escape, backdrop, or the close button. Preserve linked-image navigation.
  • Remove redundant inline expand/collapse links; add localized preview labels, focus handling, and regression tests.

Validation

  • Desktop TypeScript and full ESLint pass.
  • Desktop Vitest: 134 files, 1128 tests passed after syncing main.
  • Live Chromium fixture verified image rendering, lightbox opening/closing, and no containment clipping; screenshot inspected.
  • Native Tauri window was not re-tested.
  • Thinking-process presentation is deliberately unchanged (separate work).

@huichen
huichen enabled auto-merge (squash) September 17, 2026 04:04
@huichen
huichen merged commit 1149983 into main Sep 17, 2026
12 checks passed
@huichen
huichen deleted the feat/desktop-inline-images branch September 17, 2026 04:07
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