Omar Brikaa
3bdaafe4b5
feat: [cont.] support inserting multiple images (#9875)
* feat: support inserting multiple images
* Initial
* handleAppOnDrop, onImageToolbarButtonClick, pasteFromClipboard
* Initial get history working
* insertMultipleImages -> insertImages
* Bug fixes, improvements
* Remove redundant branch
* Refactor addElementsFromMixedContentPaste
* History, drag & drop bug fixes
* Update snapshots
* Remove redundant try-catch
* Refactor pasteFromClipboard
* Plain paste check in mermaid paste
* Move comment
* processClipboardData -> insertClipboardContent
* Redundant variable
* Redundant variable
* Refactor insertImages
* createImagePlaceholder -> newImagePlaceholder
* Get rid of unneeded NEVER schedule, filter out failed images
* Trigger CI
* Position placeholders before initializing
* Don't mutate scene with positionElementsOnGrid, captureUpdate: CaptureUpdateAction.IMMEDIATELY
* Comment
* Move positionOnGrid out of file
* Rename file
* Get rid of generic
* Initial tests
* More asserts, test paste
* Test image tool
* De-duplicate
* Stricter assert, move rest of logic outside of waitFor
* Modify history tests
* De-duplicate update snapshots
* Trigger CI
* Fix package build
* Make setupImageTest more explicit
* Re-introduce generic to use latest placeholder versions
* newElementWith instead of mutateElement to delete failed placeholder
* Insert failed images separately with CaptureUpdateAction.NEVER
* Refactor
* Don't re-order elements
* WIP
* Get rid of 'never' for failed
* refactor type check
* align max file size constant
* make grid padding scale to zoom
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-01 17:31:24 +02:00
..
2025-07-15 12:43:42 +02:00
2025-06-16 12:30:59 +02:00
2025-09-01 17:31:24 +02:00
2025-06-16 12:30:42 +02:00
2025-03-26 15:24:59 +01:00
2025-03-26 15:24:59 +01:00
2025-06-14 12:49:22 +02:00
2025-08-21 16:09:19 +02:00
2025-06-14 12:49:22 +02:00
2025-07-15 12:43:42 +02:00
2025-05-09 23:01:33 +02:00
2025-04-17 16:08:07 +02:00
2025-08-22 15:45:58 +00:00
2025-03-26 15:24:59 +01:00
2025-07-13 19:19:10 +02:00
2025-06-12 21:08:37 +02:00
2025-06-09 09:55:35 +02:00
2025-05-09 18:32:16 +02:00
2025-07-15 12:43:42 +02:00
2025-04-07 10:43:07 +02:00
2025-03-26 15:24:59 +01:00
2025-09-01 17:31:24 +02:00
2025-07-24 17:02:21 +02:00
2025-06-12 21:08:37 +02:00
2025-05-26 11:14:55 +02:00
2025-09-01 17:31:24 +02:00
2025-07-23 18:49:56 +10:00
2025-08-29 12:31:23 +02:00
2025-03-26 15:24:59 +01:00
2025-08-15 15:25:56 +02:00
2025-05-10 20:06:16 +02:00
2025-06-12 21:08:37 +02:00
2025-04-07 16:44:25 +10:00
2025-05-27 12:39:45 +02:00
2025-03-26 15:24:59 +01:00
2025-08-15 15:25:56 +02:00
2025-08-29 12:31:23 +02:00
2025-03-26 15:24:59 +01:00
2025-03-26 15:24:59 +01:00
2025-07-24 17:02:21 +02:00
2025-06-07 17:08:35 +02:00
2025-06-07 12:56:32 +02:00
2025-06-16 12:30:42 +02:00
2025-05-09 23:01:33 +02:00