Skip to content

Studio: open Images workflows from More when Images is unpinned - #13101

Merged
mahiatlinux merged 2 commits into
unslothai:mainfrom
NilayYadav:images-tab-only-show-reference
Oct 9, 2026
Merged

mahiatlinux merged 2 commits into
unslothai:mainfrom
NilayYadav:images-tab-only-show-reference

Conversation

@NilayYadav

@NilayYadav NilayYadav commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

With Images unpinned in Settings > Sidebar navigation, More listed Images as a plain item that only opened Create. Edit, Transform, Inpaint, Extend, Upscale and Reference could not be reached from anywhere, because the sidebar list under the Images row is the page's only workflow switcher.

Images in More now works like Audio already does. Hovering it (or pressing the right arrow) opens a submenu with every workflow, and picking one opens Images on that workflow. Clicking the row still opens Images. While the Images page is open, its row stays in the sidebar with the workflows listed under it, and it goes back into More afterwards without changing the saved pin. Workflows the loaded model cannot do are greyed out, as in the sidebar.

Fixes #12745

Screenshots

Before (main) After (this PR)

@NilayYadav NilayYadav left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review + reproduction evidence

Pinned review: 04bb088e6c0e6d438db3fc935abd2f5c97f6950c. No blocking findings.

I reproduced the #12745 flow on fresh upstream main (63988fd030) and on this head, both installed with install.sh --local --no-torch on Linux, logged in through the login form, 1440x900, in Chromium, Firefox, WebKit and Chrome: Settings > Appearance > Sidebar navigation, turn off "Pin Images to the sidebar", open More, hover Images, pick a workflow.

  • main / fix reverted (run): Images in More has no submenu (aria-haspopup null, one menu open on hover). Clicking it lands on "Create images" and the sidebar has no Images row, so Edit, Transform, Inpaint, Extend, Upscale and Reference cannot be reached. The PR's tests fail at the intended assertions: Frontend unit tests (Windows) 11066 pass / 6 fail (an unpinned Images row opens its workflows from More, the open Images page keeps its row, and so its workflows, on the sidebar, plus the 3 updated Audio More assertions and the pick helper test).
  • PR head (run): hovering Images opens a submenu with Create, Edit, Transform, Inpaint, Extend, Upscale, Reference. Picking Edit opens the Images page on "Edit" with the Images row and all 7 workflows on the sidebar, Edit highlighted. Clicking the Images row itself still opens the page. Frontend unit tests (Windows) 11072 pass / 0 fail.

PR 13101 before/after

  • Unchanged for everyone else: with Images pinned (the default) the More menu is identical on both sides, the Audio submenu and its picks behave the same, and the saved pin stays off after visiting Images (also after a reload).
  • Also checked on the PR: keyboard (ArrowRight opens the workflows, Enter picks), the collapsed icon sidebar, and the mobile sheet at 390x844, which now lists the Images workflows while the page is open (main shows no Images row there).
  • Typecheck and build pass. The red Frontend build + bundle sanity (locale parity on browser.* keys) and (Python 3.13, a-k) (test_hub_token_caller_identity.py) jobs fail the same way on main 63988fd030, so they are not from this change.

Conclusion: the issue is real on main and fixed here, with no change for users who keep Images pinned. Not covered: greyed-out workflows with an image model loaded (needs a GPU), real Safari and Edge on Windows.

@mahiatlinux

Copy link
Copy Markdown
Contributor

Verified the unpinned Images workflow through two isolated Studio installs. Before, Images in More has no workflow submenu and opens Create images. After, hover and ArrowRight each expose all seven workflows; choosing Edit opens Edit and brings Images plus its workflow list into the sidebar.

No functional correction was needed. Three comments were shortened in 21cab2085b8cd7129afee841d2b0ed4f859961ea, carried back from mirror #184. The comment-only TypeScript AST gate passed. Review convergence has no findings on mirror commit fa4e2b42c27a9396ef5d343694570d2ac8cf1541.

Validation:

  • Focused sidebar tests: base 15/15, source head 18/18 passed.
  • Final mirror: npm test passed 11,072/11,072; npm run typecheck passed. Production build passed, and both isolated UI installations built successfully.
  • Browser scene: hover and ArrowRight submenu counts 0 → 7, heading Create images → Edit, active Images row absent → visible. Both composites were manually inspected.
  • Linux x86_64, Node 26.8.2, npm 11.19.1, Playwright 1.63.0, Chromium 153.0.8010.12, 1500×1000 viewport. No model inference was needed. The optional Flash Attention wheel was skipped after a stalled download. This browser run does not claim Windows/macOS, Firefox, or Safari coverage.

The screenshots use the source merge base 63988fd030bf2e2ba825e68f4d4482819de61b14 and local repaired head fa49827c445ca94f498efc214f9bd01b1d920d9b, whose tree matches landed source head 21cab2085b8cd7129afee841d2b0ed4f859961ea. Explicit refs kept the sandbox free of GitHub credentials; the base is the PR's own merge base.

Fresh source CI is queued after landing. On the prior source head, strict i18n checking failed with the same 33 missing browser.* keys on base and head, and targeted ESLint reported the same eight existing sidebar errors on both. The earlier backend failure was in test_hub_token_caller_identity.py, outside this frontend diff.

More menu before and after

Images page before and after

UI facts and source refs

@mahiatlinux mahiatlinux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Ready to merge, all manually checked.

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.

[Bug] Images tab only show Reference/Edit, etc sections if its pinned to the sidebar

2 participants