Commit Graph

299 Commits

Author SHA1 Message Date
HikoriHawky
a160151ceb altered hardcoded pressure values 2023-08-07 12:40:48 +08:00
Konstantinos Kaloutas
249a9dc688 style: run prettier 2023-06-28 17:19:21 +03:00
Konstantinos Kaloutas
aa39e5f6da Merge branch 'master' into feat/pdf-shape 2023-06-23 17:47:42 +03:00
Konstantinos Kaloutas
08f70c979e fix: preserve aspect ratio 2023-06-22 12:02:32 -04:00
Konstantinos Kaloutas
afd31ce7b6 fix: preserve aspect ratio on resize 2023-06-21 11:22:11 +03:00
Konstantinos Kaloutas
340a037b3a Merge branch 'master' into feat/pdf-shape 2023-06-21 11:13:44 +03:00
Konstantinos Kaloutas
693f919efa fix: auto pan speed 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas
ace5ba56e1 fix: snap to grid of arrow handlers 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas
b468f0dc07 fix: text origin on create 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas
4f00e326ff feat: snap to grip 2023-06-20 09:09:10 -04:00
Konstantinos Kaloutas
fded58c4ea wip: pdf shape 2023-06-15 16:51:13 +03:00
Konstantinos Kaloutas
6aed9edf3a enhance: naming 2023-06-02 15:45:10 -04:00
Konstantinos Kaloutas
960f324972 enhance: auto pan 2023-06-02 15:45:10 -04:00
Konstantinos Kaloutas
0a91115f03 fix: remove unneeded persist 2023-06-01 09:57:21 -04:00
Konstantinos Kaloutas
3ef1adefb0 fix: remove unneeded persist 2023-05-25 13:29:39 +03:00
Konstantinos Kaloutas
72097e6b67 fix: remove empty group 2023-05-25 12:50:52 +03:00
Konstantinos Kaloutas
3ba55fa67b fix: update nonce on arrow position change 2023-05-24 14:44:48 +03:00
Konstantinos Kaloutas
ad5757de61 fix: undo/redo of converted shapes 2023-05-16 09:42:07 -04:00
Konstantinos Kaloutas
c119b1eeb5 fix multiselect right click on converted shape 2023-05-16 09:42:07 -04:00
Konstantinos Kaloutas
aa65cff5b6 fix: remove unneeded persist 2023-05-12 19:23:58 +08: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
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
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
865f0ac4e5 feat (wip): lock elements 2023-04-24 13:30:27 +08: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
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
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
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
c54e570644 fix: remove unused imports 2023-03-27 14:17:18 -04: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
acd41f71dd fix: history replace 2023-03-13 14:33:14 -04:00
Konstantinos Kaloutas
0760aeb948 style: run prettier 2023-03-08 17:09:35 +08:00