Skip to content

feat: show image paths in editor - #1473

Open
dimafa wants to merge 2 commits into
CyberTimon:mainfrom
dimafa:codex/editor-file-path
Open

feat: show image paths in editor#1473
dimafa wants to merge 2 commits into
CyberTimon:mainfrom
dimafa:codex/editor-file-path

Conversation

@dimafa

@dimafa dimafa commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Description

Expose the selected image's location consistently throughout the single-image editor while keeping the displayed path compact and aligned with the library folder tree.

Fixes #1472.

Type of Change

  • New feature
  • UI/UX improvement

Changes Made

  • Show the image's parent folder beneath the filename in the expanded editor header and in Metadata → File Information.
  • Display paths relative to the most specific matching library root, including the visible root folder name; fall back to the full parent folder outside a configured root.
  • Replace either displayed path with Copy/Copied on hover while copying the complete physical file path, including the filename.
  • Resolve virtual copies to their physical source path for display, clipboard, and file-reveal behavior.
  • Add Show in File Explorer to the existing editor image context menu using the established native reveal command and translations.

Screenshots/Videos

Before

Existing editor file header

After

FilePanelWithPath

Metadata File Information

MetadataFileWIthPath

Path changes to Copy button on hover:

MetadataFileCopy

Testing

  • These changes were tested locally by a human and confirmed to work.
  • I haven't added any automated tests to the code because the codebase currently lacks a test suite.

Test Configuration:

  • OS: macOS 26.4
  • Hardware: Apple Silicon (arm64)

Checklist

  • My code follows the project's code style
  • I haven't added unnecessary AI-generated code comments
  • My changes generate no new warnings or errors

Additional Notes

The repository-wide typecheck, lint, format:check, and i18n:check commands currently fail on unchanged upstream issues. The production build, native debug bundle, targeted formatting check, focused path cases, and native UI validation pass for this change.

AI Disclaimer:

Please state the involvement of AI in this PR:

  • This PR is mostly AI-generated but edited/merged together by a human

@dimafa
dimafa marked this pull request as ready for review August 5, 2026 02:30
@dimafa
dimafa requested a review from CyberTimon as a code owner August 5, 2026 02:30
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.

FEATURE: Show and copy full image paths in the editor

1 participant