Commit Graph

385 Commits (02dfb9ede53817b77ef3470961509b5d605cc0d4)

Author SHA1 Message Date
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 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
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
Konstantinos Kaloutas 1e15062896 chore: add more tests and ids 2022-09-05 13:24:04 +03:00
Konstantinos Kaloutas 8026b08800 fix: normalize wheel event and refactor zoom api 2022-09-05 10:55:29 +03: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
Konstantinos Kaloutas 073d4d8b30 fix: confirm that file exists to unlink 2022-09-01 23:25:28 +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 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 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
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 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
Konstantinos Kaloutas 7cd0754dde fix: remove eslint rule 2022-08-29 09:22:21 +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 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 3869284345 Remove comment 2022-08-26 18:10:21 +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 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