Marcel Mraz
d2038b7c5a
Merge branch 'master' into mrazator/delta-based-sync
2025-04-23 14:35:15 +02:00
Ryan Di
ce267aa0d3
feat: lasso selection ( #9169 )
...
* lasso without 'real' shape detection
* select a single linear el
* improve ux
* feed segments to worker
* simplify path threshold adaptive to zoom
* add a tiny threshold for checks
* refactor code
* lasso tests
* fix: ts
* do not capture lasso tool
* try worker-loader in next config
* update config
* refactor
* lint
* feat: show active tool when using "more tools"
* keep lasso if selected from toolbar
* fix incorrect checks for resetting to selection
* shift for additive selection
* bound text related fixes
* lint
* keep alt toggled lasso selection if shift pressed
* fix regression
* fix 'dead' lassos
* lint
* use workerpool and polyfill
* fix worker bundled with window related code
* refactor
* add file extension for worker constructor error
* another attempt at constructor error
* attempt at build issue
* attempt with dynamic import
* test not importing from math
* narrow down imports
* Reusing existing workers infrastructure (fallback to the main thread, type-safety)
* Points on curve inside the shared chunk
* Give up on experimental code splitting
* Remove potentially unnecessary optimisation
* Removing workers as the complexit is much worse, while perf. does not seem to be much better
* fix selecting text containers and containing frames together
* render fill directly from animated trail
* do not re-render static when setting selected element ids in lasso
* remove unnecessary property
* tweak trail animation
* slice points to remove notch
* always start alt-lasso from initial point
* revert build & worker changes (unused)
* remove `lasso` from `hasStrokeColor`
* label change
* remove unused props
* remove unsafe optimization
* snaps
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Co-authored-by: Marcel Mraz <marcel@excalidraw.com>
2025-04-07 16:44:25 +10:00
David Luzar
f2e8404c7b
feat: allow to disable preventUnload in dev ( #9319 )
...
Tests / test (push) Successful in 4m36s
* feat: allow to disable preventUnload in dev
* add template
2025-03-29 19:42:33 +01:00
Marcel Mraz
de81ba25fd
Merge branch 'master' into mrazator/delta-based-sync
2025-03-28 13:23:34 +01:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
Auto release excalidraw next / Auto-release-excalidraw-next (push) Failing after 2m36s
Build Docker image / build-docker (push) Failing after 6s
Cancel previous runs / cancel (push) Failing after 1s
Publish Docker / publish-docker (push) Failing after 31s
New Sentry production release / sentry (push) Failing after 2m3s
2025-03-26 15:24:59 +01:00
Mursaleen Nisar
e1bb59fb8f
chore: Use isDevEnv() and isTestEnv() ( #9264 )
...
Tests / test (push) Successful in 4m50s
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2025-03-24 19:44:00 +01:00
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
Tests / test (push) Successful in 4m38s
2025-03-12 15:23:31 +01:00
Marcel Mraz
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
2025-02-28 16:49:09 +01:00
Márk Tolmács
0ffeaeaecf
feat: Remove GA code from binding ( #9042 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-02-25 22:52:06 +01:00
David Luzar
31e8476c78
chore: upgrade to react@19 ( #9182 )
2025-02-25 19:18:42 +01:00
David Luzar
16b86d7d16
chore: update firebase@8 to @11 ( #9136 )
2025-02-13 13:57:14 +01:00
Márk Tolmács
f12b92ce9d
chore: Upgrade Sentry to latest and update debug messages ( #9134 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-02-13 12:47:27 +01:00
Márk Tolmács
77dc055d81
chore: Revert aspect ratio fix with element size limits and chk ( #9131 )
2025-02-12 15:02:35 +01:00
Marcel Mraz
7b72406824
Server snapshot WIP
2025-01-29 17:55:51 +01:00
Marcel Mraz
49925038fd
Switch from sqlite payload strings to buffers, utils refactor, dev logging
2025-01-29 17:44:45 +01:00
Marcel Mraz
7e0f5b6369
Cache received changes, ignore snapshot cache for durable changes, revert StoreAction, history fix, indices fix
2025-01-29 17:44:45 +01:00
Marcel Mraz
310a9ae4e0
Syncing ephemeral element updates
2025-01-29 17:43:38 +01:00
Marcel Mraz
c57249481e
Custom room, various fixes
2025-01-29 17:41:42 +01:00
Marcel Mraz
9f8c87ae8c
Fix auto-reconnection & slider value sync
2025-01-29 17:41:42 +01:00
Marcel Mraz
f6061f5ec6
Sharding rows due to SQLite limits
2025-01-29 17:41:42 +01:00
Marcel Mraz
12be5d716b
Chunking incoming WS messages
2025-01-29 17:41:42 +01:00
Marcel Mraz
1abb901ec2
Various sync & time travel fixes
2025-01-29 17:41:42 +01:00
Marcel Mraz
6a17541713
Auto-reconnecting WS client
2025-01-29 17:41:32 +01:00
Marcel Mraz
040a57f56a
Offline support with increments peristed and restored to / from indexedb
2025-01-29 17:41:32 +01:00
Marcel Mraz
15d2942aaa
Applying & emitting increments on undo / redo
2025-01-29 17:40:50 +01:00
Marcel Mraz
59a0653fd4
POC versioning slider
2025-01-29 17:40:38 +01:00
Marcel Mraz
725c25c966
Include runtime types, otherwise ts goes crazy
2025-01-29 17:40:08 +01:00
Marcel Mraz
f12ed8e0b2
WIP sync client
2025-01-29 17:38:03 +01:00
Marcel Mraz
508cfbc843
Temporarily move sync into package
2025-01-29 17:38:03 +01:00
Marcel Mraz
245d681b7d
Expose store, a bit
2025-01-29 17:37:55 +01:00
Arnost Pleskot
8551823da9
feat: update jotai ( #9015 )
...
* feat: update jotai in excalidraw package
* feat: update jotai in excalidraw-app
* fix: exports from excalidraw/jotai
* fix: use isolated react hooks
* test: use jotai provider in <Trans /> test
* remove unused package
* refactor & make safer
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2025-01-16 16:59:11 +01:00
Ryan Di
c0b80a03bd
feat: in canvas links between shapes ( #8812 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-11-26 18:53:25 +01:00
David Luzar
a758aaf8f6
fix: update old blog links & add canonical url ( #8846 )
2024-11-26 17:42:25 +01:00
Aakansha Doshi
57cf577376
fix: cleanup scripts and support upto node 22 ( #8794 )
2024-11-11 23:56:00 +05:30
Aakansha Doshi
ee091d0dbd
build: add a flag VITE_APP_ENABLE_PWA for enabling pwa in dev environment ( #8784 )
...
* build: add a flag VITE_APP_ENABLE_PWA for enabling pwa in dev environment
* fix
* set VITE_ENABLE_PWA to false in .env.development
2024-11-09 21:45:37 +05:30
Aakansha Doshi
df168a6883
fix: load env vars correctly and set debug and linter flags to false explicitly in prod mode ( #8770 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-11-07 21:14:49 +00:00
Barnabás Molnár
d9ad7c039b
feat: export scene to e+ on workspace creation/redemption ( #8514 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-11-04 22:35:45 +00:00
Márk Tolmács
7c0239e693
fix: Console error in dev mode due to missing font path in non-prod ( #8756 )
...
Fix console error due to missing font path in dev mode reported by Firefox.
2024-11-04 17:54:00 +01:00
David Luzar
79b181bcdc
fix: restore svg image DataURL dimensions ( #8730 )
2024-10-29 22:40:24 +01:00
codeman
96ed8a4331
chore: remove duplicated meta tag ( #8718 )
...
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
2024-10-25 16:29:48 +00:00
Milos Vetesnik
7d52176fea
feat: added sitemap & fixed robot txt ( #8699 )
2024-10-24 12:49:33 +02:00
Marcel Mraz
61623bbeba
fix: Comic Shanns issues, new fonts structure ( #8641 )
2024-10-21 00:11:53 +02:00
Marcel Mraz
b479f3bd65
feat: add first-class support for CJK ( #8530 )
2024-10-17 20:14:17 +02:00
Marcel Mraz
a80cb5896a
feat: self-hosting existing google fonts ( #8540 )
2024-09-24 17:30:21 +02:00
Márk Tolmács
c07f5a0c80
feat: Common elbow mid segments ( #8440 )
...
Common start or end segment length for elbow arrows regardless of arrowhead is present
2024-09-17 10:11:07 +02:00
David Luzar
813f9b702e
feat: merge search sidebar back to default sidebar ( #8497 )
2024-09-11 19:26:01 +02:00
David Luzar
72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch ( #8488 )
2024-09-10 21:26:01 +02:00
Ryan Di
6959a363f0
feat: canvas search ( #8438 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-09 17:12:07 +02:00
Márk Tolmács
f4dd23fc31
chore: Unify math types, utils and functions ( #8389 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-09-02 22:23:38 +00:00
Marcel Mraz
ee30225062
feat: subset font glyphs for SVG export ( #8384 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-08-30 22:26:06 +02:00