1638 Commits

Author SHA1 Message Date
Excalidraw Bot
5feb41624d New translations en.json (Turkish) 2024-02-21 16:21:46 +01:00
Excalidraw Bot
10a74bf607 New translations en.json (Galician) 2024-02-21 16:21:45 +01:00
Excalidraw Bot
0d1bb00270 New translations en.json (Japanese) 2024-02-21 16:21:44 +01:00
Aakansha Doshi
f5ab3e4e12
fix: remove dependency of t from clipboard and image (#7712)
* fix: remove dependency of t from clipboard and image

* pass errorMessage to copyTextToSystemClipboard where needed

* wrap copyTextToSystemClipboard and rethrow translated error in caller

* review fix

* typo
2024-02-21 19:45:33 +05:30
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>
2024-02-21 16:34:20 +05:30
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
2024-02-20 20:59:01 +05:30
Excalidraw Bot
506756f332 Auto commit: Calculate translation coverage 2024-02-20 03:48:35 +00:00
Excalidraw Bot
67239c874e New translations en.json (Uzbek) 2024-02-20 04:48:23 +01:00
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
2024-02-19 19:39:14 +05:30
Excalidraw Bot
d6cf042764 Auto commit: Calculate translation coverage 2024-02-19 13:24:59 +00:00
Excalidraw Bot
8e5f3ca841 New translations en.json (Catalan) 2024-02-19 14:24:43 +01:00
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>
2024-02-19 11:49:01 +05:30
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
2024-02-16 11:35:01 +05:30
Excalidraw Bot
41d325fdd8 Auto commit: Calculate translation coverage 2024-02-15 15:43:56 +00:00
Excalidraw Bot
6b6761f654 New translations en.json (Vietnamese) 2024-02-15 16:43:43 +01:00
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>
2024-02-15 11:11:18 +05:30
Excalidraw Bot
fc3ae973be Auto commit: Calculate translation coverage 2024-02-13 11:15:09 +00:00
Excalidraw Bot
0c3c4d4f22 New translations en.json (Galician) 2024-02-13 12:14:56 +01:00
Excalidraw Bot
4df91b980a Auto commit: Calculate translation coverage 2024-02-10 10:54:58 +00:00
Excalidraw Bot
3729104547 New translations en.json (Japanese) 2024-02-10 11:54:46 +01:00
Aakansha Doshi
48c3465b19
docs: release patch v0.17.3 (#7673)
* docs: release patch v0.17.3

* update cl
2024-02-09 19:29:50 +05:30
David Luzar
adc4c9f484
fix: prevent panning to trigger history on macos chrome (#7671) 2024-02-08 19:50:50 +01:00
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
2024-02-08 17:23:10 +05:30
Excalidraw Bot
9fd896c1d1 Auto commit: Calculate translation coverage 2024-02-06 19:24:30 +00:00
Excalidraw Bot
e6f4e1f027 New translations en.json (Portuguese) 2024-02-06 20:24:16 +01:00
Excalidraw Bot
35424f62ed New translations en.json (Swedish) 2024-02-06 09:32:24 +01:00
Excalidraw Bot
70943ae461 Auto commit: Calculate translation coverage 2024-02-05 13:44:35 +00:00
Excalidraw Bot
a976aa7123 New translations en.json (French) 2024-02-05 14:44:22 +01:00
Excalidraw Bot
e58111d93d New translations en.json (Russian) 2024-02-04 18:14:26 +01:00
Excalidraw Bot
311ebaa5a4 Auto commit: Calculate translation coverage 2024-02-04 10:18:20 +00:00
Excalidraw Bot
b058b2dff1 New translations en.json (Dutch) 2024-02-04 11:18:10 +01:00
Excalidraw Bot
6c77e76c4c Auto commit: Calculate translation coverage 2024-02-04 08:44:00 +00:00
Excalidraw Bot
691225f51a New translations en.json (Romanian) 2024-02-04 09:43:48 +01:00
Excalidraw Bot
d46c669f64 Auto commit: Calculate translation coverage 2024-02-03 23:48:17 +00:00
Excalidraw Bot
7f46da315f New translations en.json (Chinese Simplified) 2024-02-04 00:48:06 +01:00
Excalidraw Bot
b7e0d18fae Auto commit: Calculate translation coverage 2024-02-03 16:41:58 +00:00
Excalidraw Bot
f9095caa42 New translations en.json (German) 2024-02-03 17:41:47 +01:00
Excalidraw Bot
de5c825d01 Auto commit: Calculate translation coverage 2024-02-03 15:29:53 +00:00
Excalidraw Bot
5fd26d2a45 New translations en.json (Karakalpak) 2024-02-03 16:28:33 +01:00
Excalidraw Bot
06052b1f3e New translations en.json (Kabyle) 2024-02-03 16:28:32 +01:00
Excalidraw Bot
98b3fbbc18 New translations en.json (Norwegian Bokmal) 2024-02-03 16:28:31 +01:00
Excalidraw Bot
fd29c8dd44 New translations en.json (Sinhala) 2024-02-03 16:28:30 +01:00
Excalidraw Bot
f4e90f1888 New translations en.json (Chinese Traditional, Hong Kong) 2024-02-03 16:28:29 +01:00
Excalidraw Bot
d9d8a39d6a New translations en.json (Burmese) 2024-02-03 16:28:28 +01:00
Excalidraw Bot
aa1a99dcf2 New translations en.json (Azerbaijani) 2024-02-03 16:28:27 +01:00
Excalidraw Bot
01f863f268 New translations en.json (Latvian) 2024-02-03 16:28:26 +01:00
Excalidraw Bot
8779e7f36f New translations en.json (Kazakh) 2024-02-03 16:28:25 +01:00
Excalidraw Bot
703cfc02e9 New translations en.json (Norwegian Nynorsk) 2024-02-03 16:28:25 +01:00
Excalidraw Bot
d11c92ffc3 New translations en.json (Thai) 2024-02-03 16:28:24 +01:00
Excalidraw Bot
7f381a0d02 New translations en.json (Marathi) 2024-02-03 16:28:23 +01:00