Commit Graph

3450 Commits (96fc3ac5bb70fd0a055665286d061138c1db9bde)
 

Author SHA1 Message Date
Aakansha Doshi 96fc3ac5bb lint 10 months ago
Aakansha Doshi 906652bac2 lint 10 months ago
Aakansha Doshi 53a0428705 update remaining paths to use utils workspace 10 months ago
Aakansha Doshi 927e36c7b4 fix tests 10 months ago
Aakansha Doshi e187faee77 update test script 10 months ago
Aakansha Doshi d12d97bfcb add cleanup workspaces script and test-utils 10 months ago
Aakansha Doshi 5acb5c9d91 update test script 10 months ago
Aakansha Doshi 23ee054025 fix lint 10 months ago
Aakansha Doshi d91b234db1 fix typo 10 months ago
Aakansha Doshi b2b03af1ec fix script 10 months ago
Aakansha Doshi f0876e3c03 tweaks 10 months ago
Aakansha Doshi 6d0ee330b7 update build scripts 10 months ago
Aakansha Doshi e48eed6b21 add utils to external 10 months ago
Aakansha Doshi 549786a504 add utils to external 10 months ago
Aakansha Doshi 73c53a3c7c extend ts config 10 months ago
Aakansha Doshi 72a98da527 ignore types in tests 10 months ago
Aakansha Doshi 45ff9d1053 add @excalidraw/utils to external and fixes 10 months ago
Aakansha Doshi 6a1477a55c feat: use @excalidraw/utils as a workspace in the codebase 11 months ago
Márk Tolmács d9bbf1eda6
feat: Allow binding only via linear element ends (#7946)
Arrows now only bind to new shapes if their start or end point is dragged close to them. Arrows previously bound to shapes remain bound on move and drag if at the end of the drag/move the points remain in the original shapes' binding area.

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
Co-authored-by: Sammy Lee <sammy.joe.lee@gmail.com>
11 months ago
Márk Tolmács f79fb9aae2
chore: Bump vitest to 1.5.3 to support VSCode vitest Extension (#7968)
Bump vitest to 1.5.3 to support VSCode vitest Extension

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
11 months ago
Mritunjay Goutam 275f6fbe24
fix: typo in doc api (#7466) 11 months ago
Ryan Di 88812e0386
feat: resize elements from the sides (#7855)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
11 months ago
Marcel Mraz 6e5aeb112d
feat: record freedraw tool selection to history (#7949) 11 months ago
Marcel Mraz 4d83d1c91e
fix: use Reflect API instead of Object.hasOwn (#7958) 11 months ago
Márk Tolmács a04676d423
fix: CTRL/CMD & arrow point drag unbinds both sides (#6459) (#7877) 11 months ago
Milos Vetesnik c851aaaf7b
fix: z-index for laser pointer to be able to draw on embeds and such (#7918) 11 months ago
Marcel Mraz 1bd2b1fe55
feat: export reconciliation (#7917) 11 months ago
Marcel Mraz 015b46ab23
feat: expose `StoreAction` in relation to multiplayer history (#7898)
Improved Store API and improved handling of actions to eliminate potential concurrency issues
11 months ago
Marcel Mraz 530617be90
feat: multiplayer undo / redo (#7348) 11 months ago
David Luzar 5211b003b8
fix: double text rendering on edit (#7904) 11 months ago
Ryan Di bbcca06b94
fix: collision regressions from vector geometry rewrite (#7902) 11 months ago
johnd99 f92f04c13c
fix: Correct unit from 'eg' to 'deg' (#7891) 11 months ago
David Luzar 890ed9f31f
feat: add "toggle grid" to command palette (#7887) 11 months ago
David Luzar da2e507298
fix: allow same origin for all necessary domains (#7889) 11 months ago
David Luzar f59b4f6af4
fix: always make sure we render bound text above containers (#7880) 11 months ago
David Luzar afcde542f9
fix: parse embeddable srcdoc urls strictly (#7884) 11 months ago
Ryan Di 4689a6b300
fix: hit test for closed sharp curves (#7881) 11 months ago
David Luzar 0ae9b383d6
fix: Gist embed allowing unsafe html (#7883) 11 months ago
David Luzar f597bd3e01
fix: command palette tweaks and fixes (#7876) 11 months ago
Ryan Di 4987cc53d0
fix: include borders when testing insides of a shape (#7865) 11 months ago
Rinku Chaudhari d917db438e
fix: external link not opening (#7859) 11 months ago
Aakansha Doshi a33a400f01
fix: add safe check for arrow points length in tranformToExcalidrawElements (#7863)
* fix: add safe check for arrow points length in tranformToExcalidrawElements

* add spec

* throw error only for dev mode

* fix lint
11 months ago
David Luzar 8a162a4cb4
fix: import (#7869) 11 months ago
David Luzar c6a045d092
fix: theme toggle shortcut `event.code` (#7868) 11 months ago
Arnost Pleskot cd50aa719f
feat: add system mode to the theme selector (#7853)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
11 months ago
David Luzar 92bc08207c
fix: remove incorrect check from index.html (#7867) 11 months ago
Ryan Di 32df5502ae
feat: fractional indexing (#7359)
* Introducing fractional indices as part of `element.index`

* Ensuring invalid fractional indices are always synchronized with the array order

* Simplifying reconciliation based on the fractional indices

* Moving reconciliation inside the `@excalidraw/excalidraw` package

---------

Co-authored-by: Marcel Mraz <marcel@excalidraw.com>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
11 months ago
Ryan Di bbdcd30a73
refactor: update collision from ga to vector geometry (#7636)
* new collision api

* isPointOnShape

* removed redundant code

* new collision methods in app

* curve shape takes starting point

* clean up geometry

* curve rotation

* freedraw

* inside curve

* improve ellipse inside check

* ellipse distance func

* curve inside

* include frame name bounds

* replace previous private methods for getting elements at x,y

* arrow bound text hit detection

* keep iframes on top

* remove dependence on old collision methods from app

* remove old collision functions

* move some hit functions outside of app

* code refactor

* type

* text collision from inside

* fix context menu test

* highest z-index collision

* fix 1px away binding test

* strictly less

* remove unused imports

* lint

* 'ignore' resize flipping test

* more lint fix

* skip 'flips while resizing' test

* more test

* fix merge errors

* fix selection in resize test

* added a bit more comment

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
11 months ago
David Luzar 3e334a67ed
feat: show firefox-compatible command palette shortcut alias (#7825) 12 months ago
David Luzar 1d71f84515
fix: stop using lookbehind for backwards compat (#7824) 12 months ago