Skip to content

feat(image-editor): live Navigator panel thumbnail#96

Merged
lyfuci merged 1 commit into
mainfrom
feat/pixelforge-navigator
Jun 18, 2026
Merged

feat(image-editor): live Navigator panel thumbnail#96
lyfuci merged 1 commit into
mainfrom
feat/pixelforge-navigator

Conversation

@lyfuci

@lyfuci lyfuci commented Jun 18, 2026

Copy link
Copy Markdown
Owner

What

The PixelForge prototype shows the Navigator panel as functional; toolbox had it as a stub (empty box + zoom %). It now renders a live composite thumbnail of the document.

How

  • NavigatorStub (RightSidebar) now takes image / state / imageCache and paints the editor composite (via the existing renderEditorToCanvas helper) into a fixed-height preview box, letterboxed. Re-paints on image/state/zoom changes. Shows a placeholder line before an image is open.
  • i18n: pages.imageEditor.navigator.empty in en + zh-CN.

Verification

  • pnpm typecheck / pnpm lint / pnpm build clean; 388 tests green; i18n parity intact (0 gaps).
  • Headless-Chrome: opened an image, switched to the Navigator tab → the thumbnail canvas paints a non-blank composite (~11.8k non-blank px); zero page errors.

Follows #95 (the prototype's placeholder layer ops). Together these turn the prototype's last "functional-looking but stubbed" surfaces real, except the items deliberately deferred there (Fade — architecturally redundant given non-destructive adjustment layers; vector mask — large render rework).

🤖 Generated with Claude Code

The PixelForge prototype shows the Navigator panel as functional; toolbox had
it as a stub (empty box + zoom %). Render a live composite thumbnail of the
document into the panel via renderEditorToCanvas (the same helper the editor
uses), down-fit (letterboxed) into a fixed preview box; re-paints on
image/state/zoom changes. Shows a placeholder line before an image is opened.

i18n: pages.imageEditor.navigator.empty in en + zh-CN.

Verified: typecheck/lint/build clean, 388 tests green, i18n parity intact;
headless-Chrome confirmed the navigator tab renders a non-blank composite
thumbnail (11.8k non-blank px), zero page errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lyfuci lyfuci merged commit 243b8a7 into main Jun 18, 2026
2 checks passed
@lyfuci lyfuci deleted the feat/pixelforge-navigator branch June 18, 2026 15:25
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