InvokeAI/invokeai/frontend/web/src/features/canvas/components
psychedelicious 7e2ade50e1 fix(ui): canvas staging area & batch handling fixes
Handful of intertwined fixes.

- Create and use helper function to reset staging area.
- Clear staging area when queue items are canceled, failed, cleared, etc. Fixes a bug where the bbox ends up offset and images are put into the wrong spot.
- Fix a number of similar bugs where canvas would "forget" it had pending generations, but they continued to generate. Canvas needs to track batches that should be displayed in it using `state.canvas.batchIds`, and this was getting cleared without actually canceling those batches.
- Disable the `discard current image` button on canvas if there is only one image. Prevents accidentally canceling all canvas batches if you spam the button.
2024-04-10 21:48:34 +10:00
..
IAICanvasStatusText chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasToolbar fix: typo, change shouldFitImageSize default value 2024-04-05 15:23:58 +11:00
ClearCanvasHistoryButtonModal.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvas.tsx refactor: ✏️ canvas mask compositor naming 2024-03-06 20:06:14 +11:00
IAICanvasBoundingBoxOverlay.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasGrid.tsx chore(ui): lint 2024-01-28 19:57:53 +11:00
IAICanvasImage.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasImageErrorFallback.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasIntermediateImage.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasMaskCompositor.tsx fix: 🐛 didn't include renamed file 2024-03-06 20:06:14 +11:00
IAICanvasMaskLines.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasObjectRenderer.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasStagingArea.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasStagingAreaToolbar.tsx fix(ui): canvas staging area & batch handling fixes 2024-04-10 21:48:34 +10:00
IAICanvasStatusText.tsx chore(ui): format 2024-01-28 19:57:53 +11:00
IAICanvasToolPreview.tsx chore(ui): format 2024-01-28 19:57:53 +11:00