Commit Graph

158 Commits

Author SHA1 Message Date
Konstantinos
2c987d0c6a Enhance (Whiteboards): UX (#8797)
- Improve zooming performance (try zooming using the scrollbar or the trackpad on a portal heavy board)
- Auto remove arrows when we delete connected shapes (see video)
- Create new portals when we Alt+Click on refs in portal elements
- Enable development toolbar within Logseq
- Clear brush (select) area on exit to avoid the leftover when we double click and drag at the same time (see image below)
---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-20 18:28:55 +08:00
Konstantinos Kaloutas
0a89ac520a use util/copy-to-clipboard! 2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas
701223d7d0 fix: command autocomplete on portals 2023-03-03 10:14:10 -05:00
Tienson Qin
6a5b0c8199 Fix pencil not working if drawing quickly (replace tldraw's undo/redo history with logseq's) (#7786)
* fix: pencil not working if drawing quickly

* feat: mod+c mod+g to toggle grid

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-02-22 23:16:52 +08:00
Zhizhen He
25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Bad3r
ebb2a5c1d7 chore(dep): bump NodeJS from 16.x to 18.x LTS (#8406)
* chore(dep): bump NodeJS to LTS 18.x

* update nginx image CVE-2022-43551

* upgrade node version in GH workflows

* update nodejs version in dev docs

* upgrade tldraw version nodejs version to 18.x

* update static/yarn.lock

* fix yarn.lock electron version

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-02-21 23:07:35 +08:00
Konstantinos Kaloutas
b211a93807 fix: remove unused imports and run prettier 2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
a2f76519fb remove some more unneeded changes 2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
49716c1ff5 enhance: use cursor 2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
d040dbe4ee fix: revert inefficient changes 2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
f9dbdc1d7c wip: performance enhancements 2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
1eb94092f0 style: run prettier 2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
e03d48d844 fix: mobile tap 2023-01-05 19:27:59 +08:00
Peng Xiao
0a2737782b fix: pencil issue when drawing quickly (#7781)
* fix: pencil issue when drawing quickly

* fix: fix touch callout in iOS
2022-12-20 01:25:22 +08:00
Peng Xiao
effe00f791 fix: magnifier issue on iOS (#7778)
fix: magnifier issue on iOS
2022-12-19 22:16:02 +08:00
Konstantinos
92f48050f4 Fix: Arrow label and indicator (#7746)
* fix: label focused state

* fix: remove bounds check on double click

* fix: remove label mask from arrow indicator

* fix: label focused state

* fix: remove bounds check on double click

* fix: remove label mask from arrow indicator

* fix: dom validation warning

* fix: hide indicators while editing

* fix: tweak padding of arrow label

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-12-19 21:56:42 +08:00
Peng Xiao
8ac7d565b1 fix: hide arrow selection bounds 2022-12-16 13:49:13 +08:00
Peng Xiao
1141890a8c feat: grouping & ungrouping shapes (#7713)
Grouping && ungrouping shapes support
2022-12-15 22:58:18 +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
e7e630d88f fix: zoom menu trigger should not gain focus on close 2022-11-28 14:17:53 +08:00
Peng Xiao
161ac5d474 fix: shape backlinks display issue 2022-11-23 19:05:51 +08:00
Peng Xiao
46f8035c26 fix: several ux issues 2022-11-23 13:02:38 +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
da754512f5 fix: quick links should not block panning 2022-11-22 18:15:39 +08: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
a47a753591 fix: remove aria-label 2022-11-21 17:35:18 +02:00
Peng Xiao
7847bfb65a fix: code style issues 2022-11-21 15:51:46 +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
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
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
eb072afa53 fix: still use svg grid for non-safari 2022-11-17 21:43:34 +08: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
ecf5495edc fix(whiteboard): disable user select on whiteboard pages on iOS 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
d94e6490d4 fix(whiteboard): some multi touch issues 2022-11-14 22:39:53 +08:00