Repository navigation
fix(canvas): v7 alpha canvas feedback — frames, layer actions, and engine fixes - #9961
Open
joshistoast wants to merge 16 commits into
Open
joshistoast wants to merge 16 commits into
joshistoast wants to merge 16 commits into
Conversation
Pin the toast-contrast toasts open and hold the closed dialog's exit animation, so a busy machine can no longer unmount them mid-assertion.
… masks in the engine Shift-click draws a straight brush or eraser line, the brush paints in place on image layers, and masks stay hidden while a result is staged. Crop all layers and merge inpaint masks each record one undo step within the memory budget; transform waits for a fresh stroke to save. Alt is claimed for every tool so Firefox's menu bar stays closed, and canvas keys respect which panel owns focus.
…ocess A reset menu beside swap offers a native square, the optimal size for the current ratio and model defaults, keeping the canvas frame centred. Select Object's Auto Process choice is saved to the account, and the filter's Reset button now says it resets settings.
…able Frame replaces bbox in labels with distinct icons, crop all and merge masks join the menus and command palette, and Shift+T opens Transform. Shortcut tables are shared so collisions are caught, the Alt-pick colour goes to the armed target, and pending transforms say so.
Covers straight strokes, crop all, merge masks, frame naming, Shift+T, Alt-pick targets, zoom shortcuts and the Generate size reset menu.
# Conflicts: # docs/src/content/docs/Users Guide/07.Canvas/02.canvas-guide.mdx # docs/src/content/docs/Users Guide/07.Canvas/03.layers-panel.mdx # invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx
# Conflicts: # docs/src/content/docs/Users Guide/07.Canvas/02.canvas-guide.mdx
…rol layers The widget's activated script now carries both this branch's canvas changes and main's FLUX.2 control layers (533,097 bytes); request counts are unchanged.
# Conflicts: # invokeai/frontend/webv2/performance/architecture-baseline.json # invokeai/frontend/webv2/performance/browser-baseline.json
This branch's canvas changes on top of main's control layers and clipboard messages bring the widget's activated script to 533,485 bytes; request counts are unchanged.
# Conflicts: # docs/src/content/docs/Users Guide/07.Canvas/02.canvas-guide.mdx # invokeai/frontend/webv2/performance/browser-baseline.json # invokeai/frontend/webv2/src/workbench/hotkeys/catalog.ts # invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx
…ent main The English locale grows to 225,516 bytes on every route with the gallery and canvas strings together, and the canvas widget's activated script is 531,250 bytes; request counts are unchanged.
# Conflicts: # invokeai/frontend/webv2/performance/browser-baseline.json # invokeai/frontend/webv2/src/workbench/settings/store.test.ts
…l changes With main's generation and model changes, this branch's canvas widget activates 531,800 bytes of script; request counts are unchanged.
The overview composites the frame joined with every enabled layer, the same extent fit-to-view fits, and the pane maps its outline and pointer through the rect the engine drew instead of the document origin.
# Conflicts: # invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.browser.test.tsx
6 of 7 tasks
This branch has not been deployed
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
Fixes a batch of v7 alpha canvas reports:
Related Issues / Discussions
v7 alpha feedback thread on Discord: https://discord.com/channels/1020123559063990373/1149506274971631688
QA Instructions
pnpm check:release(frominvokeai/frontend/webv2) passes: lint, unit, browser, fixtures, performance, project-file and accessibility journeys.pnpm dev:mock:Review
Review findings resolved:
Known limit: menu item descriptions are still read as part of the item's accessible name. That fix belongs in the shared Menu component and will follow separately.
Compatibility / Rollout
selectObjectAutoProcessaccount preference; a missing value means off.Checklist
What's Newcopy (if doing a release after this PR)Need help on this PR? Tag
@codesmith-botwith what you need.