Commit Graph

385 Commits (02dfb9ede53817b77ef3470961509b5d605cc0d4)

Author SHA1 Message Date
Konstantinos Kaloutas e2e6c29c63 Add separators 2022-08-26 17:44:26 +03:00
Konstantinos Kaloutas f7fd54203f Add context menu and pan with middle click 2022-08-26 17:20:32 +03: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 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 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 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 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 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 3436733cea chore: update tldraw deps 2022-08-18 11:57:28 +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 fe8679da2e fix: an experiment on portal editing 2022-08-17 15:53:14 +08:00
Peng Xiao 7606fa1c04 fix: pinching in LogseqPortalShape 2022-08-17 11:19:46 +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 20b5f8eab9 Merge branch 'whiteboards' into whiteboards-cleanup 2022-08-12 11:51:31 +03: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 fefab647fd fix: should be able to create empty whiteboard block 2022-08-11 00:37:40 +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 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 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 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 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 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 61a717830b feat: whiteboard preview & nesting 2022-07-24 14:39:14 +08:00
Peng Xiao d7fe6c47e1 fix: use page ref link in shape title 2022-07-24 12:45:51 +08:00
Peng Xiao 30b254ab47 block shape dnd 2022-07-23 20:49:52 +08:00
Peng Xiao 5542d27680 feat: showing breadcrumb for page block shape 2022-07-23 16:27:44 +08:00
Peng Xiao 45798ba714 feat: displaying whiteboard text shape in outliner 2022-07-22 14:47:57 +08:00
Peng Xiao d79ad7d43c fix dev mode 2022-07-21 10:35:05 +08:00
Peng Xiao ac89a3d10c minor fix 2022-07-21 10:23:54 +08:00
Peng Xiao fc1a60463f
Merge pull request #6112 from sawhney17/whiteboards 2022-07-20 21:48:33 +08:00
Peng Xiao 4dc96790a4 feat: whiteboard preview 2022-07-20 20:12:37 +08:00
Peng Xiao 51ed250728 wip draw whiteboard preview 2022-07-20 16:08:20 +08:00
sawhney17 03e48b3a8a update action bar css 2022-07-19 15:59:16 +04:00
Peng Xiao 0584edd4d8
Merge pull request #5905 from sawhney17/whiteboards 2022-07-03 22:47:01 +08:00
sawhney17 6110bf964b fix zoom display not updating 2022-07-03 18:29:27 +04:00
Peng Xiao d00a3dbff2 run prettier 2022-07-03 21:38:09 +08:00
sawhney17 d78356c8c6 cleanup code + format 2022-07-03 16:42:47 +04:00
sawhney17 126129fc71 address comments 2022-07-03 15:30:39 +04:00
Peng Xiao 989aec04f1
Merge branch 'whiteboards' into whiteboards 2022-07-03 16:10:32 +08:00
Peng Xiao 657f7d3a0d fix: build warnings 2022-07-03 13:39:11 +08:00
sawhney17 4792820325 don't close menu upon click 2022-07-02 18:42:53 +04:00
sawhney17 cb56f1ff3c update imports 2022-07-02 18:34:29 +04:00
sawhney17 e48eff20f0 add dropdown 2022-07-02 18:14:13 +04:00
Peng Xiao 931a601dfa refactor: cleanup draft flag which is confusing 2022-07-01 11:37:03 +08:00
Peng Xiao b9647c95a6 fix: minor bug 2022-07-01 01:52:13 +08:00
Peng Xiao 769dce01f9 refactor: how quick add works 2022-07-01 01:47:18 +08:00
sawhney17 9af494899b add files 2022-06-30 09:50:05 +04:00
Peng Xiao 1387dfcc43 fix: edit shape not working properly 2022-06-30 13:48:04 +08:00
sawhney17 64a1d32d1d
Merge branch 'logseq:whiteboards' into whiteboards 2022-06-30 09:45:41 +04:00
Peng Xiao da6bd917a1 fix: use edit state to toggle activation state 2022-06-30 11:30:10 +08:00
Peng Xiao 620624b39c fix: cleanup some codes 2022-06-30 10:54:55 +08:00
Peng Xiao 1a5c60f85f fix: color input infinite loop 2022-06-30 10:54:43 +08:00
Peng Xiao 42f33d56f9 fix: color input color not updating 2022-06-30 00:31:27 +08:00
sawhney17 c3b2d3c67f update location of bar 2022-06-29 15:12:45 +04:00
Peng Xiao 2c2f8806fc change importing tldraw-logseq using js directly 2022-06-24 12:00:05 +08:00
Peng Xiao 6b263ecd54 fix: cljs-demo import tldraw-logseq as js dep instead of npm 2022-06-23 13:46:37 +08:00
sawhney17 7ad95920d4 test actionbar 2022-06-22 18:46:19 +04:00
Peng Xiao 31df972970 fix: history undo/redo issues 2022-06-22 13:29:01 +08:00
sawhney17 3a31b28581 fix undo and redo actions 2022-06-22 07:36:39 +04:00
sawhney17 39f567b1fa
Merge branch 'logseq:whiteboards' into whiteboards 2022-06-21 21:54:01 +04:00
Peng Xiao bc26ef22a5 zoomToFit when opened 2022-06-20 22:48:44 +08:00
Peng Xiao ca38d5e40f fix: some other persist history issues 2022-06-20 17:01:15 +08:00
Peng Xiao dd605a45f3 fix: do not push history stack when persisted is the same with peek 2022-06-20 16:34:45 +08:00
Peng Xiao 9d14ed160e pasting block refs 2022-06-20 11:11:01 +08:00
Peng Xiao 17344f6408
Merge branch 'whiteboards' into whiteboards 2022-06-20 10:39:43 +08:00
Peng Xiao e39fe772bb fix: paste shapes with bindings 2022-06-20 03:13:23 +08:00
Peng Xiao ac9cc48fe8 feat: copy & paste shapes 2022-06-20 02:38:39 +08:00
Peng Xiao 3ebfd5e56f wip pasting files 2022-06-20 00:46:21 +08:00
Peng Xiao 1e84e47157 fix: dnd file 2022-06-19 23:55:45 +08:00
Peng Xiao 4e2e3266c2 fix: enlarge arrow head 2022-06-19 16:50:52 +08:00
Peng Xiao 0a8b739a70 fix: should disable collapsing when activated 2022-06-19 16:08:33 +08:00
Peng Xiao 53ed26751c fix: change line keybindings 2022-06-18 16:14:19 +08:00
Peng Xiao 267a3c3570 fix: adapt colors correctly 2022-06-18 15:21:12 +08:00
Peng Xiao e4c461833a feat: collapse logseq shapes 2022-06-18 15:05:32 +08:00
Peng Xiao 38a6f227ad fix: demo styles 2022-06-18 10:48:49 +08:00
Peng Xiao 20b81fbd1e feat: finish double click to create poc 2022-06-18 03:06:40 +08:00
sawhney17 5d869c2060 Merge branch 'whiteboards' of https://github.com/logseq/logseq into whiteboards 2022-06-17 18:56:28 +04:00
sawhney17 52a50bfd24 style fixes for whiteboard 2022-06-17 18:54:36 +04:00
sawhney17 071e01b6e0 add undo and redo buttons 2022-06-17 18:54:28 +04:00
Peng Xiao 55c0c5681e wip: double click to create logseq page/block 2022-06-17 20:22:51 +08:00
Peng Xiao e8f7248b01 fix: text shapes in preview 2022-06-17 17:11:05 +08:00
Peng Xiao b43f235a29 fix: whiteboard camera performance issue 2022-06-17 16:43:34 +08:00
Peng Xiao 899d945eb8 todo: db click to create logseq shape 2022-06-16 00:04:55 +08:00
Peng Xiao 0fc186ba23 fix: tsup should pass process.env for prod 2022-06-14 11:01:20 +08:00
Peng Xiao 616731064e fix type error 2022-06-13 21:05:54 +08:00
Peng Xiao 69fc959012 fix icon 2022-06-13 10:31:18 +08:00
Peng Xiao 0d881dd1c4 fix: types & lock file 2022-06-12 17:58:11 +08:00
Peng Xiao 8e0f137f65 chore: deps update & reduce zoom range 2022-06-12 17:39:58 +08:00
Peng Xiao 62f7b9a696 fix: enhance minimap ux 2022-06-11 22:19:27 +08:00
Peng Xiao cfa6eede17 fix: arrow & text in minimap 2022-06-11 01:51:06 +08:00
Peng Xiao 14acac6518 fix: minimap ratio 2022-06-11 01:16:42 +08:00
Peng Xiao 34060c711c fix: preview rotation 2022-06-10 22:14:23 +08:00