forked from excalidraw/excalidraw
-
Notifications
You must be signed in to change notification settings - Fork 0
upstream changes #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
oytuntez
wants to merge
681
commits into
MotaWord:master
Choose a base branch
from
excalidraw:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bump @radix-ui/react-popover to fix element.ref React 19 error Signed-off-by: Mark Tolmacs <[email protected]>
Signed-off-by: Mark Tolmacs <[email protected]>
…9275) * fix: elements offset incorrectly when action-duplicated during drag * prevent duplicate action during drag altogether
Signed-off-by: Mark Tolmacs <[email protected]> Co-authored-by: Mark Tolmacs <[email protected]>
* Fix table rendering and broken links --------- Co-authored-by: Marcel Mraz <[email protected]>
Co-authored-by: Aviral Sharma <[email protected]>
Reduce allocations
* feat: allow to disable preventUnload in dev * add template
* feat: introducing TextToDiagram v2 feature * fix: eslint issue * debug mermaid bundle size * tests: covering the utils * fix: import mock chunks dynamically to shrink the bundle size * fix: removing replay feature * fix: removing unused prop * fix: bumping workbox cache limit * snapshots + yarn.lock * bump mermaid-to-excalidraw@2 and split into its own chunk * bump node@20 * css tweaks * move files around & rewrite stream chunk schema * random naming & file structure refactor + some tweaks * fix preview theme * support custom warning renderer * label and css fix * fix and rwrite 429 handling * fix label --------- Co-authored-by: dwelle <[email protected]>
* fix: retries and related UX fixes * bump * fix package version * yarn.lock * naming and clearer type * ignore test flake
refactor: change ttd persistence to iDB
fix: better error handling for ttd
* feat: reduce max tablet MQ size * replace UIOptions.formFactor with getFormFactor
* fix: Line history Signed-off-by: Mark Tolmacs <[email protected]> * fix: More conservative condition Signed-off-by: Mark Tolmacs <[email protected]> --------- Signed-off-by: Mark Tolmacs <[email protected]>
* fix: fail gracefully during restore * tests
Signed-off-by: Mark Tolmacs <[email protected]>
* Set global alpha for drawing elements * Adjust opacity calculation for canvas rendering * lint
* initial implementation * lint * removed separate getThemeFilterValue function from renderElement * removed BinaryFileData changes * filter instead of css filter
* fix: update distributeElements to updateBoundElements Co-authored-by: Anvi Kudaraya <[email protected]> * fix: apply updateBoundElements when bound text extends past container height Co-authored-by: Anvi Kudaraya <[email protected]> --------- Co-authored-by: Anvi Kudaraya <[email protected]>
* feat: Cache hits and scene lookups Signed-off-by: Mark Tolmacs <[email protected]> * chore: Remove debug Signed-off-by: Mark Tolmacs <[email protected]> * fix: Consider hit threshold and inside override too Signed-off-by: Mark Tolmacs <[email protected]> * chore: Remove Map caching Signed-off-by: Mark Tolmacs <[email protected]> * fix: incorrect threshold Signed-off-by: Mark Tolmacs <[email protected]> * fix: threshold setting Signed-off-by: Mark Tolmacs <[email protected]> * fix: Hit caching Signed-off-by: Mark Tolmacs <[email protected]> * fix: cache override Signed-off-by: Mark Tolmacs <[email protected]> --------- Signed-off-by: Mark Tolmacs <[email protected]>
Signed-off-by: Mark Tolmacs <[email protected]>
Signed-off-by: Mark Tolmacs <[email protected]>
…f avail (#10710) * feat: prevent pasting excalidraw json into textarea & paste element text if avail Co-authored-by: Ashutosh Kumar <[email protected]> * fix FF --------- Co-authored-by: Ashutosh Kumar <[email protected]>
* feat: support customizing TTD welcome screen * remove debug
Signed-off-by: Mark Tolmacs <[email protected]>
* feat: Focus indicator Signed-off-by: Mark Tolmacs <[email protected]> * fix: Snapshot update Signed-off-by: Mark Tolmacs <[email protected]> * feat: Move visualdebug to utils and introduce volume bindable volume visualization Signed-off-by: Mark Tolmacs <[email protected]> * fix: Move visualdebug to elements Due to dep circles Signed-off-by: Mark Tolmacs <[email protected]> * fix: Possible test timeout Signed-off-by: Mark Tolmacs <[email protected]> * fix: Incorrect hit test point input Signed-off-by: Mark Tolmacs <[email protected]> * feat: Add fallback when dragged outside of allowed area Signed-off-by: Mark Tolmacs <[email protected]> * fix: Elbow arrows don't need focus point mgmt Signed-off-by: Mark Tolmacs <[email protected]> * fix: End bound indirect fix Signed-off-by: Mark Tolmacs <[email protected]> * fix: Show indicator when arrow endpoint dragging Signed-off-by: Mark Tolmacs <[email protected]> * fix: Update bound arrow endpoint at mid-point drag Signed-off-by: Mark Tolmacs <[email protected]> * chore: Refactor Signed-off-by: Mark Tolmacs <[email protected]> * fix: Curve endpoint intersection Signed-off-by: Mark Tolmacs <[email protected]> * fix: Outline focus point is reset on existing arrow drag Signed-off-by: Mark Tolmacs <[email protected]> * fix: Tests Signed-off-by: Mark Tolmacs <[email protected]> * chore: Fix lint Signed-off-by: Mark Tolmacs <[email protected]> * feat: Dragging focus point off Signed-off-by: Mark Tolmacs <[email protected]> * fix: Don't show the focus indicator when arrow endpoint is dragged Signed-off-by: Mark Tolmacs <[email protected]> * fix: Drag area for focus handles Signed-off-by: Mark Tolmacs <[email protected]> * fix: Focus point size unified Signed-off-by: Mark Tolmacs <[email protected]> * fix: Size bump for focus knob Signed-off-by: Mark Tolmacs <[email protected]> * feat: Cache hits and scene lookups Signed-off-by: Mark Tolmacs <[email protected]> * chore: Remove debug Signed-off-by: Mark Tolmacs <[email protected]> * fix: Consider hit threshold and inside override too Signed-off-by: Mark Tolmacs <[email protected]> * fix: Other shape switching Signed-off-by: Mark Tolmacs <[email protected]> * perf: Update tolerance params Signed-off-by: Mark Tolmacs <[email protected]> * fix: Focus know line width Signed-off-by: Mark Tolmacs <[email protected]> * fix: knob offset Signed-off-by: Mark Tolmacs <[email protected]> * fix: Full overlap Signed-off-by: Mark Tolmacs <[email protected]> * chore: Remove Map caching Signed-off-by: Mark Tolmacs <[email protected]> * fix: incorrect threshold Signed-off-by: Mark Tolmacs <[email protected]> * fix: threshold setting Signed-off-by: Mark Tolmacs <[email protected]> * fix: Hit caching Signed-off-by: Mark Tolmacs <[email protected]> * fix: cache override Signed-off-by: Mark Tolmacs <[email protected]> * fix: Snapshots Signed-off-by: Mark Tolmacs <[email protected]> * feat: Redesigned focus point handling Signed-off-by: Mark Tolmacs <[email protected]> * fix: Inside-inside mode Signed-off-by: Mark Tolmacs <[email protected]> * chore: Remove comment Signed-off-by: Mark Tolmacs <[email protected]> * feat: Allow focus knob outside the shape Signed-off-by: Mark Tolmacs <[email protected]> * fix: Arrow endpoint offset Signed-off-by: Mark Tolmacs <[email protected]> * fix: Focus knob element distance Signed-off-by: Mark Tolmacs <[email protected]> * fix: Increase iteration on curve intersection calc Signed-off-by: Mark Tolmacs <[email protected]> * fix: Handle disabled binding Signed-off-by: Mark Tolmacs <[email protected]> * fix: Alt mode Signed-off-by: Mark Tolmacs <[email protected]> * fix: Nested shape focus rewrite Signed-off-by: Mark Tolmacs <[email protected]> * fix: Alt + Ctrl + arrow endpoitn Signed-off-by: Mark Tolmacs <[email protected]> * fix: Hit ordering for focus points Signed-off-by: Mark Tolmacs <[email protected]> * fix: Focus point visibility Signed-off-by: Mark Tolmacs <[email protected]> * dry out renderFocusPointIndicator * do not higlight point when dragging & make focus point smaller * optimize retrieval of selectedLinearElement * move focus highlighting into renderFocusPointIndicator to DRY out and colocate * remove `disabled` state from focus highlight * make focus point stroke color less prominent * fix: No focus point for multi-point arrows Signed-off-by: Mark Tolmacs <[email protected]> * fix: Arrow edit mode drag focus point release Signed-off-by: Mark Tolmacs <[email protected]> * DRY out arrow point-like drag * move `focus.ts` to `arrows/focus.ts` --------- Signed-off-by: Mark Tolmacs <[email protected]> Co-authored-by: dwelle <[email protected]>
* invert image on safari * lint * Inversion to match theme filter * cleanup * Adjust canvas dimensions for device pixel ratio when inverting on Safari * revert inversion algo & handle darkMode placeholder --------- Co-authored-by: dwelle <[email protected]>
…#10721) * fix: Clarify welcome screen message about browser storage limitations * css tweaks * update snaps --------- Co-authored-by: dwelle <[email protected]>
feat: export CommandPalette
* New translations en.json (Russian) * New translations en.json (Vietnamese) * New translations en.json (Russian) * New translations en.json (Romanian) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (Arabic) * New translations en.json (Bulgarian) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Basque) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Kurdish) * New translations en.json (Lithuanian) * New translations en.json (Dutch) * New translations en.json (Punjabi) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Slovak) * New translations en.json (Slovenian) * New translations en.json (Swedish) * New translations en.json (Turkish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Galician) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Indonesian) * New translations en.json (Persian) * New translations en.json (Khmer) * New translations en.json (Tamil) * New translations en.json (Bengali) * New translations en.json (Marathi) * New translations en.json (Thai) * New translations en.json (Norwegian Nynorsk) * New translations en.json (Kazakh) * New translations en.json (Latvian) * New translations en.json (Azerbaijani) * New translations en.json (Hindi) * New translations en.json (Burmese) * New translations en.json (Chinese Traditional, Hong Kong) * New translations en.json (Sinhala) * New translations en.json (Uzbek) * New translations en.json (Norwegian Bokmal) * New translations en.json (Occitan) * New translations en.json (German, Switzerland) * New translations en.json (Bengali, India) * New translations en.json (Kabyle) * New translations en.json (Karakalpak) * Auto commit: Calculate translation coverage * New translations en.json (Russian) * Auto commit: Calculate translation coverage * New translations en.json (Romanian) * Auto commit: Calculate translation coverage * New translations en.json (Italian) * Auto commit: Calculate translation coverage * New translations en.json (Italian) * Auto commit: Calculate translation coverage * New translations en.json (Hungarian) * New translations en.json (Hungarian) * New translations en.json (Hindi) * New translations en.json (Dutch) * New translations en.json (Dutch) * New translations en.json (Vietnamese) * New translations en.json (Russian) * New translations en.json (Romanian) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (Arabic) * New translations en.json (Bulgarian) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Basque) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Kurdish) * New translations en.json (Lithuanian) * New translations en.json (Dutch) * New translations en.json (Punjabi) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Slovak) * New translations en.json (Slovenian) * New translations en.json (Swedish) * New translations en.json (Turkish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Galician) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Indonesian) * New translations en.json (Persian) * New translations en.json (Khmer) * New translations en.json (Tamil) * New translations en.json (Bengali) * New translations en.json (Marathi) * New translations en.json (Thai) * New translations en.json (Norwegian Nynorsk) * New translations en.json (Kazakh) * New translations en.json (Latvian) * New translations en.json (Azerbaijani) * New translations en.json (Hindi) * New translations en.json (Burmese) * New translations en.json (Chinese Traditional, Hong Kong) * New translations en.json (Sinhala) * New translations en.json (Uzbek) * New translations en.json (Norwegian Bokmal) * New translations en.json (Occitan) * New translations en.json (German, Switzerland) * New translations en.json (Bengali, India) * New translations en.json (Kabyle) * New translations en.json (Karakalpak) * New translations en.json (Romanian) * New translations en.json (Vietnamese) * New translations en.json (Russian) * New translations en.json (Romanian) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (Arabic) * New translations en.json (Bulgarian) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Basque) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Kurdish) * New translations en.json (Lithuanian) * New translations en.json (Dutch) * New translations en.json (Punjabi) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Slovak) * New translations en.json (Slovenian) * New translations en.json (Swedish) * New translations en.json (Turkish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Galician) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Indonesian) * New translations en.json (Persian) * New translations en.json (Khmer) * New translations en.json (Tamil) * New translations en.json (Bengali) * New translations en.json (Marathi) * New translations en.json (Thai) * New translations en.json (Norwegian Nynorsk) * New translations en.json (Kazakh) * New translations en.json (Latvian) * New translations en.json (Azerbaijani) * New translations en.json (Hindi) * New translations en.json (Burmese) * New translations en.json (Chinese Traditional, Hong Kong) * New translations en.json (Sinhala) * New translations en.json (Uzbek) * New translations en.json (Norwegian Bokmal) * New translations en.json (Occitan) * New translations en.json (German, Switzerland) * New translations en.json (Bengali, India) * New translations en.json (Kabyle) * New translations en.json (Karakalpak) * New translations en.json (Romanian) * New translations en.json (Italian) * New translations en.json (Russian) * New translations en.json (Romanian) * New translations en.json (French) * New translations en.json (Spanish) * New translations en.json (Arabic) * New translations en.json (Bulgarian) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (Danish) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Basque) * New translations en.json (Finnish) * New translations en.json (Hebrew) * New translations en.json (Hungarian) * New translations en.json (Italian) * New translations en.json (Japanese) * New translations en.json (Korean) * New translations en.json (Kurdish) * New translations en.json (Lithuanian) * New translations en.json (Dutch) * New translations en.json (Punjabi) * New translations en.json (Polish) * New translations en.json (Portuguese) * New translations en.json (Slovak) * New translations en.json (Slovenian) * New translations en.json (Swedish) * New translations en.json (Vietnamese) * New translations en.json (Turkish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations en.json (Chinese Traditional) * New translations en.json (Galician) * New translations en.json (Portuguese, Brazilian) * New translations en.json (Indonesian) * New translations en.json (Persian) * New translations en.json (Khmer) * New translations en.json (Tamil) * New translations en.json (Bengali) * New translations en.json (Marathi) * New translations en.json (Thai) * New translations en.json (Norwegian Nynorsk) * New translations en.json (Kazakh) * New translations en.json (Latvian) * New translations en.json (Azerbaijani) * New translations en.json (Hindi) * New translations en.json (Burmese) * New translations en.json (Chinese Traditional, Hong Kong) * New translations en.json (Sinhala) * New translations en.json (Uzbek) * New translations en.json (Norwegian Bokmal) * New translations en.json (Occitan) * New translations en.json (German, Switzerland) * New translations en.json (Bengali, India) * New translations en.json (Kabyle) * New translations en.json (Karakalpak) * New translations en.json (Romanian) * Auto commit: Calculate translation coverage
* fix(editor): do not scale cropping editor pointer offsets * fix lint * fix more lint * fix drift related to image canvas scale
* fix(editor): copying to clipboard with no ClipboardEvent * fix(editor): use green for `success` state of `FilledButton`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.