Clearer album-source display, gated on InvokeAI backend#335
Open
lstein wants to merge 1 commit into
Open
Conversation
Replace the disabled source-type radios in the album edit form with a static "Album Source: <type>" line plus the small-font immutability hint, so the selected backing is easy to read. Also hide the entire InvokeAI album-source UI unless an InvokeAI backend is configured in settings: the new-album radio chooser stays hidden (and the source is forced to a directory of image files) and the edit form's source line is hidden. The edit line still shows for existing board albums so their (immutable) type never silently disappears. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
Two album-management UI tweaks around the album source type (filesystem directory vs. InvokeAI board):
Clearer source display on edit. When editing an existing album, the disabled radio buttons are hard to read. They're replaced with a static line plus the existing small-font hint:
Hide the InvokeAI source UI unless a backend is configured. The frontend checks
GET /invokeai/config(a non-emptyurlmeans configured):The new-album card's appearance is otherwise unchanged when a backend is configured.
Testing
npm test— full frontend suite passes (381 tests), including 2 new cases covering the chooser show/hide + directory-force behavior.npm run lintandnpm run format:checkclean.🤖 Generated with Claude Code