Konstantinos Kaloutas
eee3862644
fix: drag to clone text shapes
2023-05-05 10:57:34 -04:00
Konstantinos Kaloutas
ab2d9dd0ef
fix: hide lock/unlock on published whiteboards
2023-05-05 10:57:34 -04:00
Konstantinos Kaloutas
f4b4ecb526
fix: allow interactions with published embeds
2023-05-05 10:57:34 -04:00
Adam Hupp
c7e0d86e8b
Fix `yarn install` on Windows
...
`yarn install` currently fails due to two issues:
a) several build scripts use "cd some_dir && yarn ...", which is not
valid in cmd.exe. Replace with "yarn --cwd some_dir .."
b) zx is somehow defaulting to bash, which finds WSL and runs the
script in the WSL instance. Supposedly this was fixed in
https://github.com/google/zx/pull/458 , not sure why it's not working
even if I upgrade zx.
2023-05-04 13:51:17 +08:00
Konstantinos Kaloutas
0cb77900b6
fix: portal tool selection
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
1d13eb3d4b
chore: add shortcut to collapse toggle tooltip
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
234f92a3fe
style: run prettier
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
00be5edb4c
chore: handle tool shortcuts
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
dd9eb3a4e2
enhance (wip): customizable shortcuts
2023-05-03 15:30:05 -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
1aca903449
Fix (Whiteboards): Portal height calculation bug ( #9161 )
...
* fix: portal height
* fix: remove circle button from portals
* enhance: remove unnecessary dev tools
* enhance: convert collapse btn-group to toggle
* enhance: introduce collapse shortcut
2023-04-24 21:06:51 +08:00
Konstantinos Kaloutas
ab0c1c1860
fix: change shortcut of zoom to selected
2023-04-24 16:22:45 +08:00
Konstantinos Kaloutas
c204bce3d4
fix: export grouped elements
2023-04-24 16:22:45 +08:00
Konstantinos
fd375dde5d
Feat (Whiteboards): Shape conversion ( #9192 )
...
* feat: shape shift
* fix: input border radius
* fix: maintain shape id for references
---------
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-24 13:33:18 +08:00
Konstantinos Kaloutas
0831115ae6
fix: global set color
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
84cd21b46a
fix: update shapes
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
5fc4e5074d
enhance: add lock keyboard shortcut
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
78c3427923
style: run prettier
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
f5673da476
fix: context bar action factory
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
5539bb8351
fix: circle button
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
567befc9a5
style: improve naming
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
ecb338c03d
fix: clone on translate with alt key
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
0290e56c4d
fix: scale level filtering
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
13d94347f1
fix: prevent translating
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
64f5c59c9f
fix: hide circle button on locked portals
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
865f0ac4e5
feat (wip): lock elements
2023-04-24 13:30:27 +08:00
Konstantinos Kaloutas
a31d54ff42
fix: select position and run prettier
2023-04-14 10:48:48 -04:00
Konstantinos Kaloutas
e5ea451e42
feat: introduce global scale level option
2023-04-14 10:48:48 -04:00
Konstantinos Kaloutas
4c7597af11
enhance: enter edit mode when creating shapes
2023-04-12 20:44:59 +08:00
Konstantinos Kaloutas
f9f8c8f471
fix: header bg when switching to custom color
2023-04-12 20:44:59 +08:00
Konstantinos Kaloutas
bdcf0740d2
fix: custom portal color on previews
2023-04-12 20:44:59 +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
0edb4f5f5a
fix: iphone main toolbal issue
2023-04-12 15:15:53 +08:00
Konstantinos Kaloutas
d86dbde640
feat (whiteboards): Support custom colors
2023-04-12 15:15:53 +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
17dbb40f1b
fix: breadcrumb wrap on portal header
2023-04-03 12:45:55 +08:00
Konstantinos Kaloutas
37230c229f
fix: breadcrumb icon alignment on wb references
2023-03-29 17:30:46 +08:00
Konstantinos Kaloutas
16f8188fd1
fix: quick add
2023-03-27 14:17:18 -04:00
Konstantinos Kaloutas
8a92caa7f9
fix: double click
2023-03-27 14:17:18 -04: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 Kaloutas
4330f92746
fix: hide context bar actions
2023-03-27 14:17:18 -04:00
Konstantinos Kaloutas
c54e570644
fix: remove unused imports
2023-03-27 14:17:18 -04:00
Konstantinos Kaloutas
6a3f928a94
enhance (wip): adjust ui on published whiteboards
2023-03-27 14:17:18 -04:00
Konstantinos
b5494f33cc
Fix (Whiteboards): An attempt to fix most of the remaining issues ( #8893 )
...
* Revert "enhance: clear selection ranges"
This reverts commit cb2c1f1d6a
.
* fix: untitled name crash on click
* fix: breadcrumb without label
* fix: maintain original page name
* fix: revert shape to block change
* fix: allow toolbar scrolling
* fix: remove overflow from context bar
2023-03-25 10:40:58 +08:00
Konstantinos
5913d81e6f
Fix (Whiteboards): Shape index and arrow binding issue ( #8885 )
...
* fix: shape index and bindings
* fix: indexv updating
2023-03-24 14:39:58 +08: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
6657286c4f
fix: history on create portal
2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
7ea26ed490
fix: portal auto resize
2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
7a889a042b
fix: persisting collapsed state of portals
2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
acd41f71dd
fix: history replace
2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
723bf3806d
add more tests
2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas
0760aeb948
style: run prettier
2023-03-08 17:09:35 +08:00
Konstantinos Kaloutas
0a89ac520a
use util/copy-to-clipboard!
2023-03-08 17:09:35 +08:00
Konstantinos
82e5abf9e0
Enhance (Whiteboards): Paste and dnd behavior (also add a placeholder to shape labels) ( #8753 )
...
* fix: paste shape
* enhance: add label placeholder
* fix: don't create portal on ref click
* enhance: allow ref dragging
* fix: create line binding on drop
* enhance: allow creating url based elements on drop
2023-03-06 12:04:24 +08:00
Konstantinos Kaloutas
701223d7d0
fix: command autocomplete on portals
2023-03-03 10:14:10 -05:00
Konstantinos
1ff15171ed
fix (Whiteboard): Paste shape ( #8636 )
...
* fix: paste shape
* fix: test
* fix: test
* fix: test
* fix: test
* fix: test
* fix: add timeout to headings test
* fix: test
* fix: e2e test
* just another attempt to fix the tests
* fix; yet another test fix
* remove the inconsistent test
* revert test change
* revert unneeded change
---------
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-03-01 12:25:45 -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
0f48180f9b
feat: auto pan when out of view
2023-02-19 15:20:54 +08:00
Konstantinos Kaloutas
b72bf6829f
fix: toggle collapsed button
2023-02-14 09:48:11 -05:00
Konstantinos Kaloutas
b211a93807
fix: remove unused imports and run prettier
2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
bdd665052e
fix: initial height calculation of portal
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
2043f3a5a4
enhance: allow rendering empty portals once
2023-01-31 11:03:13 +08:00
Konstantinos Kaloutas
f9dbdc1d7c
wip: performance enhancements
2023-01-31 11:03:13 +08:00
Konstantinos
5487ca675f
Fix (Whiteboards): paste type order ( #8416 )
...
* fix: set min width to tweet shape
* fix #8407
Co-authored-by: Bad3r <bad3r@protonmail.com>
2023-01-24 11:30:55 -05:00
Konstantinos Kaloutas
bee2293741
fix: auto height
2023-01-16 18:40:07 +02:00
Konstantinos Kaloutas
9a7e7d5f3f
chore: add tweet preview
2023-01-13 20:07:51 +02:00
Konstantinos Kaloutas
4dac7a2776
wip: auto height calculation
2023-01-11 20:41:44 +02:00
Konstantinos Kaloutas
50fc185df0
fix: infinite loop error
2023-01-10 12:55:53 +02:00
Konstantinos Kaloutas
61d806a5c6
fix: add allow same origin to sandbox
2023-01-10 10:25:47 +02:00
Konstantinos Kaloutas
b1cf9bf7ce
fix: edit action on context bar for portals
2023-01-09 20:37:06 +02:00
Konstantinos Kaloutas
ca1226e3d3
Merge branch 'master' into feat/tweet-shape
2023-01-09 12:55:41 +02:00
Konstantinos Kaloutas
5b491ef54f
[wip] feat (whiteboards): tweet shape
2023-01-05 17:25:26 +02:00
Konstantinos Kaloutas
1eb94092f0
style: run prettier
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
121e1ebe15
fix: adjust scale select on mobile
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
d988ba3e8b
fix: potential overflow issue
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
f1ba9342d2
fix: potential zoom validation issue
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
e03d48d844
fix: mobile tap
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
21988d3df9
fix: mobile tap on quick search items
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
21ddb7e0d6
feat: add scale option to pencil and highlighter
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
c33fc8a60e
fix: prevent multiple context menus
2023-01-05 19:27:59 +08:00
Konstantinos Kaloutas
fbda779931
fix: zoom to selection wording
2023-01-05 19:27:59 +08:00
dependabot[bot]
dd581b6961
chore(deps): bump json5 from 2.2.1 to 2.2.2 in /tldraw
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-30 17:42:17 +08:00
Konstantinos Kaloutas
2673cbef33
style: run prettier
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
5b1a323a06
feat: add scale option to shapes and arrows
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
2010ccf554
fix: hide open page button on whiteboard blocks
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
9d4497b033
fix: remove unused import
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
4df5834f2f
style: run prettier and fix a type issue
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
bdd1dbb937
fix: disable context menu on editing
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
d2419434d5
chore (deps): upgrade radix ui context menu
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
7f9ade3931
fix: remove unused imports
2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
da66d0f20f
fix: disable delete shortcut while editing
2022-12-28 12:19:22 +08:00