Commit Graph

787 Commits (a93fe4d81b46c65f240db1d8bf5f234f10bdbd5a)

Author SHA1 Message Date
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
Konstantinos Kaloutas 3131793891 enhance: iframe component 2022-09-08 17:16:02 +03:00
Konstantinos Kaloutas 0d16402dca feat: introduce iframe component 2022-09-08 11:29:50 +03:00
Peng Xiao 32e534d712 fix: logseq portal resizing issue 2022-09-06 23:40:13 +08:00
Peng Xiao fb69e99a82 fix: a minor style issue 2022-09-06 23:36:27 +08:00
Peng Xiao 0a1d100587 fix: performance issue on zooming 2022-09-06 23:33:38 +08:00
Konstantinos Kaloutas 1e15062896 chore: add more tests and ids 2022-09-05 13:24:04 +03:00
Konstantinos Kaloutas 4ffc5a69ea fix: adjust normalization 2022-09-05 11:24:36 +03:00
Konstantinos Kaloutas 8026b08800 fix: normalize wheel event and refactor zoom api 2022-09-05 10:55:29 +03:00
Peng Xiao 7cb1a6e317 fix: disable shapesInViewport for now because it will trigger new persist calls 2022-09-02 23:14:50 +08:00
Peng Xiao 0196b792e2 fix: optimize redo/undo 2022-09-02 22:54:51 +08:00
Peng Xiao cb5ce12fc6 fix: some style fixes 2022-09-02 21:39:17 +08:00
Peng Xiao 886c98a222 chore: dependencies 2022-09-02 21:38:40 +08:00
Konstantinos Kaloutas ff4675b092 style: prettier fixes 2022-09-02 10:46:49 +03:00
Konstantinos Kaloutas 42f6114e01 feat: zoom buttons 2022-09-02 10:40:12 +03:00
Peng Xiao afe9fdf5be fix: whiteboard is not being correctly persisted 2022-09-02 14:40:31 +08:00
Peng Xiao 555e2a217c Merge branch 'whiteboards' of https://github.com/logseq/logseq into whiteboards 2022-09-02 09:44:22 +08:00
Konstantinos Kaloutas 073d4d8b30 fix: confirm that file exists to unlink 2022-09-01 23:25:28 +08:00
Peng Xiao e9d71cc217 fix: do not deselect shapes 2022-09-01 16:40:24 +08:00
Konstantinos Kaloutas f1d406f82a feat: cut command and shortcuts 2022-09-01 10:01:42 +03:00
Konstantinos Kaloutas 1b6d8b054f fix: hide context bar on context menu 2022-08-31 17:01:48 +03:00
Konstantinos Kaloutas 6f4541dcbe style: context menu component 2022-08-31 16:27:47 +03:00
Konstantinos Kaloutas a50e8a206a fix: zoom menu labels 2022-08-31 16:26:42 +03:00
Konstantinos Kaloutas 89bf35d282 fix: context menu state 2022-08-31 16:23:15 +03:00
Konstantinos Kaloutas 27c0f0ebdd fix: block pan on context menu 2022-08-31 15:46:07 +03:00
Konstantinos Kaloutas fb8302e09c fix: context menu labels 2022-08-31 15:31:23 +03:00
Konstantinos Kaloutas 1b12486a7a fix: cross platform build script 2022-08-31 15:29:32 +03:00
Peng Xiao 930a48cf69 fix: remove move backwards/forwards 2022-08-31 15:15:58 +08:00
Peng Xiao d9abfac89f fix: catch clause 2022-08-31 13:29:16 +08:00
Peng Xiao 9f58518318 feat: pasting image/video urls 2022-08-31 13:25:38 +08:00
Peng Xiao 318c188eff fix: update tldraw pretty-quick script 2022-08-31 11:11:13 +08:00
Peng Xiao 62f1f627b7 chore: run pretty-quick 2022-08-31 11:10:55 +08:00
Peng Xiao c2daf9351f fix: remove bring forwards and backwards 2022-08-31 11:07:00 +08:00
Peng Xiao b0b46ccc8d fix: move outside of viewport issue 2022-08-31 00:57:50 +08:00
Konstantinos Kaloutas 260131eaa6 feat: select element on context menu 2022-08-30 12:24:06 +03:00
Peng Xiao 482799eb4f fix: return more filter values 2022-08-29 21:01:38 +08:00
Peng Xiao 70c5bacac2 fix: e2e issue 2022-08-29 19:07:24 +08:00
Peng Xiao 028ea3bc83
Merge pull request #6489 from logseq/enhance/whiteboards-ui 2022-08-29 17:34:26 +08:00
Konstantinos Kaloutas 3ae3d4efa0 fix: prevent middle click paste on linux 2022-08-29 11:56:24 +03:00
Konstantinos Kaloutas 174389b730 enhance: pass ref to collisionBoundary 2022-08-29 11:55:56 +03:00
Konstantinos Kaloutas ad72b97a7d enhance: use collision boundary instead of portal 2022-08-29 11:24:26 +03:00
Konstantinos Kaloutas d8d1955303 fix: merge conflicts 2022-08-29 10:49:46 +03:00
Peng Xiao d06299c6a0 fix: portal header bread overflow 2022-08-29 15:46:24 +08:00
Konstantinos Kaloutas 4ccd9e4206 Merge branch 'whiteboards' into enhance/whiteboards-ui 2022-08-29 10:32:12 +03:00
Peng Xiao 230310d0a9 fix: editing shape state issue 2022-08-29 15:04:09 +08:00
Konstantinos Kaloutas 9adadaae02 fix: remove leftover code 2022-08-29 09:55:00 +03:00
Konstantinos Kaloutas 7cd0754dde fix: remove eslint rule 2022-08-29 09:22:21 +03:00
Konstantinos Kaloutas 72ec492e8f chore: remove showContextMenu state 2022-08-29 08:32:15 +03:00
Konstantinos Kaloutas 49ee95de21 fix: remove context bar fade effects 2022-08-29 08:29:58 +03:00
Konstantinos Kaloutas ed22a9104a fix: canvas position on scroll zoom 2022-08-29 08:29:11 +03:00
Konstantinos Kaloutas ab70d7fb4e feat: zoom factor constant 2022-08-29 08:28:05 +03:00
Konstantinos Kaloutas 3caa826e89 refactor: context menu component 2022-08-29 08:26:29 +03:00
Konstantinos Kaloutas 69355eba73 feat: os dependent mod key 2022-08-29 08:26:00 +03:00
Konstantinos Kaloutas d43de9b83f fix: double click duration 2022-08-29 08:25:25 +03:00
Konstantinos Kaloutas 52866ba1e5 fix: styles 2022-08-29 08:24:35 +03:00
Konstantinos Kaloutas bd0716db53 Fix styles 2022-08-26 19:40:04 +03:00
Konstantinos Kaloutas 6798d0c6eb Remove context menu state events 2022-08-26 19:09:24 +03:00
Konstantinos Kaloutas 3869284345 Remove comment 2022-08-26 18:10:21 +03:00
Konstantinos Kaloutas a23c5e203e Fix error 2022-08-26 17:59:12 +03:00
Konstantinos Kaloutas 127bddfefb Add conditional for copy 2022-08-26 17:57:27 +03:00
Konstantinos Kaloutas e2e6c29c63 Add separators 2022-08-26 17:44:26 +03:00
Konstantinos Kaloutas 0ea893f6db Fix error 2022-08-26 17:44:10 +03:00
Konstantinos Kaloutas f7fd54203f Add context menu and pan with middle click 2022-08-26 17:20:32 +03:00
Peng Xiao 3eb4d38034 fix: persist rotating state 2022-08-26 21:59:07 +08:00
Peng Xiao cac62ed295 fix: merge issue 2022-08-26 21:56:02 +08:00
Peng Xiao c04c2752e9 chore: prettier & deps 2022-08-26 19:36:25 +08:00
Konstantinos Kaloutas c447a9abea Install radix-ui context-menu 2022-08-26 14:33:00 +03:00
Peng Xiao 0828680f0f chore: faster tldraw build 2022-08-26 19:11:07 +08:00
Konstantinos Kaloutas 2628b08f94 Add editor config 2022-08-26 12:59:27 +03:00
Konstantinos Kaloutas a454d11c33 Merge branch 'whiteboards' into enhance/whiteboards-ui 2022-08-25 10:37:45 +03:00
Peng Xiao 77ff0da685 fix: theme adaptive default colors 2022-08-25 14:14:00 +08:00
Peng Xiao a4979c495b fix: stroke color fix 2022-08-25 13:50:49 +08:00
Peng Xiao 3235d2d2ac fix: try using inViewPort optimization again 2022-08-25 11:20:10 +08:00
Peng Xiao b2048358bf fix: multiline text shape 2022-08-24 23:24:42 +08:00
Peng Xiao 134d7bf7dd feat: add bold/italic controls to text shape 2022-08-24 22:21:12 +08:00
Peng Xiao aabd56decb fix: do not remove shape when editing or creating 2022-08-24 21:51:06 +08:00
Peng Xiao 0d8477534f fix: remove tln after unmount 2022-08-24 17:34:55 +08:00
Peng Xiao f6bc4aa73c fix: youtube shape ux 2022-08-24 16:49:11 +08:00
Peng Xiao 68dcef4e4f fix: do not toggle isAutoResizing on resizing 2022-08-24 16:00:36 +08:00
Peng Xiao f6a70df284 fix: minor style change 2022-08-24 15:30:31 +08:00
Peng Xiao 5502959b67 fix: Could not find a page named error 2022-08-24 14:38:12 +08:00
Peng Xiao 6b3c5bbd2c fix: remove text shape if content is empty 2022-08-24 14:12:52 +08:00
Peng Xiao 1c54e62580 fix: auto resizing toggle for logseq portal 2022-08-24 13:36:28 +08:00
Peng Xiao 365ac5c995 fix: allow pinching in editing state 2022-08-24 10:55:09 +08:00
Peng Xiao 7624f8b1cb fix: show new page option when no exact match 2022-08-23 15:44:45 +08:00
Peng Xiao 2499c84401 fix: arrow text label blur event handler 2022-08-23 15:03:17 +08:00
Peng Xiao d3cdb59f9d fix: clearEditingState function 2022-08-23 14:56:12 +08:00
Peng Xiao 328e9b5a6c fix: text shape blur issue 2022-08-23 14:49:28 +08:00
Peng Xiao ebfcba284e fix: quick add input got removed sometimes with syncing service 2022-08-23 11:26:41 +08:00
Peng Xiao fb0ac634d2 fix: optimize tldraw demo startup time 2022-08-23 11:00:24 +08:00
Peng Xiao e429cb1300 fix: some minor fixes 2022-08-22 17:50:28 +08:00
Peng Xiao 55cc871d37 fix: use darken instead of tint for stroke 2022-08-22 15:56:44 +08:00
Konstantinos Kaloutas c0092f0e50 Merge branch 'whiteboards' into enhance/whiteboards-ui 2022-08-22 10:18:01 +03:00
Peng Xiao 7ffdb48cc5 fix: onResetBounds should take zoom into consider 2022-08-22 14:03:30 +08:00
Peng Xiao 4bd023abd3 fix: build issue 2022-08-22 13:51:51 +08:00
Peng Xiao ddb794907d fix: reset bounds action 2022-08-22 13:35:01 +08:00
Peng Xiao 5a78da0d9d fix 2022-08-22 12:12:31 +08:00
Peng Xiao 2ec4d77853 fix: html shape styles 2022-08-22 12:12:04 +08:00
Peng Xiao b9ab35c7e6 fix: add text size control to text shape 2022-08-22 11:44:38 +08:00
Peng Xiao 7c603f3988 fix: text color in action bar 2022-08-21 16:01:26 +08:00
Peng Xiao 530140db91 fix: editing ux enhancement 2022-08-21 15:50:15 +08:00
Peng Xiao 81637484d2 feat: more toolbar actions 2022-08-21 15:36:28 +08:00
Peng Xiao c4d4046daf fix: html iframe style issues 2022-08-21 01:00:07 +08:00
Peng Xiao 529eccbb19 fix: youtube external link 2022-08-21 00:53:05 +08:00
Peng Xiao 21c7f53993 feat: youtube link input 2022-08-21 00:40:27 +08:00
Peng Xiao 6ba0d5aa56 feat: open page actions 2022-08-20 23:47:40 +08:00
Peng Xiao 40b4b44091 wip: update icons 2022-08-20 17:12:16 +08:00
Peng Xiao 3e5ee7c541 wip: action bar 2022-08-20 16:56:55 +08:00
Peng Xiao b3d69ec100 wip: context bar action 2022-08-20 16:05:30 +08:00
Peng Xiao e9b102145f fix: zoomToSelection offset issue 2022-08-20 14:02:18 +08:00
Peng Xiao 79e3d0a93a fix: whiteboard title styles 2022-08-20 13:31:25 +08:00
Peng Xiao e262adf0df fix: reduce number of persistence caused by auto-resize 2022-08-20 13:01:58 +08:00
Peng Xiao 64fa7f2d71 fix: selection box offset issue 2022-08-20 12:14:30 +08:00
Peng Xiao 5d32ec5a99 fix: copy & pasting into other whiteboards 2022-08-20 11:50:26 +08:00
Peng Xiao 42e322a7d4 fix: disable portal container transition 2022-08-19 19:26:00 +08:00
Peng Xiao 204bf0dbd8 fix: cannot rename untitled whiteboard issue 2022-08-19 19:22:31 +08:00
Peng Xiao fdb9a9f569 feat: highlight other related blocks 2022-08-19 17:48:01 +08:00
Peng Xiao c237fe5554 fix: should also scaling the portal header 2022-08-19 11:22:37 +08:00
Peng Xiao 6bf7f6277e fix: scaling issue 2022-08-19 10:56:42 +08:00
Peng Xiao d1eab6b4b0 feat: add sizing controls to logseq portal shape 2022-08-18 23:53:46 +08:00
Peng Xiao f23c6349f6 fix: video offset 2022-08-18 17:18:09 +08:00
Peng Xiao 25765317da fix: pasting media as 0.5 size 2022-08-18 17:13:17 +08:00
Peng Xiao e07f43e23e feat: pasting video 2022-08-18 17:09:10 +08:00
Peng Xiao 7ea559894f fix: html shape issues 2022-08-18 16:32:16 +08:00
Peng Xiao 01729f285b fix: should be able to place editing cursor correctly 2022-08-18 16:07:03 +08:00
Peng Xiao 420009681c fix: context bar sometimes blocks the way of pointer events 2022-08-18 14:14:15 +08:00
Peng Xiao 517befe2cc fix: rotate + resizing issue 2022-08-18 12:52:26 +08:00
Peng Xiao f4060ecc79 fix: pinching center offset 2022-08-18 12:18:11 +08:00
Peng Xiao 3436733cea chore: update tldraw deps 2022-08-18 11:57:28 +08:00
Peng Xiao d44a65cefa
Merge pull request #6385 from sawhney17/whiteboard-enhance 2022-08-18 00:19:02 +08:00
Konstantinos Kaloutas 8037e455c4 Merge branch 'whiteboards' into enhance/whiteboards-ui 2022-08-17 17:10:59 +03:00
Peng Xiao f45f0c2170 fix: stale editing state 2022-08-17 16:38:39 +08:00
Konstantinos Kaloutas 3e888c3aa5 enhance: zoom menu styles 2022-08-17 11:36:01 +03:00
Peng Xiao d5bc3cba97 fix: only enable editing logseq portal when a single one is selected 2022-08-17 16:18:33 +08:00
Peng Xiao 6e0ed52af6 fix: should blur all inputs after exiting edit mode 2022-08-17 16:10:56 +08:00
Peng Xiao fe8679da2e fix: an experiment on portal editing 2022-08-17 15:53:14 +08:00
sawhney17 8136077686 quick fixes 2022-08-17 10:59:33 +04:00
Peng Xiao 880d7b02c8 fix: keybindings should only be activated when whiteboard is focused 2022-08-17 11:43:08 +08:00
Peng Xiao 7606fa1c04 fix: pinching in LogseqPortalShape 2022-08-17 11:19:46 +08:00
Peng Xiao fda26c291f fix: pinching state for tools 2022-08-17 11:10:43 +08:00
Peng Xiao 5f44667c98 fix: should add id to block when searched 2022-08-17 01:00:56 +08:00
Peng Xiao dfd013f108 feat: move tool 2022-08-17 00:47:52 +08:00
Peng Xiao 4ae06ad1ff feat: allow geometry shapes to be transparent 2022-08-16 14:17:31 +08:00
Peng Xiao 7e88047c22 fix: minor style change 2022-08-16 13:17:23 +08:00
Peng Xiao ae7aaf4edd fix: maintain ordering of shapes 2022-08-16 11:47:08 +08:00
Peng Xiao eb3c96dd90 fix: remove will-change that it causes blurry 2022-08-15 23:17:22 +08:00
Peng Xiao c2c3378faa fix: blur clearing editing state issue 2022-08-15 22:47:20 +08:00
Peng Xiao 229e64a07b feat: add geometry shapes tool 2022-08-15 22:23:30 +08:00
Peng Xiao d0ddbf19a2 fix: bring back shape rotation 2022-08-15 21:57:56 +08:00
Peng Xiao b682cf12c7
Merge pull request #6345 from logseq/whiteboards-cleanup 2022-08-15 15:43:09 +08:00
Peng Xiao ce9a112ff0 fix: save image into asset folder instead of using base64 2022-08-15 13:54:48 +08:00
Konstantinos Kaloutas 28ccbb829e refactor: remove unneeded icons 2022-08-12 16:21:36 +03:00
Konstantinos Kaloutas 1c6e4aff19 Merge branch 'whiteboards' into whiteboards-cleanup 2022-08-12 14:11:32 +03:00
Konstantinos Kaloutas 20b5f8eab9 Merge branch 'whiteboards' into whiteboards-cleanup 2022-08-12 11:51:31 +03:00
Peng Xiao 3d7f02ac16 fix: shift pasting in whiteboard 2022-08-12 16:31:23 +08:00
Peng Xiao f42b3c20f0 fix: pasting logseq shape issue 2022-08-12 15:59:33 +08:00
Konstantinos Kaloutas 6993d139a4 Merge branch 'whiteboards' into whiteboards-cleanup 2022-08-12 09:11:01 +03:00
Peng Xiao 9b15fa0e63 fix: change logseq portal's shortcut 2022-08-12 14:07:04 +08:00
Peng Xiao 280ace28f3 fix: update icons 2022-08-12 13:14:08 +08:00
Peng Xiao 2dea98d038 fix: copy files into whiteboard 2022-08-12 11:45:51 +08:00
Konstantinos Kaloutas fe45c57560 fix: theming of zoom dropdown menu 2022-08-11 16:36:42 +03:00
Konstantinos Kaloutas e50416fbf9 refactor (styles.css): use apply directive 2022-08-11 14:51:40 +03:00
Konstantinos Kaloutas cddbf67b87 refactor (styles.css): use more nested selectors 2022-08-11 14:47:44 +03:00
Konstantinos Kaloutas 3a5e9cd6d9 fix (styles.css): remove unnecessary font import 2022-08-11 12:59:24 +03:00
Konstantinos Kaloutas 7f0b9f1195 refactor(styles.css): use nested selectors 2022-08-11 12:57:15 +03:00
Peng Xiao b636090d0e fix: stop quick action item click from trigger events underneath 2022-08-11 15:15:10 +08:00
Peng Xiao 33aba405aa fix: remove toggleGrid shortcut 2022-08-11 11:42:42 +08:00
Peng Xiao fefab647fd fix: should be able to create empty whiteboard block 2022-08-11 00:37:40 +08:00
Peng Xiao 878b4e7d9d fix: clear keybindings after exit whiteboard 2022-08-10 23:46:59 +08:00
Peng Xiao da880becae fix: dev reload keybindings issue & target not found 2022-08-10 23:09:42 +08:00
Peng Xiao 06f5fca5ea fix: several issues
- do not remove whiteboard blocks
- select all does not work
2022-08-10 20:16:06 +08:00
Peng Xiao e0b8e66906 fix: some keybindings not working issue 2022-08-10 17:26:40 +08:00
Peng Xiao 6bb6acc437 fix: issue with stale cache 2022-08-10 11:50:57 +08:00
Peng Xiao 7ab1744511 fix: only scrollIntoView on keyboard events 2022-08-09 22:45:03 +08:00
Peng Xiao 30a4ee6473 fix: better quick add keyboard support 2022-08-09 22:39:28 +08:00
Peng Xiao 0aa1112aca fix: should be able to delete shapes when hovering 2022-08-09 14:06:23 +08:00
Peng Xiao cd1e8d88a9 fix: should not pasting html when shiftkey is down 2022-08-09 11:32:57 +08:00
Peng Xiao 2308a5d120 fix: event is not being captured sometimes 2022-08-09 11:06:06 +08:00
Peng Xiao 1205184f51 fix: minor style change 2022-08-08 11:40:03 +08:00
Peng Xiao e77fd12a22 fix: disable rotate 2022-08-06 23:27:47 +08:00
Peng Xiao c093251f40 fix: more styles 2022-08-06 23:23:25 +08:00
Peng Xiao c8d34a0106 fix: highlighted should have no border-radius 2022-08-06 23:11:46 +08:00
Peng Xiao fe561bd730 fix: minor change 2022-08-06 23:06:55 +08:00
Peng Xiao d5a1bbf1a9 feat: enhance quick add ux 2022-08-06 23:03:09 +08:00
Peng Xiao 7ba324bfd2 fix: quick add by block or page 2022-08-06 17:36:34 +08:00
Peng Xiao 06f1594fad feat: tag icon in list 2022-08-06 14:38:10 +08:00
Peng Xiao 1352ee404e fix: some ux fix 2022-08-06 14:25:39 +08:00
Peng Xiao aa224fb6de fix: some displaying styles 2022-08-06 00:13:33 +08:00
Peng Xiao 1e476bd26c feat: add tabler icon extensions 2022-08-05 21:50:58 +08:00
Peng Xiao 3ed5476ba8 fix: innerheight minor change 2022-08-05 14:24:54 +08:00
Peng Xiao 712c49906c fix: editing issue 2022-08-05 14:16:19 +08:00
Peng Xiao 5f6dad4526 quick add single block 2022-08-05 11:28:24 +08:00
Peng Xiao fcd158fdc8 quick add block shape 2022-08-05 01:58:39 +08:00
Peng Xiao a2103a0d45 all pages: filter by whiteboard 2022-08-05 00:10:29 +08:00
Peng Xiao 2f0125b31f fix: quick click to reset zoom 2022-08-04 23:46:10 +08:00
Peng Xiao ba3077dcad fix: styles cleanup 2022-08-04 22:49:07 +08:00
Peng Xiao 2c42d4f7e5 fix 2022-08-04 21:59:27 +08:00
Peng Xiao 10b4985190 fix: pasted logseq shapes should also auto resize 2022-08-04 17:10:40 +08:00
Peng Xiao 817d844758 fix: disable some conflicting whiteboard shortcuts 2022-08-04 10:17:11 +08:00
Peng Xiao 7eac75226d fix: remove change background input for now 2022-08-03 14:36:38 +08:00
Peng Xiao 5443569ad4 fix: portal shape auto resize issues 2022-08-03 14:06:44 +08:00
Peng Xiao 29a42f23c7 more fix 2022-08-02 21:17:14 +08:00
Peng Xiao bb84e99a82 fix: auto resize for single block 2022-08-02 21:02:08 +08:00
Peng Xiao aa22ab0e39 compact mode wip 2022-08-02 18:38:11 +08:00
Peng Xiao 763165270c fix: single block does not updating reactively 2022-08-02 16:33:16 +08:00
Peng Xiao 0a2688de83 feat: showing single block for blocks 2022-07-26 18:05:22 +08:00
Peng Xiao 2d64b55b64 fix: events in html shape 2022-07-26 11:08:45 +08:00
Peng Xiao f73a7c3e87 size issue 2022-07-26 10:49:48 +08:00
Peng Xiao b397ee097f feat: add html shape to allow pasting iframes 2022-07-26 10:26:13 +08:00
Peng Xiao 073bd0b00d feat: show image in preview 2022-07-25 21:13:17 +08:00
Peng Xiao dff55b10f9 fix: some perf issues 2022-07-25 16:08:50 +08:00
Peng Xiao 6ed07eaef0 delay context bar width/height access 2022-07-25 14:03:17 +08:00
Peng Xiao ac27e5e6f8 fix: a potential performance issue 2022-07-25 13:31:43 +08:00
Peng Xiao fe851de6e5 fix: color input issue 2022-07-25 11:35:48 +08:00
Peng Xiao 91df0f7c3c feat: paste text shape 2022-07-24 16:52:28 +08:00
Peng Xiao 15f521744a fix: text wrap in preview 2022-07-24 16:48:20 +08:00
Peng Xiao ba5cdd93a8 feat: better dashboard grid cols 2022-07-24 16:25:14 +08:00
Peng Xiao f3d2586cd9 fix: blink issue 2022-07-24 15:46:37 +08:00
Peng Xiao 61a717830b feat: whiteboard preview & nesting 2022-07-24 14:39:14 +08:00
Peng Xiao ce9efb8c98 preview color 2022-07-24 12:53:43 +08:00