Ryan Di
c99e81678b
fix: mobile view ui issues ( #10284 )
...
* hide zen mode when formFactor = phone
* tool bar fixes: icon and width
* view mode
* fix lint
* add exit-view-mode button
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 month ago
Ryan Di
47cbb5b6fb
refactor: single source of truths with editor interface ( #10178 )
...
* refactor device to editor interface and derive styles panel
* allow host app to control form factor and ui mode
* add editor interface event listener
* put new props inside UIOptions
* refactor: move related apis into one file
* expose getFormFactor
* privatize the setting of desktop mode and fix snapshots
* refactor and fix test
* remove unimplemented code
* export getFormFactor()
* replace `getFormFactor` with `getEditorInterface`
* remove dead & useless
* comment
* fix ts
---------
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 month ago
Márk Tolmács
8fd970320e
chore: Uncap the nodejs version requirement ( #10238 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 month ago
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>
3 months ago
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>
3 months ago
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
3 months ago
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>
4 months ago
David Luzar
c78e4aab7f
chore: tweak title & remove timeout ( #9883 )
4 months ago
David Luzar
dda3affcb0
fix: do not strip invisible elements from array ( #9844 )
4 months ago
Marcel Mraz
54c148f390
fix: text restore & deletion issues ( #9853 )
4 months ago
David Luzar
a3763648fe
chore: update title ( #9814 )
...
* chore: update title
* update meta tag
* lint
5 months ago
Márk Tolmács
d6a934ed19
chore: Remove editingLinearElement ( #9771 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
5 months ago
Márk Tolmács
c141500400
chore: Relocate visualdebug so ESLint doesn't complain ( #9668 )
6 months ago
Marcel Mraz
d108053351
feat: various delta improvements ( #9571 )
6 months ago
Marcel Mraz
7e41026812
refactor: export everything from `@excalidraw/element`, don't import from subpaths ( #9466 )
...
* Don't import from subpaths
* Fix tests, move related tests to element
7 months ago
Marcel Mraz
3dc54a724a
feat: add `onIncrement` API ( #9450 )
8 months ago
David Luzar
4a60fe3d22
fix: remove `noreferrer` on internal links ( #9452 )
...
* fix: remove `noreferrer` on internal links
* fix snaps
* fix lint
8 months ago
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>
8 months ago
David Luzar
f2e8404c7b
feat: allow to disable preventUnload in dev ( #9319 )
...
* feat: allow to disable preventUnload in dev
* add template
9 months ago
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package ( #9285 )
9 months ago
Mursaleen Nisar
e1bb59fb8f
chore: Use isDevEnv() and isTestEnv() ( #9264 )
...
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
9 months ago
Marcel Mraz
21ffaf4d76
refactor: auto ordered imports ( #9163 )
9 months ago
Marcel Mraz
ecef5d12f4
chore: release @excalidraw/excalidraw@18.0.0 🎉 ( #9127 )
10 months ago
Márk Tolmács
0ffeaeaecf
feat: Remove GA code from binding ( #9042 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
10 months ago
David Luzar
31e8476c78
chore: upgrade to react@19 ( #9182 )
10 months ago
David Luzar
16b86d7d16
chore: update firebase@8 to @11 ( #9136 )
10 months ago
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>
10 months ago
Márk Tolmács
77dc055d81
chore: Revert aspect ratio fix with element size limits and chk ( #9131 )
10 months ago
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>
11 months ago
Ryan Di
c0b80a03bd
feat: in canvas links between shapes ( #8812 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
David Luzar
a758aaf8f6
fix: update old blog links & add canonical url ( #8846 )
1 year ago
Aakansha Doshi
57cf577376
fix: cleanup scripts and support upto node 22 ( #8794 )
1 year ago
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
1 year ago
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>
1 year ago
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>
1 year ago
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.
1 year ago
David Luzar
79b181bcdc
fix: restore svg image DataURL dimensions ( #8730 )
1 year ago
codeman
96ed8a4331
chore: remove duplicated meta tag ( #8718 )
...
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
1 year ago
Milos Vetesnik
7d52176fea
feat: added sitemap & fixed robot txt ( #8699 )
1 year ago
Marcel Mraz
61623bbeba
fix: Comic Shanns issues, new fonts structure ( #8641 )
1 year ago
Marcel Mraz
b479f3bd65
feat: add first-class support for CJK ( #8530 )
1 year ago
Marcel Mraz
a80cb5896a
feat: self-hosting existing google fonts ( #8540 )
1 year ago
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
1 year ago
David Luzar
813f9b702e
feat: merge search sidebar back to default sidebar ( #8497 )
1 year ago
David Luzar
72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch ( #8488 )
1 year ago
Ryan Di
6959a363f0
feat: canvas search ( #8438 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Márk Tolmács
f4dd23fc31
chore: Unify math types, utils and functions ( #8389 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Marcel Mraz
ee30225062
feat: subset font glyphs for SVG export ( #8384 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Márk Tolmács
ea7c702cfc
feat: Visual debugger ( #8344 )
...
Add visual debugger to the Excalidraw app (only).
1 year ago
spc-28
26d2296578
fix: fixed copy to clipboard button ( #8426 )
...
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago