Repository navigation
Studio: open Images workflows from More when Images is unpinned - #13101
Conversation
NilayYadav
left a comment
There was a problem hiding this comment.
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-haspopupnull, 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.
- 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 onbrowser.*keys) and(Python 3.13, a-k)(test_hub_token_caller_identity.py) jobs fail the same way on main63988fd030, 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.
|
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 Validation:
The screenshots use the source merge base Fresh source CI is queued after landing. On the prior source head, strict i18n checking failed with the same 33 missing |
mahiatlinux
left a comment
There was a problem hiding this comment.
LGTM! Ready to merge, all manually checked.
…rseded by unslothai#13101) (unslothai#12767) Co-authored-by: Abir Das <[email protected]>



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