Commit Graph

708 Commits (8697d59b72517e283b1dec527aa05342c8dc92e9)

Author SHA1 Message Date
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
Konstantinos Kaloutas 921418d87d fix: reduce the chance of blurry text 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas 376d97f7c6 fix: enable pointer events on shape labels 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas 5ddc003939 fix: remove unused import 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas 2665ceda33 chore: add group icons 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas c0d1060c74 fix: shortcuts padding 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas f49f1391c1 fix: zoom labels 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas 87427dfa3d chore: add focus to context menu 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas 05010d1c00 fix: redirect to whiteboard on edit 2022-12-28 12:19:22 +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 54fb5effef fix: pasting group shape issue 2022-12-19 20:46:44 +08:00
Peng Xiao d6bd4956cb perf: optimize getShapeById 2022-12-19 20:46:44 +08:00
Peng Xiao 3bce646b23 Update tldraw/apps/tldraw-logseq/src/components/ContextMenu/ContextMenu.tsx
Co-authored-by: Konstantinos <konstantinos@logseq.com>
2022-12-16 20:04:44 +08:00
Peng Xiao ea92147bea fix: group/ungroup shortcuts 2022-12-16 20:04:44 +08:00
Peng Xiao 37f20772a1 chore: format code 2022-12-16 13:49:13 +08:00
Peng Xiao 8ac7d565b1 fix: hide arrow selection bounds 2022-12-16 13:49:13 +08:00
Peng Xiao e5cfde099e fix: all tldraw shortcut can still be handled by logseq 2022-12-16 13:49:13 +08:00
Konstantinos ab7d10a6a3 Update tldraw/apps/tldraw-logseq/src/components/Tooltip/Tooltip.tsx
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas f1ba20876f fix: scale level label 2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas 0d2c01ad0c Revert "wip: include arrow heads to bounds"
This reverts commit b628ef930bf94bd37ae2cd965fdcecba41ed9da7.
2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas 31e3981bbe fix: toggle tooltip param 2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas b1d499abf7 fix: active state of toggle input 2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas 47106cf89b fix: background of active select item 2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas 476b221c51 wip: include arrow heads to bounds 2022-12-16 00:02:16 +08:00
Konstantinos Kaloutas 0f7d91c5c9 remove label bounding box on shapes 2022-12-16 00:02:16 +08:00
Peng Xiao 1141890a8c
feat: grouping & ungrouping shapes (#7713)
Grouping && ungrouping shapes support
2022-12-15 22:58:18 +08:00
Konstantinos Kaloutas d758c3a5c8 fix: tooltip without shortcuts 2022-12-12 20:58:51 +08:00
Konstantinos 109b491042
Feat: Use tooltips instead of titles on whiteboard buttons (#7643)
Move select and pan to main toolbar
 Create tooltip component
 Add tooltip support to button, toggle, toggle groups, select and color input
 Style shortcuts on primary tools
2022-12-12 18:11:03 +08:00
Peng Xiao a06b0aad57
feat: dnd sidebar to whiteboard (#7617)
feat: dnd sidebar to whiteboard
2022-12-07 20:40:32 +08:00
Konstantinos da0f3eb5b4
Feat (Whiteboards): Support text overlay on shapes (#7473)
* wip: add text to box shape

* chore: support font weight  and italic

* fix: editing styles of label

* fix: chevron color

* fix: label auto resize

* fix: textarea background

* fix: title class

* fix: centroid calculation

* fix: label size calculation

* chore: add label bounds indicator

* fix: text label width

* fix: label scale calculation

* fix: triangle label offset

* chore: activate edit mode on double click

* wip: add text to box shape

* chore: support font weight  and italic

* fix: editing styles of label

* fix: chevron color

* fix: label auto resize

* fix: textarea background

* fix: remove unused import

* chore: add label ellipse and polygon

* fix: centroid calculation

* fix: label size calculation

* chore: add label bounds indicator

* fix: text label width

* fix: label scale calculation

* fix: triangle label offset

* chore: activate edit mode on double click

* fix: remove placeholder element

* fix: label pointer events

* fix: label position

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-12-07 19:26:07 +08:00
Peng Xiao b7b2534b2b fix: add 'd' to draw tool 2022-12-06 18:22:41 +08:00
Peng Xiao 0b9c6bade5 fix: add 'c' to connector shortcut 2022-12-06 18:22:41 +08:00
Peng Xiao 8a9d254068 fix: allows logseq related shortcut combinations (t t) to work 2022-12-06 18:22:41 +08:00
Peng Xiao 2a96cf6c2d fix: should only reset portal position when necessary 2022-12-06 18:22:41 +08:00
Peng Xiao 923eaf602a fix: optimize untitled whiteboard page name display 2022-12-06 18:22:41 +08:00
Peng Xiao 9dff0db9ac fix: do not show links for the current page 2022-12-06 18:22:41 +08:00
Peng Xiao e74d9d3526 fix: do not lock shape creation 2022-12-06 18:22:41 +08:00
Peng Xiao 6ee380e3fc fix: add letter shortcuts to some shapes 2022-12-06 18:22:41 +08:00
Peng Xiao 1893dde335
feat: animate canvas camera movement (#7583)
feat: animate canvas camera
2022-12-06 12:38:22 +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 9daec097a6 fix: optimize block link reference display in whiteboard 2022-11-28 14:38:15 +08:00
Peng Xiao e7e630d88f fix: zoom menu trigger should not gain focus on close 2022-11-28 14:17:53 +08:00
WesleyCh3n 8f52021835
fix: readme typos (#7451) 2022-11-25 08:50:27 +08:00
Konstantinos Kaloutas b1d763e7f5 fix: adjust arrow and pencil colors 2022-11-24 21:59:25 +08:00
Konstantinos Kaloutas 66fc6c5fe1 fix: adjust order of highlighting colors 2022-11-24 21:59:25 +08:00
Peng Xiao e9b07638ac fix: invalid link reference in after the original block is removed 2022-11-23 19:05:51 +08:00
Peng Xiao 161ac5d474 fix: shape backlinks display issue 2022-11-23 19:05:51 +08:00
Peng Xiao 1860a81784 fix: alignment issue 2022-11-23 13:11:32 +08:00
Peng Xiao 46f8035c26 fix: several ux issues 2022-11-23 13:02:38 +08:00
Peng Xiao 74784f7138 fix: block link icon alignment 2022-11-23 12:15:42 +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 5480e1bd0d fix: some style changes 2022-11-23 10:32:24 +08:00
Konstantinos Kaloutas e9531e1d00 fix: set max width to links popover 2022-11-22 18:29:20 +02:00
Konstantinos Kaloutas da4e945529 wip: move paste as link to context menu 2022-11-22 18:28:38 +02:00
Konstantinos Kaloutas 08affcb19d fix: width of search input 2022-11-22 18:03:05 +02:00
Konstantinos Kaloutas 7c5fe2a559 fix: blurry popover content 2022-11-22 15:26:16 +02:00
Peng Xiao d82066f7ba fix: quick link & block link issue 2022-11-22 20:13:36 +08:00
Peng Xiao 2c109ec4b6 fix: whiteboard redirectToPage should be able to redirect to whiteboard 2022-11-22 19:48:09 +08:00
Peng Xiao d00ebf9c19 fix: some quick link ui issues 2022-11-22 19:23:00 +08:00
Peng Xiao da754512f5 fix: quick links should not block panning 2022-11-22 18:15:39 +08:00
Peng Xiao cf428764a4 Merge branch 'feat/wb-linkings' of https://github.com/logseq/logseq into feat/wb-linkings 2022-11-22 18:00:10 +08:00
Peng Xiao 2df4c120b7 fix: update icons 2022-11-22 17:52:42 +08:00
Konstantinos Kaloutas 79b94ddc59 fix: move-to-sidebar-right icon 2022-11-22 11:51:45 +02: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 12d5a8ce2d fix: portal header link bg 2022-11-22 11:28:21 +02:00
Konstantinos Kaloutas 958e70355d fix: add link 2022-11-21 19:57:41 +02:00
Konstantinos Kaloutas b1c11895c4 fix: links popover alignment 2022-11-21 19:28:29 +02:00
Konstantinos Kaloutas cc4109004e fix: icons and labels 2022-11-21 19:14:44 +02:00
Konstantinos Kaloutas e197262dbf chore: remove open page action 2022-11-21 18:07:42 +02:00