Commit Graph

806 Commits (53264f404842237a083030b915ca049d52ce32c1)

Author SHA1 Message Date
Konstantinos da0f3eb5b4
Feat (Whiteboards): Support text overlay on shapes (#7473)
* wip: add text to box shape

* chore: support font weight  and italic

* fix: editing styles of label

* fix: chevron color

* fix: label auto resize

* fix: textarea background

* fix: title class

* fix: centroid calculation

* fix: label size calculation

* chore: add label bounds indicator

* fix: text label width

* fix: label scale calculation

* fix: triangle label offset

* chore: activate edit mode on double click

* wip: add text to box shape

* chore: support font weight  and italic

* fix: editing styles of label

* fix: chevron color

* fix: label auto resize

* fix: textarea background

* fix: remove unused import

* chore: add label ellipse and polygon

* fix: centroid calculation

* fix: label size calculation

* chore: add label bounds indicator

* fix: text label width

* fix: label scale calculation

* fix: triangle label offset

* chore: activate edit mode on double click

* fix: remove placeholder element

* fix: label pointer events

* fix: label position

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-12-07 19:26:07 +08:00
Peng Xiao b7b2534b2b fix: add 'd' to draw tool 2022-12-06 18:22:41 +08:00
Peng Xiao 0b9c6bade5 fix: add 'c' to connector shortcut 2022-12-06 18:22:41 +08:00
Peng Xiao 8a9d254068 fix: allows logseq related shortcut combinations (t t) to work 2022-12-06 18:22:41 +08:00
Peng Xiao 2a96cf6c2d fix: should only reset portal position when necessary 2022-12-06 18:22:41 +08:00
Peng Xiao 923eaf602a fix: optimize untitled whiteboard page name display 2022-12-06 18:22:41 +08:00
Peng Xiao 9dff0db9ac fix: do not show links for the current page 2022-12-06 18:22:41 +08:00
Peng Xiao e74d9d3526 fix: do not lock shape creation 2022-12-06 18:22:41 +08:00
Peng Xiao 6ee380e3fc fix: add letter shortcuts to some shapes 2022-12-06 18:22:41 +08:00
Peng Xiao 1893dde335
feat: animate canvas camera movement (#7583)
feat: animate canvas camera
2022-12-06 12:38:22 +08:00
Peng Xiao d63afd3a04 Revert "fix: hovered or selected shape should have higher zindex"
This reverts commit 0ea444c545.
2022-11-30 00:52:26 +08:00
Peng Xiao 24b3909cac Revert "fix: a merge issue"
This reverts commit fe9e7e9b60.
2022-11-30 00:52:26 +08:00
Peng Xiao 641131421e Revert "fix: typo"
This reverts commit 0a36a1ca9a.
2022-11-30 00:52:26 +08:00
Peng Xiao 9f66c25240 fix: decrease Object Action Bar distance when below portal 2022-11-28 16:10:29 +08:00
Peng Xiao 0a36a1ca9a fix: typo 2022-11-28 14:44:44 +08:00
Peng Xiao fe9e7e9b60 fix: a merge issue 2022-11-28 14:44:44 +08:00
Peng Xiao 0ea444c545 fix: hovered or selected shape should have higher zindex 2022-11-28 14:44:44 +08:00
Peng Xiao 9daec097a6 fix: optimize block link reference display in whiteboard 2022-11-28 14:38:15 +08:00
Peng Xiao e7e630d88f fix: zoom menu trigger should not gain focus on close 2022-11-28 14:17:53 +08:00
WesleyCh3n 8f52021835
fix: readme typos (#7451) 2022-11-25 08:50:27 +08:00
Konstantinos Kaloutas b1d763e7f5 fix: adjust arrow and pencil colors 2022-11-24 21:59:25 +08:00
Konstantinos Kaloutas 66fc6c5fe1 fix: adjust order of highlighting colors 2022-11-24 21:59:25 +08:00
Peng Xiao e9b07638ac fix: invalid link reference in after the original block is removed 2022-11-23 19:05:51 +08:00
Peng Xiao 161ac5d474 fix: shape backlinks display issue 2022-11-23 19:05:51 +08:00
Peng Xiao 1860a81784 fix: alignment issue 2022-11-23 13:11:32 +08:00
Peng Xiao 46f8035c26 fix: several ux issues 2022-11-23 13:02:38 +08:00
Peng Xiao 74784f7138 fix: block link icon alignment 2022-11-23 12:15:42 +08:00
Peng Xiao ee445b8f70 fix: block-ref in BlockLink displaying issue 2022-11-23 12:09:43 +08:00
Peng Xiao 68ea04af52 fix: focusing shape id even in the same whiteboard & display block ref correctly 2022-11-23 11:53:52 +08:00
Peng Xiao 5480e1bd0d fix: some style changes 2022-11-23 10:32:24 +08:00
Konstantinos Kaloutas e9531e1d00 fix: set max width to links popover 2022-11-22 18:29:20 +02:00
Konstantinos Kaloutas da4e945529 wip: move paste as link to context menu 2022-11-22 18:28:38 +02:00
Konstantinos Kaloutas 08affcb19d fix: width of search input 2022-11-22 18:03:05 +02:00
Konstantinos Kaloutas 7c5fe2a559 fix: blurry popover content 2022-11-22 15:26:16 +02:00
Peng Xiao d82066f7ba fix: quick link & block link issue 2022-11-22 20:13:36 +08:00
Peng Xiao 2c109ec4b6 fix: whiteboard redirectToPage should be able to redirect to whiteboard 2022-11-22 19:48:09 +08:00
Peng Xiao d00ebf9c19 fix: some quick link ui issues 2022-11-22 19:23:00 +08:00
Peng Xiao da754512f5 fix: quick links should not block panning 2022-11-22 18:15:39 +08:00
Peng Xiao cf428764a4 Merge branch 'feat/wb-linkings' of https://github.com/logseq/logseq into feat/wb-linkings 2022-11-22 18:00:10 +08:00
Peng Xiao 2df4c120b7 fix: update icons 2022-11-22 17:52:42 +08:00
Konstantinos Kaloutas 79b94ddc59 fix: move-to-sidebar-right icon 2022-11-22 11:51:45 +02:00
Peng Xiao e5ccec389b feat: show shape links on hovering 2022-11-22 17:43:07 +08:00
Peng Xiao 27b2de91d6 fix: show shape indicator on hovering 2022-11-22 17:43:07 +08:00
Konstantinos Kaloutas 12d5a8ce2d fix: portal header link bg 2022-11-22 11:28:21 +02:00
Konstantinos Kaloutas 958e70355d fix: add link 2022-11-21 19:57:41 +02:00
Konstantinos Kaloutas b1c11895c4 fix: links popover alignment 2022-11-21 19:28:29 +02:00
Konstantinos Kaloutas cc4109004e fix: icons and labels 2022-11-21 19:14:44 +02:00
Konstantinos Kaloutas e197262dbf chore: remove open page action 2022-11-21 18:07:42 +02:00
Konstantinos Kaloutas a47a753591 fix: remove aria-label 2022-11-21 17:35:18 +02:00
Konstantinos Kaloutas df3b2e3546 fix: remove unused const 2022-11-21 16:19:26 +02:00
Peng Xiao 7847bfb65a fix: code style issues 2022-11-21 15:51:46 +08:00
Peng Xiao 7fdf71ac47 fix: several ux issues on linking panel 2022-11-21 14:28:49 +08:00
Peng Xiao 975aff5b80 feat: finish shape links input 2022-11-20 18:16:56 +08:00
Peng Xiao 4f96e42b01 fix: more styles chanes 2022-11-20 17:25:43 +08:00
Peng Xiao 77f77422e6 fix: some style issues 2022-11-20 16:18:59 +08:00
Peng Xiao 4e63a82d27 feat: links panel 2022-11-20 16:11:12 +08:00
Peng Xiao c426c21004 fix: adjust zindex 2022-11-20 12:07:06 +08:00
Peng Xiao 623893bf9c fix: make backlinks display nicer on small shapes 2022-11-20 11:52:07 +08:00
Peng Xiao be1672f37e wip 2022-11-20 00:46:14 +08:00
Peng Xiao 8f0eda94b1 wip: forward links 2022-11-20 00:40:45 +08:00
Peng Xiao 883cdacd3e wip: links for any shape 2022-11-19 18:29:09 +08:00
Peng Xiao 7d78258cfe fix: some whiteboard styles 2022-11-19 17:52:02 +08:00
Peng Xiao be5a4abc86 fix: make the reference count reactive 2022-11-19 16:42:36 +08:00
Peng Xiao f322160ca6 feat(whiteboard): show shape references 2022-11-19 16:21:55 +08:00
Gabriel Horner 51fe26ff5a
Merge branch 'master' into fix/wb-fixes 2022-11-18 12:35:41 -05:00
Peng Xiao 91aba5c499 chore(whiteboard): update dependencies 2022-11-18 11:05:26 -05:00
Konstantinos Kaloutas cfb446437f fix: reviewer notes 2022-11-18 12:46:59 +02:00
Peng Xiao 29004a50c6 fix: make sure caret in portal shape can be correctly set 2022-11-18 15:23:20 +08:00
Peng Xiao a72bb8bcb4 fix: optimize dot grid svg rendering in Safari 2022-11-18 14:15:42 +08:00
Peng Xiao b495205795 fix(whiteboard): last wheel event triggered twice issue 2022-11-18 10:41:10 +08:00
Peng Xiao edc9618a81 fix(whiteboard): tldraw demo should inherit root tailwind config 2022-11-18 10:34:36 +08:00
Konstantinos Kaloutas de39e94cdf style: run prettier 2022-11-17 19:28:58 +02:00
Konstantinos Kaloutas 56be54ea2e fix: portal color on dnd 2022-11-17 19:15:48 +02:00
Konstantinos Kaloutas c9ab86a049 remove opacity option 2022-11-17 19:10:51 +02:00
Konstantinos Kaloutas 804bba6988 chore: set fill and stroke on create 2022-11-17 19:00:36 +02:00
Konstantinos Kaloutas 4d7f68fe66 fix: update selected elements on set color 2022-11-17 17:24:08 +02:00
Konstantinos Kaloutas 47f7863651 fix: keyboard shortcuts 2022-11-17 16:49:52 +02:00
Konstantinos Kaloutas 6269bce384 fix: portal tool label 2022-11-17 16:44:22 +02:00
Konstantinos Kaloutas d88e1de7e8 fix: tool separator 2022-11-17 16:41:07 +02:00
Konstantinos Kaloutas 53a6904d7a refactor: popover indicator 2022-11-17 16:17:16 +02:00
Peng Xiao eb072afa53 fix: still use svg grid for non-safari 2022-11-17 21:43:34 +08:00
Konstantinos Kaloutas 27f991451d fix: click on indicator 2022-11-17 14:09:37 +02:00
Konstantinos Kaloutas 766d91be0c add popover indicator 2022-11-17 13:54:52 +02:00
Konstantinos Kaloutas ca84c021f4 refactor: geometry tools 2022-11-17 13:28:43 +02:00
Peng Xiao 0260f5da5d refactor(whiteboard): using canvas to render the whiteboard grid dots 2022-11-17 16:50:45 +08:00
Peng Xiao 8bf59a564b fix(whiteboard): disable dot grid background for iOS & iPad 2022-11-17 11:44:09 +08:00
Peng Xiao 408001ede7 fix: displaying images in previews for iOS & iPad 2022-11-17 11:22:35 +08:00
Peng Xiao ffc93fdae0 fix(whiteboard): wb preview sometimes is black 2022-11-17 10:48:03 +08:00
Peng Xiao aa4f809ff0 feat(whiteboard): pasting images should also pack in a rect 2022-11-17 10:40:16 +08:00
Peng Xiao dd0509fdd4 fix: rename generate preview functions 2022-11-17 10:39:44 +08:00
Konstantinos Kaloutas 58d41083f8 fix: styles 2022-11-16 19:24:34 +02:00
Konstantinos Kaloutas f004236369 update portal icon 2022-11-16 19:24:06 +02:00
Konstantinos Kaloutas fcac11664e feat: color panel 2022-11-16 17:49:53 +02:00
Konstantinos Kaloutas c41aab13b7 chore: rearrange tools 2022-11-16 16:00:41 +02:00
Konstantinos Kaloutas 072442aeef refactor: tool button 2022-11-16 15:52:25 +02:00
Peng Xiao 53415d2eec Merge branch 'fix/wb-fixes' of https://github.com/logseq/logseq into fix/wb-fixes 2022-11-16 15:53:40 +08:00
Peng Xiao cd0be06d47 dev: tldraw preview button in demo 2022-11-16 15:53:29 +08:00
Peng Xiao 24dc494f2a
Merge branch 'master' into fix/wb-fixes 2022-11-16 14:29:04 +08:00
Peng Xiao d86f3d9314 fix: some dev warnings 2022-11-16 14:25:35 +08:00
Andelf 8e8834854b fix(build): use npx to run tsup 2022-11-16 12:26:58 +08:00
Peng Xiao 6115ea0230 fix(whiteboard): some pasted shapes do not have ids 2022-11-15 13:33:18 +08:00
Peng Xiao ecf5495edc fix(whiteboard): disable user select on whiteboard pages on iOS 2022-11-14 22:39:53 +08:00
Peng Xiao 2b32f77809 fix(whiteboard): reverting contextMenu transitioning event 2022-11-14 22:39:53 +08:00
Peng Xiao bebb8cf897 fix(whiteboard): refactor pinch to support mobile 2022-11-14 22:39:53 +08:00
Peng Xiao 2e4947a4f4 fix(whiteboard): dev warnings 2022-11-14 22:39:53 +08:00
Peng Xiao d94e6490d4 fix(whiteboard): some multi touch issues 2022-11-14 22:39:53 +08:00
Peng Xiao 2047b86313 fix(whiteboard): do not show image preview on Safari (including ios & ipad) 2022-11-14 22:39:53 +08:00
Peng Xiao dd0e741893 fix(whiteboard): some context menu related issues on iOS 2022-11-14 22:39:53 +08:00
Peng Xiao 1d83f00017 fix(whiteboard): iOS callout issues 2022-11-14 22:39:53 +08:00
Peng Xiao 1a86daa53f fix(whiteboard): making tool locked by default 2022-11-14 22:39:53 +08:00
Konstantinos Kaloutas 096e171896 fix: placeholder size 2022-11-14 21:53:37 +08:00
Konstantinos Kaloutas e61288a994 style: run prettier 2022-11-14 21:53:37 +08:00
Konstantinos Kaloutas a06594a79d feat: add create whiteboard button 2022-11-14 21:53:37 +08:00
Konstantinos Kaloutas 933c87de55 fix: type icon sizes 2022-11-14 21:53:37 +08:00
Konstantinos Kaloutas 79cea0cc1d fix: new page icon and new wb label 2022-11-14 21:53:37 +08:00
Konstantinos Kaloutas fb283f7bbb chore: add new-block icon 2022-11-10 20:46:50 +08:00
Peng Xiao 1d9b3e7d17 fix: pasting/dropping image issues 2022-11-08 19:08:37 +08:00
Konstantinos Kaloutas a8eb7810a9 fix: portal header color 2022-11-07 00:30:17 +08:00
Konstantinos Kaloutas da5014ae1a fix: portal background on scrollable content 2022-11-07 00:30:17 +08:00
Konstantinos Kaloutas 2fecf3a6d5 fix: portal background color 2022-11-07 00:30:17 +08:00
Konstantinos Kaloutas d2a4482cd3 fix: color drip icon position 2022-11-07 00:30:17 +08:00
Peng Xiao e8d1c1baa7 feat(whiteboard): onboarding whiteboard 2022-11-04 23:03:43 +08:00
Peng Xiao 2f5680bd49 wip 2022-11-04 23:03:43 +08:00
Peng Xiao 48cfa27552 wip onboarding template 2022-11-04 23:03:43 +08:00
Konstantinos Kaloutas 83d9b4bb2a fix: remove unused imports 2022-11-02 17:28:34 +02:00
Konstantinos Kaloutas 62f3db3b42 style: run prettier 2022-11-02 17:17:49 +02:00
Konstantinos Kaloutas 2b9f18f98c fix: portal opacity 2022-11-02 16:57:12 +02:00
Konstantinos Kaloutas 2bb1749c06 fix: slider thumb border color 2022-11-02 16:24:44 +02:00
Konstantinos Kaloutas bcacb9efe6 Fix: preview colors 2022-11-02 13:17:38 +02:00
Konstantinos Kaloutas 26b6f8a592 fix: portal preview 2022-11-02 13:02:30 +02:00
Konstantinos Kaloutas 9b61110911 fix: popover position on canvas pan 2022-11-02 12:37:16 +02:00
Konstantinos Kaloutas a0577ec195 fix: typo 2022-11-02 11:36:35 +02:00
Konstantinos Kaloutas 5ee215b31d Merge branch 'master' into feat/whiteboards-color-system 2022-11-02 11:34:34 +02:00
Konstantinos Kaloutas c954a1f470 fix: shape preview 2022-11-01 18:02:15 +02:00
Konstantinos Kaloutas c33f5dff2d fix: collision element 2022-11-01 17:45:00 +02:00
Konstantinos Kaloutas 328e9df6f9 fix: remove opacity from toggle input 2022-11-01 14:24:27 +02:00
Peng Xiao 3375bb0674 Update tldraw/apps/tldraw-logseq/src/lib/shapes/YouTubeShape.tsx 2022-11-01 20:02:36 +08:00
Peng Xiao 760900169f Update tldraw/apps/tldraw-logseq/src/lib/shapes/YouTubeShape.tsx
Co-authored-by: Konstantinos <konstantinos@logseq.com>
2022-11-01 20:02:36 +08:00
Peng Xiao ab40ea6b61 feat: show youtube thumb images in preview 2022-11-01 20:02:36 +08:00
Konstantinos Kaloutas 21bf19aaff fix: slider margin 2022-11-01 13:49:27 +02:00
Konstantinos Kaloutas c91cdc6c1b fix: demo elements 2022-11-01 13:43:13 +02:00
Konstantinos Kaloutas e642b1f505 fix: fill icon 2022-11-01 13:34:13 +02:00
Konstantinos Kaloutas 4075dcb11c fix: slider thumb styles 2022-11-01 13:22:22 +02:00
Konstantinos Kaloutas caac8b7e5e fix: circle button opacity 2022-11-01 13:22:08 +02:00
Konstantinos Kaloutas 7573ae709e styles: run prettier 2022-11-01 10:26:52 +02:00
Konstantinos Kaloutas a85f38f414 fix: slider background 2022-10-31 18:45:28 +02:00
Konstantinos Kaloutas 9f0cfc571f feat: introduce opacity slider 2022-10-31 18:11:42 +02:00
Konstantinos Kaloutas d34e5f116d fix: portal header color 2022-10-31 18:11:03 +02:00
Konstantinos Kaloutas 9b6e465299 chore: color system enhancements 2022-10-31 14:36:37 +02:00
Konstantinos Kaloutas 0f57a4ad00 Merge branch 'master' into feat/whiteboards-color-system 2022-10-31 10:58:50 +02:00
Konstantinos Kaloutas 5e180d93eb fix: circle button styles and transition 2022-10-27 22:24:02 +08:00
Konstantinos Kaloutas ada95055f8 fix: portal header bg color 2022-10-27 22:24:02 +08:00
Konstantinos Kaloutas fa6a2d28ce chore: color system enhancements 2022-10-27 16:43:24 +03:00
Peng Xiao 90150197f8 fix(whiteboard): some shortcut conflicting issues 2022-10-27 21:23:58 +08:00
Peng Xiao efadaa5095 fix(whiteboard): fix delete shape issue 2022-10-27 21:23:58 +08:00
Peng Xiao 8ea4c35fa0 fix(whiteboard): portal shape min size 2022-10-27 21:23:58 +08:00
Peng Xiao 620da324f5 fix(whiteboard): state issue after deleting shapes 2022-10-27 21:23:58 +08:00
Konstantinos Kaloutas b96dc052c9 chore: color input fixes 2022-10-27 10:37:31 +03:00
Konstantinos Kaloutas eee2b342df chore: color system enhancements 2022-10-26 20:15:16 +03:00
Konstantinos Kaloutas 60d75c36e5 chore: work on color input 2022-10-26 15:44:38 +03:00
Konstantinos Kaloutas 0783927a9e chore: enable swatch on portals 2022-10-26 15:20:59 +03:00
Konstantinos Kaloutas 7e12f06372 chore: install radix dependencies 2022-10-26 15:20:34 +03:00
Peng Xiao 9a2e5a2c55 fix: displaying a placeholder for missing asset image 2022-10-18 16:58:13 +08:00
Peng Xiao 0641bf8f0d fix: should use plain object for printed values 2022-10-18 16:58:13 +08:00
Peng Xiao 29a54d5d85 chore: add a context menu item for showing shape props 2022-10-18 16:58:13 +08:00
Peng Xiao 1b93b33dfc fix(whiteboard): preview aspect ratio issue 2022-10-18 11:32:27 +08:00
Peng Xiao f874915eb3 fix(whiteboard): optimize rendering performance of rendering long list of search items 2022-10-18 11:26:41 +08:00
Peng Xiao 63b83a03d3 fix(whiteboard): pasting HTML shape issues 2022-10-17 10:31:37 +08:00
Peng Xiao 30dcb21fae fix(whiteboard): pack action issue 2022-10-17 09:39:10 +08:00
Peng Xiao 757ce2a528 fix(whiteboards): some pasting issues 2022-10-16 18:19:19 +08:00
Konstantinos Kaloutas b536e78ec0 chore: hide portal icons 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas 93e3f53a3d fix: zoom menu styles 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas 5a996526ac feat: add icons to context menu 2022-10-11 10:07:48 -04:00
Peng Xiao 441197222d Update tldraw/apps/tldraw-logseq/src/components/ContextMenu/ContextMenu.tsx
Co-authored-by: Konstantinos <konstantinos@logseq.com>
2022-10-10 22:10:45 +08:00
Peng Xiao 0c8e5b59a3 feat(whiteboard): pack shapes into rect action 2022-10-10 22:10:45 +08:00
Peng Xiao 7afea4376b fix(whiteboard): dnd missing uuid issue 2022-10-10 22:09:43 +08:00
Peng Xiao cffc30a076 fix: icon styles 2022-10-08 18:20:25 +08:00
Peng Xiao 68084bbf0b fix: html shape display issue 2022-10-08 17:00:36 +08:00
Peng Xiao fea248a03c fix(whiteboard): clearing state when exiting editing state 2022-10-07 20:18:11 +08:00
Peng Xiao 2ade3d326d fix(whiteboard): an issue on clicking logseq search items 2022-10-07 18:47:30 +08:00
Peng Xiao 9608910055 fix(whiteboard): allows pasting HTML content with format 2022-10-07 18:39:46 +08:00
Peng Xiao 66470437ae chore(tldraw): using https for local dev 2022-10-07 18:39:11 +08:00
Konstantinos Kaloutas 287a360a30 Revert "chore: use meta key to zoom on darwin"
This reverts commit 946e00114e.
2022-09-30 12:55:04 +03:00
Konstantinos Kaloutas 9b3891e936 style: run prettier 2022-09-30 12:05:25 +03:00
Konstantinos Kaloutas 50b67ffcea Merge branch 'whiteboards' into enhance/whiteboards-ux 2022-09-30 12:02:21 +03:00
Konstantinos Kaloutas 946e00114e chore: use meta key to zoom on darwin 2022-09-30 12:01:47 +03:00
Peng Xiao b636f888f3 chore: sync tldraw's freehand implementation 2022-09-30 09:49:00 +08:00
Konstantinos Kaloutas 607de5a194 fix: code style selector 2022-09-29 16:43:31 +03:00
Konstantinos Kaloutas d83f6e040b fix: keyboard shortcuts font 2022-09-29 16:34:06 +03:00
Konstantinos Kaloutas bd19e05490 fix: shortcut conflicts 2022-09-29 13:55:47 +03:00
Peng Xiao 76a7a9c526 fix: iframe source action 2022-09-29 15:07:37 +08:00
Peng Xiao bd693292eb fix: a performance issue on drawing 2022-09-29 10:31:20 +08:00
Peng Xiao 52b81c809c feat: create new portal shape when left-clicking block/page refs inside of portal shape 2022-09-28 22:37:37 +08:00
Peng Xiao eaba28e7ca fix: shape deserialize issue 2022-09-28 19:42:18 +08:00
Peng Xiao e65a5a1280 feat: remember whiteboard camera in session storage 2022-09-28 19:03:26 +08:00
Peng Xiao 1aa54a4048 fix: line shape movement issue 2022-09-28 16:49:48 +08:00
Peng Xiao 01b04fc2f8 fix: perf optimize on cleanup 2022-09-28 14:42:42 +08:00
Peng Xiao b3ecf26b90 fix: revert change of parse-title-and-body 2022-09-28 11:36:11 +08:00
Peng Xiao b5663180ae docs: a short description for tldraw 2022-09-28 11:01:11 +08:00
Peng Xiao 4d3decd218 fix: code cleanup 2022-09-28 11:00:57 +08:00
Gabriel Horner 96ebd7d8b3 Put tldraw-logseq.js in same source path as other js files
No need for a separate source path
2022-09-24 02:58:10 -04:00
Konstantinos Kaloutas ec6084ef8b fix: call stack error 2022-09-22 12:33:48 +03:00
Konstantinos Kaloutas 74448df415 refactor: move getDistributions to bounds utils 2022-09-22 12:05:51 +03:00
Konstantinos Kaloutas a3877c18e6 fix: close menu on button click 2022-09-21 16:29:16 +03:00
Konstantinos Kaloutas 20416c97f7 fix: add shadow to circle button 2022-09-21 16:16:36 +03:00
Konstantinos Kaloutas ec3e865836 style: run prettier 2022-09-21 14:12:40 +03:00
Konstantinos Kaloutas 09fd3a752f chore: add distribute method 2022-09-21 14:08:48 +03:00
Konstantinos Kaloutas e902780f19 chore: introduce distribution types 2022-09-21 12:28:49 +03:00
Konstantinos Kaloutas 7c5afa979b fix: align method 2022-09-21 12:12:49 +03:00
Konstantinos Kaloutas d4b41ba952 chore: align method 2022-09-21 12:02:54 +03:00
Konstantinos Kaloutas 077766c3c5 fix: tweak styles 2022-09-21 10:04:43 +03:00
Konstantinos Kaloutas 0760b97b91 refactor: styles 2022-09-21 09:55:42 +03:00
Konstantinos Kaloutas fc4cff97a7 refactor: unify menu styles 2022-09-21 09:40:56 +03:00
Konstantinos Kaloutas 6cfc1a307c chore: rename toolbar classes 2022-09-21 09:15:35 +03:00
Konstantinos Kaloutas a109c5dc32 chore: replace separator 2022-09-21 09:15:08 +03:00
Konstantinos Kaloutas 5266e35133 chore: remove toolbar component 2022-09-21 09:14:36 +03:00
Konstantinos Kaloutas 3ce1e1c8f2 Merge branch 'whiteboards' into feat/whiteboards-align-shapes 2022-09-21 08:51:59 +03:00
Konstantinos Kaloutas 44e2cf8964 refactor: button and toolbar styles 2022-09-20 20:18:23 +03:00
Konstantinos Kaloutas 566879f7b9 chore: add placeholder buttons 2022-09-20 19:30:16 +03:00
Peng Xiao 44e0f0be26 fix: save whiteboard when inactive for 3s 2022-09-20 14:16:11 +08:00
Peng Xiao f1102c57c9 fix: bring in tldraw's optimization on using freehand
see https://github.com/tldraw/tldraw/pull/989
2022-09-20 11:58:56 +08:00
Peng Xiao 7e241016cf
Merge pull request #6790 from logseq/fix/dnd 2022-09-19 18:04:09 +08:00
Konstantinos Kaloutas 741411dd20 fix: prefer text data on dnd 2022-09-19 12:12:07 +03:00
Peng Xiao 73b33a6fc8 fix: delay icon button offset change on active 2022-09-19 16:45:59 +08:00
Peng Xiao 81af8230e4 e2e: should not enable whiteboard by default 2022-09-18 15:00:23 +08:00
Peng Xiao 380c445f6f fix: disable csp (is this ok?) 2022-09-18 12:08:09 +08:00
Peng Xiao 6c2f31195f fix: style change again 2022-09-17 22:12:15 +08:00
Peng Xiao 054a5af0b6 fix: styles 2022-09-17 21:13:25 +08:00
Peng Xiao 3f500101a7 fix: enable editing when clicking a selected shape 2022-09-17 20:52:06 +08:00
Peng Xiao 8cb94d9719 fix: quick collapsing issue 2022-09-17 20:46:55 +08:00
Peng Xiao 1a0a6a0d45 refactor: toggle circle button 2022-09-17 19:59:04 +08:00
Peng Xiao 1ad471959c feat: remember query after blur without creating a shape 2022-09-17 13:49:55 +08:00
Peng Xiao c0620a7aa2 feat: dnd multiple shapes 2022-09-17 13:28:35 +08:00
Peng Xiao bb5b8b98b3 feat: create binding api 2022-09-17 13:02:02 +08:00
Peng Xiao 99fce18492 fix: unify data transfer with clipboarditem 2022-09-17 10:38:41 +08:00
Peng Xiao 9e70befeb4 fix: copied bindings are not correctly handled 2022-09-17 09:45:16 +08:00
Peng Xiao 3c5df40d59 feat: highlight the bound shapes when selecting a line shape 2022-09-17 09:34:05 +08:00
Peng Xiao 9b50838203 fix: debounce search handler in search handler 2022-09-17 09:33:20 +08:00
Peng Xiao 803ec01b24 refactor: handling DataTransfer 2022-09-16 17:47:02 +08:00
Peng Xiao 13a98e87db Merge remote-tracking branch 'upstream/whiteboards' into feat/whiteboards-create-on-dnd 2022-09-16 17:42:31 +08:00
Peng Xiao 1236a0adef fix: style 2022-09-15 17:16:08 +08:00
Peng Xiao 9371af9941 fix: a style issue of shape selection 2022-09-15 17:15:21 +08:00
Peng Xiao 6fbd67333e fix: some text shape related issues 2022-09-15 16:52:09 +08:00
Konstantinos Kaloutas 83785f4ca8 chore: work on dnd arrow connectors 2022-09-13 13:23:22 +03:00
Konstantinos Kaloutas f60c606c68 feat: create on dnd 2022-09-12 17:26:15 +03:00
Peng Xiao 25453c2776 fix: optimize history stack styles 2022-09-10 12:45:02 +08:00
Peng Xiao 8f7510fc73 fix: a strange Reaction error issue 2022-09-10 01:03:53 +08:00
Konstantinos Kaloutas 9e5df347c6 fix: allow scripts on iframes 2022-09-09 18:35:37 +03:00
Konstantinos Kaloutas e96f98b06d style: prettier 2022-09-09 17:03:07 +03:00
Konstantinos Kaloutas a006f2c0e1 enhance: iframe component 2022-09-09 16:47:35 +03:00