Commit Graph

239 Commits (b7f504796bf82ef9f640f801ce3057df3dacc52e)

Author SHA1 Message Date
Mark Tolmacs f347281c21
Merge branch 'master' into feat/math2 6 months ago
Mark Tolmacs c41486abd1
Fix diamond distance
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
Subhadeep Sengupta a977dd1bf5
feat: Added reddit links as embeddable (#8099)
feat: #8063 Added reddit links as embeddable

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
6 months ago
Mark Tolmacs 34ec751501
Attempt at optimizing focus point calc 6 months ago
Mark Tolmacs 5cbd6e63a0
Merge branch 'master' into feat/math2 6 months ago
Mark Tolmacs 91b6057d9c
Bounds refactor and duplication removal 6 months ago
Mark Tolmacs 7b4e989d65
Add ellipse changes no angle
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
Mark Tolmacs d9ea7190ec
First implementation of element distance functions with failing tests 6 months ago
Mark Tolmacs 9a8aabbeca
Update snapshot and comment 6 months ago
Mark Tolmacs 3fe73e79a6
Arc tests 6 months ago
Mark Tolmacs f79fb899fc
Unify actionFlip test 6 months ago
Mark Tolmacs b697f63cad
More refactor 6 months ago
Mark Tolmacs 392dd5b0b8
ellipse and arc refactors 6 months ago
Mark Tolmacs 3efa8735ef
Ellipse refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
Mark Tolmacs 0c47bd0004
Unify bounds calculation
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
Aakansha Doshi 3fe1883f3f
feat: prefer user defined coords and dimensions over calculated for for frame (#8517)
* feat: prefer user defined coords and dimensions over calculated for frame

* update changelog

* lint

* show the info only in dev mode and when children present
6 months ago
Marcel Mraz a80cb5896a
feat: self-hosting existing google fonts (#8540) 6 months ago
Mark Tolmacs c0915c6b98
Fix lint errors 6 months ago
Mark Tolmacs dff60e6f6f
Refactoring bounds, arrows, bboxes 6 months ago
Mark Tolmacs 9eb08df3ea
Move path related function into the math package 6 months ago
Mark Tolmacs 1b56cf90fb
Move binaryheap implementation to utils 6 months ago
Mark Tolmacs 0e2f8c958e
Further math refactor and simplifications 6 months ago
Mark Tolmacs 41885b4bb3
Fix missing point
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
Mark Tolmacs b4cb314090
Refactoring points
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
David Luzar 8ca4cf3260
feat: flip arrowheads if only arrow(s) selected (#8525)
Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
6 months ago
Márk Tolmács f3f0ab7c83
fix: Elbow arrow fixedpoint flipping now properly flips on inverted resize and flip action (#8324)
* Flipping action now properly mirrors selections with elbow arrows
* Flipping action now re-centers the selection to the original center to avoid "walking" selections on repeated flipping
6 months ago
David Luzar 44a1c8d857
fix: svg and png frame clipping cases (#8515) 6 months ago
Márk Tolmács e0a22edfbd
fix: Re-route elbow arrows when pasted (#8448)
Re-route elbow arrows when pasted
6 months 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
6 months ago
zsviczian c1b310c56b
fix: Buffer dependency (#8474)
* fix Buffer dependency

* moved to encode.ts

* move base64 parsing out

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
zsviczian d4900e8f19
fix: Linear element complete button disabled (#8492) 6 months ago
zsviczian caf2db934c
fix: aspect ratio of distorted images are not preserved in SVG exports (#8061) 6 months ago
zsviczian 60e3801691
fix: WYSIWYG editor padding is not normalized with zoom.value (#8481) 6 months ago
David Luzar 01e83cc9a5
fix: default sidebar triggers & behavior (#8498) 6 months ago
David Luzar 813f9b702e
feat: merge search sidebar back to default sidebar (#8497) 6 months ago
David Luzar fd39712ba6
fix: improve canvas search scroll behavior further (#8491) 6 months ago
zsviczian b46ca0192b
fix: addFiles clears the whole image cache when each file is added - regression from #8471 (#8490)
Update App.tsx
6 months ago
David Luzar 72b7c937b1
feat: smarter zooming when scrolling to match & only match on search/switch (#8488) 6 months ago
David Luzar d107215564
fix: `select` instead of `focus` search input (#8483) 6 months ago
Ryan Di 6959a363f0
feat: canvas search (#8438)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
6 months ago
Abhishek Mehandiratta 5a11c70714
fix: image rendering issue when passed in `initialData` (#8471) 6 months ago
Aakansha Doshi 6ff56c36e3
fix: add partial mocking (#8473)
* fix: add partial mocking

* lint

* Update packages/utils/export.test.ts
6 months ago
Aakansha Doshi 51ea184938
build: upgrade vite to 5.4.x, vitest to 2.x and related vite packages (#8459)
* build: upgrade vite to 5.x, vitest to 2.x and related vite packages

* upgrade vitest-ui and coverage

* pass empty set to fix type error and update snap

* set ignoreEmptyLines to false

* update threshold

* update coverage threshold

* downgrade vite-plugin-pwa as its better to push separately with testing

* add package resolutions for strip-ansi, string-width and wrap-ansi

* disable pwa

* only add resolution for strip-ansi
6 months ago
Márk Tolmács f4dd23fc31
chore: Unify math types, utils and functions (#8389)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
David Luzar 60e75406e0
refactor: remove unused env variable (#8457) 7 months ago
zsviczian b396e07b90
fix: PropertiesPopover maxWidth changing fixed units to relative units (#8456) 7 months ago
zsviczian 2d1d84a47b
fix: View mode wheel zooming does not work (#8452)
* Update App.tsx

* fix: prevent zooming browser over DOM

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
Marcel Mraz ee30225062
feat: subset font glyphs for SVG export (#8384)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
David Luzar 16cae4fc07
feat: reset copyStatus on export dialog settings change (#8443) 7 months ago
David Luzar 576bc0dbe5
feat: tweak copy button success animation (#8441) 7 months ago