Commit Graph

174 Commits

Author SHA1 Message Date
Konstantinos Kaloutas
6e67df9e37 add shortcuts and fix naming 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
0869a10cef enhance clone handles 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
98b615b22d (wip): introduce clone handles 2023-12-14 14:42:03 -05:00
Konstantinos
bdba1ff86f Feat (Whiteboards): Pen mode (palm rejection) (#10222)
* introduce pen mode
* add isPrimary check
2023-09-28 15:16:22 +08:00
Konstantinos Kaloutas
fbf365ceff enhance: support whiteboard translations 2023-06-02 17:06:12 -04:00
Konstantinos Kaloutas
96aed148b4 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
9a89def497 enhance (wip): customizable shortcuts 2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
c204bce3d4 fix: export grouped elements 2023-04-24 16:22:45 +08:00
Konstantinos Kaloutas
78c3427923 style: run prettier 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
aa6b249705 fix: filter context bar shapes 2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
865f0ac4e5 feat (wip): lock elements 2023-04-24 13:30:27 +08:00
Konstantinos
95149e13f6 Feat: Export to image (#9037)
* feat: export to image

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* fix: loading position

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* Fix any html2canvas related functionality failing in publishing

* fix: portal header gradient on export

* chore: add comment about html2canvas-ignore attr

* fix: use export padding constant

* fix: export collapsed portals with size >  medium

* fix: reset export type

* enhance: export filename

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-12 17:39:22 +08:00
Konstantinos Kaloutas
891a1ddbb5 fix: check if clientX exists on event 2023-04-03 12:45:55 +08:00
Konstantinos Kaloutas
74866b2e8c fix: stop keyboard propagation on backlinks 2023-04-03 12:45:55 +08:00
Konstantinos Kaloutas
d00ec0a86c style: run prettier 2023-03-27 14:17:18 -04:00
Konstantinos Kaloutas
133d520e25 enhance: introduce read only flag 2023-03-27 14:17:18 -04:00
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