Commit Graph

4151 Commits (48433bc9ebbed726e2cdfdde9e272344fb0e983b)
 

Author SHA1 Message Date
Aakansha Doshi 361a9449bb
fix: remove scene hack from export.ts & remove pass elementsMap to getContainingFrame (#7713)
* fix: remove scene hack from export.ts as its not needed anymore

* remove

* pass elementsMap to getContainingFrame

* remove unused `mapElementIds` param

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Aakansha Doshi 2e719ff671
fix: decouple pure functions from hyperlink to prevent mermaid bundling (#7710)
* move hyperlink code into its folder

* move pure js functions to hyperlink/helpers and move actionLink to actions

* fix tests

* fix
1 year ago
Excalidraw Bot 506756f332 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 67239c874e New translations en.json (Uzbek) 1 year ago
Aakansha Doshi 79d9dc2f8f
fix: make bounds independent of scene (#7679)
* fix: make bounds independent of scene

* pass only elements to getCommonBounds

* lint

* pass elementsMap to getVisibleAndNonSelectedElements
1 year ago
Excalidraw Bot d6cf042764 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 8e5f3ca841 New translations en.json (Catalan) 1 year ago
Aakansha Doshi 9013c84524
fix: make LinearElementEditor independent of scene (#7670)
* fix: make LinearElementEditor independent of scene

* more fixes

* pass elements and elementsMap to maybeBindBindableElement,getHoveredElementForBinding,bindingBorderTest,getElligibleElementsForBindableElementAndWhere,isLinearElementEligibleForNewBindingByBindable

* replace `ElementsMap` with `NonDeletedSceneElementsMap` & remove unused params

* fix lint

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Aakansha Doshi 47f87f4ecb
fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap (#7663)
* fix: remove scene from getElementAbsoluteCoords and dependent functions and use elementsMap

* lint

* fix

* use non deleted elements where possible

* use non deleted elements map in actions

* pass elementsMap instead of array to elementOverlapsWithFrame

* lint

* fix

* pass elementsMap to getElementsCorners

* pass elementsMap to getEligibleElementsForBinding

* pass elementsMap in bindOrUnbindSelectedElements and unbindLinearElements

* pass elementsMap in elementsAreInFrameBounds,elementOverlapsWithFrame,isCursorInFrame,getElementsInResizingFrame

* pass elementsMap in getElementsWithinSelection, getElementsCompletelyInFrame, isElementContainingFrame, getElementsInNewFrame

* pass elementsMap to getElementWithTransformHandleType

* pass elementsMap to getVisibleGaps, getMaximumGroups,getReferenceSnapPoints,snapDraggedElements

* lint

* pass elementsMap to bindTextToShapeAfterDuplication,bindLinearElementToElement,getTextBindableContainerAtPosition

* revert changes for bindTextToShapeAfterDuplication
1 year ago
Excalidraw Bot 41d325fdd8 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 6b6761f654 New translations en.json (Vietnamese) 1 year ago
Aakansha Doshi 73bf50e8a8
fix: remove t from getDefaultAppState and allow name to be nullable (#7666)
* fix: remove t and allow name to be nullable

* pass name as required prop

* remove Unnamed

* pass name to excalidrawPlus as well for better type safe

* render once we have excalidrawAPI to avoid defaulting

* rename `getAppName` -> `getName` (temporary)

* stop preventing editing filenames when `props.name` supplied

* keep `name` as optional param for export functions

* keep `appState.name` on `props.name` state separate

* fix lint

* assertive first

* fix lint

* Add TODO

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Excalidraw Bot fc3ae973be Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 0c3c4d4f22 New translations en.json (Galician) 1 year ago
Excalidraw Bot 4df91b980a Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 3729104547 New translations en.json (Japanese) 1 year ago
Aakansha Doshi 48c3465b19
docs: release patch v0.17.3 (#7673)
* docs: release patch v0.17.3

* update cl
1 year ago
David Luzar adc4c9f484
fix: prevent panning to trigger history on macos chrome (#7671) 1 year ago
YuBin, Hsu def1df2c68
fix: keep customData when converting to ExcalidrawElement (#7656)
* feat: keep customData when converting to ExcalidrawElement (#7654)

* docs: add changelog for keeping customData when converting to ExcalidrawElement
1 year ago
Excalidraw Bot 9fd896c1d1 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot e6f4e1f027 New translations en.json (Portuguese) 1 year ago
Excalidraw Bot 35424f62ed New translations en.json (Swedish) 1 year ago
Excalidraw Bot 70943ae461 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot a976aa7123 New translations en.json (French) 1 year ago
Excalidraw Bot e58111d93d New translations en.json (Russian) 1 year ago
Excalidraw Bot 311ebaa5a4 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot b058b2dff1 New translations en.json (Dutch) 1 year ago
Excalidraw Bot 6c77e76c4c Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 691225f51a New translations en.json (Romanian) 1 year ago
Excalidraw Bot d46c669f64 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 7f46da315f New translations en.json (Chinese Simplified) 1 year ago
Excalidraw Bot b7e0d18fae Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot f9095caa42 New translations en.json (German) 1 year ago
Excalidraw Bot de5c825d01 Auto commit: Calculate translation coverage 1 year ago
Excalidraw Bot 5fd26d2a45 New translations en.json (Karakalpak) 1 year ago
Excalidraw Bot 06052b1f3e New translations en.json (Kabyle) 1 year ago
Excalidraw Bot 98b3fbbc18 New translations en.json (Norwegian Bokmal) 1 year ago
Excalidraw Bot fd29c8dd44 New translations en.json (Sinhala) 1 year ago
Excalidraw Bot f4e90f1888 New translations en.json (Chinese Traditional, Hong Kong) 1 year ago
Excalidraw Bot d9d8a39d6a New translations en.json (Burmese) 1 year ago
Excalidraw Bot aa1a99dcf2 New translations en.json (Azerbaijani) 1 year ago
Excalidraw Bot 01f863f268 New translations en.json (Latvian) 1 year ago
Excalidraw Bot 8779e7f36f New translations en.json (Kazakh) 1 year ago
Excalidraw Bot 703cfc02e9 New translations en.json (Norwegian Nynorsk) 1 year ago
Excalidraw Bot d11c92ffc3 New translations en.json (Thai) 1 year ago
Excalidraw Bot 7f381a0d02 New translations en.json (Marathi) 1 year ago
Excalidraw Bot b8b1b9d57f New translations en.json (Bengali) 1 year ago
Excalidraw Bot 103c0e5997 New translations en.json (Tamil) 1 year ago
Excalidraw Bot 696e3d6836 New translations en.json (Khmer) 1 year ago
Excalidraw Bot 07a6b9942e New translations en.json (Persian) 1 year ago