Commit graph

1010 commits

Author SHA1 Message Date
Aakansha Doshi
7c1889efc0 fix width of shapes toolbar for smaller screen size and also fix regression of mobile menu 2023-09-21 17:45:08 +05:30
Aakansha Doshi
26481fbf43 Merge remote-tracking branch 'origin/master' into aakansha-mermaid 2023-09-21 12:34:47 +05:30
David Luzar
f8b3692262
fix: more eye-droper fixes (#7019) 2023-09-21 09:54:03 +05:30
Aakansha Doshi
741d5f1a18
refactor: move excalidraw-app outside src (#6987)
* refactor: move excalidraw-app outside src

* move some tests to excal app and fix some

* fix tests

* fix

* port remaining tests

* fix

* update snap

* move tests inside test folder

* fix

* fix
2023-09-21 09:28:48 +05:30
David Luzar
3d617958cc
fix: improperly disabling UI pointer-events on canvas interaction (#7005)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-19 16:01:40 +02:00
David Luzar
4b11f43117
feat: zen-mode/go-to-plus button style tweaks (#7006) 2023-09-19 14:20:59 +02:00
zsviczian
e3f4f567b8
feat: holding down CMD/CTRL will disable snap to grid when grid is active (#6983)
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-18 17:10:28 +02:00
David Luzar
c1952fd6cc
fix: several eyeDropper fixes (#7002) 2023-09-17 13:24:50 +02:00
David Luzar
c9efb12e5b
fix: use device.isMobile for sidebar trigger label breakpoint (#6994) 2023-09-15 12:08:51 +00:00
Aakansha Doshi
8a153b822a Merge remote-tracking branch 'origin/master' into aakansha-mermaid 2023-09-13 21:08:50 +05:30
David Luzar
5302490372
feat: update logo (#6979) 2023-09-11 17:47:41 +02:00
Aakansha Doshi
db163ab89c use types from mermaid-to-excalidraw 2023-09-07 13:40:06 +05:30
Marcel Mraz
a13aed92f2
fix: z-index inconsistencies during addition / deletion in frames (#6914)
Co-authored-by: Marcel Mraz <marcel.mraz@adacta-fintech.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-09-06 22:41:44 +00:00
Aakansha Doshi
ce6a9986e3 don't pass appState in deps as its not used 2023-09-06 19:43:02 +05:30
Aakansha Doshi
c95369ace8 upgrade mermaid-to-excalidraw 2023-09-06 11:23:07 +05:30
David Luzar
27fd150a20
fix: canvas flickering due to resetting canvas on skipped frames (#6960) 2023-09-05 12:06:48 +02:00
Aakansha Doshi
a8283b27c5 width auto 2023-09-05 11:25:46 +05:30
Aakansha Doshi
3ea7c7ffa0 fix mobile css 2023-09-05 11:01:19 +05:30
Aakansha Doshi
beb2ceaa72 fix: show extra tools dropdown in mobile 2023-09-05 10:32:51 +05:30
Aakansha Doshi
0d49eb3e05 make design responsive 2023-09-04 13:59:47 +05:30
Aakansha Doshi
d393a1c048 Merge remote-tracking branch 'origin/master' into aakansha-mermaid 2023-09-04 13:15:24 +05:30
Aakansha Doshi
9d22e84fc8 tweak text 2023-09-04 10:42:05 +05:30
Aakansha Doshi
aa6b585b96 defer rendering the preview 2023-09-04 09:05:22 +05:30
Aakansha Doshi
06389f96b9 fix: Update start/end points by 0.5 so bindings don't overlap with start/end bound element coordinates. 2023-09-04 08:49:50 +05:30
dwelle
9b1c88eed9 fix elements insert position and viewport centering 2023-09-01 14:49:26 +02:00
Aakansha Doshi
acd6db5304 make opts optional and use 100% zoom when inserting to canvas 2023-08-31 13:34:28 +05:30
Aakansha Doshi
d203794f70 add option to transform viewport to scene coords in transform api 2023-08-31 11:08:10 +05:30
Aakansha Doshi
c8fd157914 tweak 2023-08-30 20:32:56 +05:30
Aakansha Doshi
b47d46699a regenerate ids when needed via programmatic api, this makes sure for mermaid diagrams ids are regenerated 2023-08-30 20:28:13 +05:30
Aakansha Doshi
10a5d18fa2 show a spinner unless mermaid loaded 2023-08-30 14:14:24 +05:30
Aakansha Doshi
b1bd94c377 tweak design to remove scroll bar 2023-08-30 13:57:49 +05:30
Aakansha Doshi
e4e2e044af fix 2023-08-30 13:29:52 +05:30
Aakansha Doshi
d3db48e8f4 add example and docs link 2023-08-30 13:21:32 +05:30
Aakansha Doshi
cef0f15158 design tweaks 2023-08-30 13:02:13 +05:30
Aakansha Doshi
742e4bc017 show mermaid error messgae react way 2023-08-30 08:58:27 +05:30
Aakansha Doshi
a573fbbb5a show error in preview when error 2023-08-29 22:06:45 +05:30
Aakansha Doshi
f696d36e03 reset preview when error 2023-08-29 21:59:46 +05:30
Aakansha Doshi
21a804a4e5 add a note in dialog 2023-08-29 21:36:13 +05:30
Aakansha Doshi
c313a2cf42 add mermaid icon in dropdown 2023-08-29 21:20:08 +05:30
Aakansha Doshi
d1266280cb tweak design 2023-08-25 15:44:22 +05:30
Aakansha Doshi
41a0258fe1 load mermaid lazily 2023-08-24 13:43:41 +05:30
Aakansha Doshi
3346c72356 store canvas data in refs 2023-08-24 12:50:03 +05:30
Aakansha Doshi
6518e05cab persist mermaid data to storage 2023-08-24 12:29:33 +05:30
Aakansha Doshi
f85f890b25 set elements as selected when inserted onto canvas 2023-08-23 16:24:37 +05:30
Aakansha Doshi
7b612bec5e center preview 2023-08-23 14:43:27 +05:30
Aakansha Doshi
efdafc8659 fix markdown error by using named export 2023-08-22 21:40:25 +05:30
Aakansha Doshi
84059086a6 fix 2023-08-21 21:09:42 +05:30
Aakansha Doshi
fec984895e allow mermaid syntax and export in preview 2023-08-21 20:52:01 +05:30
David Luzar
8101a351db
fix: resetting deleted elements on duplication (#6906) 2023-08-18 00:28:26 +02:00
David Luzar
d140d1b8b3
fix: make canvas compos memoize appState on props they declare (#6897) 2023-08-17 13:39:15 +02:00