Commit Graph

18312 Commits

Author SHA1 Message Date
Tienson Qin
97d4a4caf6 enhance: display empty positioned checkbox properties 2024-09-05 05:21:54 +08:00
Tienson Qin
f454e23120 feat: allow tags to be hidden from node
By introducing a new property `:logseq.property.class/hide-from-node`.
2024-09-05 04:39:09 +08:00
Tienson Qin
d0e04000f5 fix: alias to tag a node 2024-09-05 04:39:09 +08:00
Gabriel Horner
20b607f845 fix: allow new parents to be added
while still handling case for e64bb2e8c4
2024-09-04 16:22:50 -04:00
Gabriel Horner
e4f585f4bf fix: wrong right click menu for page :default property
Fixes logseq/db-test#51. Only fixes :default property as other property
types don't have block context set
2024-09-04 13:46:51 -04:00
charlie
616adaec8a fix(ui): icon picker for the dropdown property editor 2024-09-04 22:33:02 +08:00
Gabriel Horner
16709570aa fix: disallow class properties changing to buggy block positions
Follow up to ux changes in #11494. Also disallow hiding required class
properties as that creates needless ux issues
2024-09-04 09:33:24 -04:00
rcmerci
3a10999af8 test(rtc): add case :add-task-properties-to-block1 2024-09-04 21:26:18 +08:00
Gabriel Horner
7c5e94b091 fix: deps lints 2024-09-04 08:57:21 -04:00
Tienson Qin
f939b0eff1 fix: page uniqueness check 2024-09-04 20:25:20 +08:00
rcmerci
e8ce99e4e6 chore: remove useless prn 2024-09-04 18:59:32 +08:00
rcmerci
480b9a0dae test(rtc): insert more blocks to ensure request-message's size is huge
ensure using s3 to upload request-message
2024-09-04 18:49:33 +08:00
rcmerci
7e3b5b68e3 fix(rtc): keys are string after malli-encode 2024-09-04 18:01:14 +08:00
Tienson Qin
29b73c53aa fix: dialog need to be closed when operating selected block 2024-09-04 16:59:48 +08:00
Tienson Qin
3a841ec6e3 enhance: add shortcut "p i" to set icon 2024-09-04 16:53:37 +08:00
charlie
565deb69a0 fix(ux): enter interaction for the icon picker from block property 2024-09-04 16:48:59 +08:00
Tienson Qin
da30c6886b fix: missing content for tags 2024-09-04 16:44:14 +08:00
Tienson Qin
e64bb2e8c4 fix: don't show new option if it's a child of the current page
When setting parent page.
2024-09-04 16:15:23 +08:00
charlie
36b072bda2 enhance(ux): add delete button for the icon picker from block icon property insertion 2024-09-04 15:57:49 +08:00
Tienson Qin
8a27593e38 fix: wrong filter 2024-09-04 14:36:01 +08:00
Tienson Qin
beca765134 fix: don't crash the app if there're parent cycles 2024-09-04 14:30:38 +08:00
charlie
9dcae0e0f5 enhance(ui): add page block bullet flag for the reference links 2024-09-04 14:17:06 +08:00
Tienson Qin
f3c59a9db3 fix: graph-parser tests 2024-09-04 12:55:37 +08:00
Tienson Qin
5aece39cee fix: outliner test and lint 2024-09-04 12:07:10 +08:00
Tienson Qin
1c557d9598 fix: set add property shortcut to mod+alt+p on windows and linux
fixes https://github.com/logseq/db-test/issues/37
2024-09-04 11:45:48 +08:00
charlie
9cabcdfebe enhance(ui): alignments for the references items 2024-09-04 11:32:12 +08:00
charlie
09bcef808e fix(ui): duplicated page icon for block page refs 2024-09-04 11:18:03 +08:00
Tienson Qin
c23c15ca7e fix: node references do not appear on blocks that contain a tag
fixes https://github.com/logseq/db-test/issues/43
2024-09-04 11:10:14 +08:00
Tienson Qin
5426360ef7 perf: async sqlite writes
Ensures writes are executed in order.
2024-09-04 09:59:13 +08:00
Tienson Qin
25a896664a Revert "fix: remove unused var and state"
This reverts commit df0ef55e4c.
2024-09-04 09:53:59 +08:00
Tienson Qin
6fa744719d chore: remove debug 2024-09-04 09:37:45 +08:00
Tienson Qin
16999a48bf fix: popup 2024-09-04 09:33:46 +08:00
Tienson Qin
36b54676e6 enhance(ux): add set icon and add property when hovering page title 2024-09-04 08:47:29 +08:00
Tienson Qin
9b13609b44 fix: maximum call stack size exceeded 2024-09-04 07:58:34 +08:00
Tienson Qin
0fb1b51059 Revert "Revert "enhance(ux): display tag property descriptions""
This reverts commit 555f5f7c6b.
2024-09-04 07:50:50 +08:00
Gabriel Horner
c36984c433 refactor: don't couple internal ref types to places it's not used
Follow up to #11494. Internal ref types are not used in most of the UI
and in any of the outliner layer.  Have separate vars for internal and
user ref types so we can see how they're used
2024-09-03 16:23:04 -04:00
Gabriel Horner
2654ca9b6f fix: class/properties bugs if selected within Tag properties
Class properties were moved to a property in #11494. If selected within
itself, the objects from this class have buggy behavior e.g. property
values don't get added correctly to it in an object. class/properties
shouldn't ever be in a property dropdown since the behavior is very
customized to our built-in classes
2024-09-03 14:31:34 -04:00
Gabriel Horner
83c8b968e4 refactor: block type predicate fns belong in util ns
block type checks are used in more places than property types
and belong in a lower level util ns
2024-09-03 13:16:26 -04:00
Gabriel Horner
b8127dda14 fix: remove unused code from #11494
Remove class-attrs b/c parent and class properties are now validated
through :block/properties
2024-09-03 11:55:18 -04:00
Gabriel Horner
4bd1babf92 fix: css typo
from 64ae0cd3ca
2024-09-03 10:12:49 -04:00
Gabriel Horner
555f5f7c6b Revert "enhance(ux): display tag property descriptions"
This reverts commit 7c2b57b38e.

Fixes logseq/db-test#49
2024-09-03 10:07:38 -04:00
Gabriel Horner
efbdbb79d1 fix: malli schema for collapsed pages
Pages with properties can be collapsed since page/block title
editor was unified
2024-09-03 09:15:39 -04:00
Gabriel Horner
9a65167129 fix: if a closed :default with a block :position
deletes their last closed value, they shouldn't be stuck with an invalid
position. Follow up to 57f9677399
2024-09-03 08:39:17 -04:00
Gabriel Horner
75706d33c7 fix: frontend lint 2024-09-03 08:19:12 -04:00
Tienson Qin
64ae0cd3ca fix: add property align style 2024-09-03 18:16:24 +08:00
charlie
c42e3d683e fix(ux): page blink once the dummy block into editing mode 2024-09-03 18:00:06 +08:00
charlie
a17c4f93bb fix(ui): datepicker for slash command 2024-09-03 17:47:11 +08:00
charlie
f2fb3658d1 enhance(ui): polish details for the shui datepicker 2024-09-03 17:36:06 +08:00
charlie
7e50deba24 enhance(ui): add custom month picker for the shui date picker 2024-09-03 17:29:36 +08:00
Tienson Qin
57f9677399 fix: disable positions for non closed values text property 2024-09-03 16:44:32 +08:00