Commit Graph

10631 Commits

Author SHA1 Message Date
Tienson Qin
de660638e6 fix: no need to convert blocks to tree for whiteboards 2022-12-16 20:56:31 +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
Andelf
dda5abd698 fix(electron): windows path 2022-12-16 17:02:42 +08:00
sallto
e0dcb7e2a3 fix: overflow of instaled plugin settings dialog 2022-12-16 15:50:17 +08:00
Bad3r
f902ed9155 enhance(dev): add cljs:dev-release-electron
I like to have a dev version of logseq on my system alongside a regular build. I have been building it so far using the full command:
```sh
$ clojure -M:cljs release app --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}"
```
Since `cljs:dev-release-app` already exist; It would be nice to add `cljs:dev-release-electron` as well
```sh
$ yarn cljs:dev-release-electron
```I like to have a dev version of logseq on my system alongside a regular build. I have been building it so far using the full command:
```sh
$ clojure -M:cljs release app electron --debug --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}" && clojure -M:cljs release publishing

```
Since `cljs:dev-release-app` already exist; It would be nice to add `cljs:dev-release-electron` as well
```sh
$ yarn cljs:dev-release-electron
```
2022-12-16 15:22:12 +08:00
Tienson Qin
8ce551f827 fix: slow re-index
The reason is that reload-dir! returns a promise, but should block
waiting graph-added-chan to determine whether the parsing is finished
2022-12-16 15:05:58 +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
Tienson Qin
df2845b398 fix: copy block-ref instantly after input text lost block content
close #7541
2022-12-16 13:34:22 +08:00
Tienson Qin
3e71b1d6f3 fix: db/entity with interger id is not nil with non-exist block (#7723)
fix: returns nil for db/entity if the entity doesn't exist

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
2022-12-16 00:21:42 +08:00
Gabriel Horner
10d6bc28da Switch named block links to autolink to header blocks
Replaced block property approach as it doesn't provide as much
functionality initially
2022-12-15 11:14:56 -05:00
Gabriel Horner
78345ac473 Fix property completion for namespaced keywords
e.g. logseq.block/route-name
2022-12-15 11:14:56 -05:00
Gabriel Horner
6e0dea3f2c Add routing test and make ns name consistent 2022-12-15 11:14:56 -05:00
Gabriel Horner
b4f26a5c7b Add property which allows for giving a block a routable name
Also update router fn so that it works for all uses of routing to a
block
2022-12-15 11:14:56 -05: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
Junyi Du
5ee8707469 chore: merge function util/with-time and util/with-time-number 2022-12-15 20:37:17 +08:00
Gabriel Horner
39e1b8dc8a Add built-in property to list
Hide it on edit so query table doesn't look weird.
Also removed needless arity wrappings in block fns
2022-12-15 20:37:17 +08:00
Junyi Du
199be34244 test: query performance: enlarge test timeout more 2022-12-15 20:37:17 +08:00
Junyi Du
f45317e569 chore: query performance: enlarge test timeout and add dev doc 2022-12-15 20:37:17 +08:00
Junyi Du
a1c60fa58c test: monitor query sort performance in unit test 2022-12-15 20:37:17 +08:00
Junyi Du
dbf13c87d9 fix: query performance degration caused by date normalization 2022-12-15 20:37:17 +08:00
situ2001
6237399a0c fixes for PDF context menu (#7690)
* fix(pdf): do not hide ctx menu when its blank area is clicked
* fix: ensure ctx menu is shown when text is selected
2022-12-15 20:29:54 +08:00
Bad3r
07a73686cd fix(dev): do not use posthog when dev
@andelf same change in 662a8a919b
2022-12-15 19:13:53 +08:00
Andelf
662a8a919b fix(dev): do not use sentry when dev
See-also: #7703
2022-12-15 10:48:38 +08:00
Konstantinos Kaloutas
022f990f2e fix: ensure scroll position on whiteboards tour 2022-12-14 18:09:15 -05:00
Konstantinos Kaloutas
46c1126505 fix: skip label on whiteboards welcome modal 2022-12-14 18:09:15 -05:00
sallto
e96c3403bf fix: Datepicker behaves oddly if there are 2 datepickers visible at the same time (#7498)
fixes #7341

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-12-14 17:41:08 -05:00
Andelf
04b6bcf582 fix(dev): indeterminate warning 2022-12-14 23:58:35 +08:00
Tienson Qin
b6061f0c4d fix: block id could be empty sometimes 2022-12-14 18:20:38 +08:00
Tienson Qin
2e217f4975 fix: don't alert file already exists when case renaming in cli 2022-12-14 18:20:38 +08:00
Tienson Qin
ddd2cb3f0a fix: remove orphaned files/blocks from db when comparing db && disk 2022-12-14 18:20:38 +08:00
charlie
e2bcd3ac68 enhance(ux): precise interaction region for right fold-down button 2022-12-14 17:51:28 +08:00
Peng Xiao
6b1c703a06 fix: optimize logic 2022-12-14 17:31:20 +08:00
Peng Xiao
28bf20672a feat: always show hamburger button for mobile 2022-12-14 17:31:20 +08:00
Tienson Qin
cc3abd5daa fix: private fn 2022-12-14 12:35:43 +08:00
Tienson Qin
d743130d82 fix: use tags for filter and add user id to the scope
Development errors are collected too to help identity errors earlier
2022-12-14 12:35:43 +08:00
situ2001
89f4752adf chore: translation for notification-clear-all 2022-12-14 12:34:06 +08:00
situ2001
6999389a6d chore: translation for error msg of validate-existing-file 2022-12-14 12:34:06 +08:00
Tienson Qin
73689cc9ef fix: lint warnings 2022-12-14 12:05:46 +08:00
rcmerci
a0855eae13 fix(sync): delete multi files and sync-back from other devices 2022-12-14 12:05:46 +08:00