Repository navigation
Show the full file path in the metadata drawer; make the drawer shorter - #436
Merged
Merged
Conversation
Fixes #432. The drawer's titlebar now shows the full path in a small, selectable line under the file name, for every image and video. The old "Path" row appeared only in InvokeAI tables and was injected as unescaped HTML; it is gone. To save vertical space: - "View Metadata (JSON)" becomes a "{ }" button in the titlebar instead of an extra row in the details table (or below the buttons). - The cluster badge and the image tags share one wrapping row. - EXIF rows are merged: Camera (make + model, without repeating the brand), Exposure (aperture, shutter, ISO, focal length), Size (width x height), and GPS (lat, lon, altitude). Date/Time is shown only when it differs from Date Taken. The empty location column that indented GPS-less tables is dropped. - Table cells, the accordion header, and the drawer padding are tighter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st grid-view titlebar fill Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #432.
Full path
The drawer's title bar now shows the file's full path in a small grey line under the file name, for every image and video. The line is selectable and is not a drag handle. The copy button's tooltip now reads "Copy full path".
This replaces the old "Path" row, which appeared only in InvokeAI details tables and was inserted as unescaped HTML, so a file name containing markup was rendered. The path is now set with
textContent.A shorter drawer
Measured headless at 1600px wide:
{ }button in the title bar. It replaces the link row at the bottom of the details table and the separate link below the buttons.{ }button.Known issues, not changed here
These existed before this PR:
IFDRationalEXIF values (f-number, exposure time, focal length, GPS altitude), so for most photos the Exposure row shows only ISO. Fixing it needs an indexing change and a reindex..swiper-slidedata-filepath, not from the displayed path, so in that stale case it can copy a different path or nothing.Tests
tests/frontend/metadata-drawer-file-info.test.js: the title bar fill, that the path is treated as text rather than markup, and that the Path row and the cloned metadata link are gone.tests/frontend/grid-view.test.jschecks that grid view fills the title bar.tests/backend/test_metadata_formatting.py: EXIF row-merging tests.npm test(1,048 tests) andpytest tests(1,361 tests) both passed.🤖 Generated with Claude Code