Commit Graph

3926 Commits

Author SHA1 Message Date
Mark Tolmacs
9551f2f8fb Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-10-01 10:46:38 +02:00
Emil
835eb8d2fd fix: display error message when local storage quota is exceeded (#9961)
* fix: display error message when local storage quota is exceeded

* add danger alert instead of toast

* tweak text

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-30 23:54:43 +02:00
zsviczian
fde796a7a0 feat: Make naming of library items discoverable (#10041)
* updated library relevant strings

* fix: detect name changes

* clarify hashing function

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-30 18:38:10 +00:00
Yago Dórea
7c41944856 fix: small improvement on binary heap implementation (#9992) 2025-09-30 17:09:20 +02:00
Omar Eltomy
f1b097ad06 fix: support bidirectional shift+click selection in library items (#10034)
* fix: support bidirectional shift+click selection in library items

- Enable bottom-up multi-selection (previously only top-down worked)
- Use Math.min/max to handle selection range in both directions
- Maintains existing behavior for preserving non-contiguous selections
- Fixes issue where shift+clicking items above last selected item failed

* improve deselection behavior

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-29 11:46:42 +00:00
David Luzar
9fcbbe0d27 fix: library search UI fixes/tweaks (#10032)
* fix library icon height in command palette

* add clear button when no results
2025-09-29 12:06:17 +02:00
Mark Tolmacs
6c56972c96 Fix ghost start binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 11:57:09 +02:00
Mark Tolmacs
1744c7aa56 feat: Center binding on SHIFT key
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 10:55:48 +02:00
Mark Tolmacs
0232917443 feat: No angle lock over bindable elements
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 10:55:26 +02:00
Mark Tolmacs
2a4f7e94b1 fix: Allow already inside bound arrows to continue inside binding
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-29 09:51:47 +02:00
Archie Sengupta
dbb0a39b22 feat: library search (#9903)
* feat(utils): add support for search input type in isWritableElement

* feat(i18n): add search text

* feat(cmdp+lib): add search functionality for command pallete and lib menu items

* chore: fix formats, and whitespaces

* fix: opt to optimal code changes

* chore: fix for linting

* focus input on mount

* tweak placeholder

* design and UX changes

* tweak item hover/active/seletected states

* unrelated: move publish button above delete/clear to keep it more stable

* esc to clear search input / close sidebar

* refactor command pallete library stuff

* make library commands bigger

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-29 09:20:54 +02:00
Davide Wietlisbach
1ce81e7347 fix: increase rejection delay for opening files with legacy api (#8961)
* Increased input change interval to 1000 ms to fix IOS 18 file opening issue

* increase more

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-29 09:20:54 +02:00
David Luzar
2fbfca5067 feat: better file normalization (#10024)
* feat: better file normalization

* fix lint

* fix png detection

* optimize

* fix type
2025-09-29 09:20:54 +02:00
Archie Sengupta
ec070911b8 feat: library search (#9903)
* feat(utils): add support for search input type in isWritableElement

* feat(i18n): add search text

* feat(cmdp+lib): add search functionality for command pallete and lib menu items

* chore: fix formats, and whitespaces

* fix: opt to optimal code changes

* chore: fix for linting

* focus input on mount

* tweak placeholder

* design and UX changes

* tweak item hover/active/seletected states

* unrelated: move publish button above delete/clear to keep it more stable

* esc to clear search input / close sidebar

* refactor command pallete library stuff

* make library commands bigger

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-28 22:16:28 +02:00
Davide Wietlisbach
dcdeb2be57 fix: increase rejection delay for opening files with legacy api (#8961)
* Increased input change interval to 1000 ms to fix IOS 18 file opening issue

* increase more

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-26 16:30:23 +02:00
David Luzar
a8acc8212d feat: better file normalization (#10024)
* feat: better file normalization

* fix lint

* fix png detection

* optimize

* fix type
2025-09-25 22:26:58 +02:00
Mark Tolmacs
af4e1befef Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-24 20:29:27 +02:00
Márk Tolmács
a89a03c66c fix: Arrow eraser precision arrow selection (#10006) 2025-09-24 20:28:41 +02:00
Mark Tolmacs
f85a4b6998 Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-24 19:38:23 +02:00
Márk Tolmács
e32836f799 fix: Use analytical Jacobian for curve intersection testing (#10007) 2025-09-24 19:33:20 +02:00
Márk Tolmács
06c40006db fix: Elbow arrow routing issue with diamonds and ellipses (#10021) 2025-09-24 19:22:32 +02:00
Mossberg
91c7748c3d fix: added normalization to images added with the image tool to prevent MIME-mismatches (#10018)
* fix: fixed a bug where a MIME-mismatch in an image would cause an error to update cache

* fix: fixed a bug where a MIME-mismatch in an image would cause an error to update cache

* normalize inside insertImages()

---------

Co-authored-by: Mårten Mossberg <marmo607@student.liu.se>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-24 16:30:50 +00:00
David Luzar
f738b74791 fix: reintroduce height-based mobile query detection (#10020) 2025-09-24 18:17:39 +02:00
Omar Brikaa
00ae455873 fix: Remove local elements when there is room data during startCollaboration (#9786)
* Remove local elements when there is room data

* Update excalidraw-app/collab/Collab.tsx

---------

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
2025-09-23 22:18:41 +00:00
ericvannunen
06c5ea94d3 fix: Race conditions when adding many library items (#10013)
* Fix for race condition when adding many library items

* Remove unused import

* Replace any with LibraryItem type

* Fix comments on pr

* Fix build errors

* Fix hoisted variable

* new mime type

* duplicate before passing down to be sure

* lint

* fix tests

* Remove unused import

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-09-23 23:47:03 +02:00
Mark Tolmacs
95f1c719c4 fix: False bind timeout indicator
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-22 18:22:35 +02:00
Mark Tolmacs
83c7841bf1 Merge branch 'master' into mtolmacs/feat/fixed-point-simple-arrow-binding 2025-09-21 09:56:59 +02:00
dwelle
dba41c4116 tweak animation some more + remove countdown 2025-09-19 19:58:01 +02:00
Márk Tolmács
f55ecb96cc fix: Mobile arrow point drag broken (#9998)
* fix: Mobile bound arrow point drag broken

* fix:Check real point
2025-09-19 19:41:03 +02:00
dwelle
83fa9099f6 alt anims + increase timeout to 700 2025-09-18 20:25:32 +02:00
Mark Tolmacs
97fa922060 fix:Animated binding highlight 2025-09-18 19:30:54 +02:00
Mark Tolmacs
b8d1b8a5bd fix:Overlap inside binding 2025-09-18 16:16:01 +02:00
Mark Tolmacs
50e58abfd3 fix:Tool lock binding behavior restored 2025-09-17 20:52:52 +02:00
Mark Tolmacs
43816eb62d fix Arrow edit mode selection 2025-09-17 20:41:04 +02:00
Mark Tolmacs
d6e3839d31 fix:Poisoned arrow 2025-09-17 18:56:41 +02:00
Mark Tolmacs
e0dd29aa36 fix:Refactored and fixed highlight animation 2025-09-17 18:37:56 +02:00
Mark Tolmacs
f0494ced4c feat:Highlight animations
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-17 10:46:36 +02:00
David Luzar
a6a32b9b29 fix: align MQ breakpoints and always use editor dimensions (#9991)
* fix: align MQ breakpoints and always use editor dimensions

* naming

* update snapshots
2025-09-17 07:57:10 +00:00
Mark Tolmacs
345e3f68f1 chore:Basic interactive canvas animation re-render trigger for highlights
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-16 20:35:17 +02:00
Mark Tolmacs
5b77409eff fix: Jump arrow inside it gets visially too short
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-09-16 19:14:29 +02:00
Mark Tolmacs
6398d14f3f feat: Remove center binding 2025-09-16 17:08:07 +02:00
Mark Tolmacs
32526c4d4a fix: Locked tool + arrow 2025-09-16 17:05:57 +02:00
Mark Tolmacs
f2f5168355 chore: Logic for measurement 2025-09-16 17:05:30 +02:00
Mark Tolmacs
55115d2ee4 feat: Allow inside binding for new arrows in nested cases 2025-09-16 17:05:03 +02:00
Mark Tolmacs
acc1241015 fix: Update history snapshot 2025-09-15 12:38:44 +02:00
Mark Tolmacs
e67338bff0 fix: New arrow start orbit when nested binds on the end 2025-09-15 11:01:30 +02:00
Mark Tolmacs
5a350a17c0 fix:Add intersection padding 2025-09-15 10:55:00 +02:00
Márk Tolmács
ac0d3059dc fix: Use the right polygon enclosure test (#9979) 2025-09-15 10:07:37 +02:00
dwelle
073f47d253 tweak highlight stroke width some more 2025-09-14 22:48:56 +02:00
dwelle
6c2f5dbd81 handle overlap when both elements the same size 2025-09-14 19:04:31 +02:00