Commit Graph

506 Commits (c4604c9254aba344fc0be6348e77f27b85c250f8)

Author SHA1 Message Date
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