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-03-12 15:23:31 +01:00
2025-05-09 23:01:33 +02:00
2025-07-24 17:02:21 +02:00
2025-08-12 11:56:11 +02:00
2025-03-26 15:24:59 +01:00
2025-06-09 09:55:35 +02:00
2025-09-01 17:31:24 +02:00
2025-01-16 16:59:11 +01:00
2025-08-20 14:09:20 +02:00
2023-12-07 16:39:11 +05:30
2025-03-26 15:24:59 +01:00
2023-11-03 17:41:34 +05:30
2025-03-26 15:24:59 +01:00
2025-02-28 16:49:09 +01:00
2025-08-20 14:09:20 +02:00
2024-06-12 19:49:46 +02:00
2025-03-12 15:23:31 +01:00
2025-02-25 19:18:42 +01:00
2025-02-13 12:47:27 +01:00
2025-03-26 15:24:59 +01:00
2024-11-09 21:45:37 +05:30
2025-04-07 16:44:25 +10:00