Commit Graph

13911 Commits

Author SHA1 Message Date
Tienson Qin
3b718f70c8 enhance(ux): render blocks by their orders (#11948)
* enhance: render nested children when rendering its parent

except that for long pages (500+ blocks).

* refactor: rename :block.temp/fully-loaded? to :block.temp/load-status

* fix: tests

* enhance: define keyword :block.temp/load-status

* update to :self

* chore: remove buggy parent cycle detect

* enhance(ux): don't delay rendering block properties

---------

Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-06-17 19:41:13 +08:00
Gabriel Horner
f318d68530 enhance: import assets handles
unused assets by still copying them by name and handles
existing assets
2025-06-17 19:36:05 +08:00
Gabriel Horner
bb31c4e6f1 fix: importing assets in subdirectories
Also fix lint
2025-06-17 19:36:05 +08:00
Gabriel Horner
4524fc8370 enhance: import asset metadata
Also handle multiple assets per block and displaying that to user
2025-06-17 19:36:05 +08:00
Gabriel Horner
90c7fc5775 enhance: UI imports assets as #Asset
Also made importer and db asset creation use same helper fns
2025-06-17 19:36:05 +08:00
Gabriel Horner
38734bde40 enhance: CLI imports assets as #Asset
Had to split assets into two steps now that asset naming is dependent
on uuids. Also add explicit asserts in exporter to catch silent
failure in tests
2025-06-17 19:36:05 +08:00
Tienson Qin
47ccc9e901 fix: some properties may not have index 2025-06-17 09:47:14 +08:00
Gabriel Horner
b48dfce552 fix: migrated properties not migrating :logseq.property/type or
most of the property-only properties that a user could have set
2025-06-17 06:29:01 +08:00
Tienson Qin
db18543383 Add migration test 2025-06-17 06:29:01 +08:00
Tienson Qin
096c474654 fix: add migration to separate properties from classes 2025-06-17 06:29:01 +08:00
sarab
0feb634198 fix: match paste of x.com links for twitter 2025-06-15 08:37:43 +08:00
Tienson Qin
88216d2992 fix: able to convert an existing page to a property (#11940)
* enhance: use page as property

* fix: ensures block/uuid doesn't change after converting to property
2025-06-14 13:17:33 +08:00
Tienson Qin
3b26b3fbbd chore: remove old db migrations and fns to fix invalid data 2025-06-14 12:54:32 +08:00
Tienson Qin
25bd22522b enhance(ux): show configure tag instead of create tag when exists 2025-06-13 20:11:28 +08:00
Tienson Qin
1d3e8a1703 enhance(ux): cmdk tag configure 2025-06-13 20:07:16 +08:00
Tienson Qin
c3161b01d8 fix: style 2025-06-13 05:18:02 +08:00
Tienson Qin
cada172521 enhance(ux): more intuitive ux for tag properties
1. Tag properties are now displayed vertically with their description for
improved readability.

2. Adding a property from a tag page now creates a tag property (not a page property). Previously, this caused confusion as users expected properties to be inherited by tagged nodes.

3. Fixed a flickering issue when reordering properties.

Users can still add page properties by using cmd+p.
2025-06-13 05:09:07 +08:00
Tienson Qin
98bd9a686a fix: remove unnecessary icon 2025-06-13 03:35:15 +08:00
Tienson Qin
6fec5f1c17 fix: don't popup property config when cmd+click the property title 2025-06-13 00:16:48 +08:00
Tienson Qin
1fe835e562 fix: disallow classes as properties 2025-06-12 23:43:47 +08:00
Tienson Qin
e92ea7a771 enhance(ux): convert existing page to a tag when tagging a block 2025-06-12 23:28:56 +08:00
Tienson Qin
692b518a4d fix: block content (Icon + Text) misaligned
related to https://github.com/logseq/db-test/issues/314
2025-06-12 06:21:21 +08:00
Tienson Qin
51a93051bf fix: limit image width 2025-06-12 05:32:09 +08:00
Tienson Qin
47cc2c998e fix: moving the focus up and down doesn't work properly
related to https://github.com/logseq/db-test/issues/302
2025-06-12 04:08:17 +08:00
Tienson Qin
3605a82483 Add repeat task get-next-time tests 2025-06-12 02:50:00 +08:00
Tienson Qin
be66270a49 fix: filters not work for linked references (#11937)
* fix: linked references

* Using datascript query for linked references

* don't render blocks children that have excluded refs

* fix: set persistent width for reference filter

* fix: duplicated refs

* fix: separate queries for children refs and non-children refs

* refactor: move reference fns to logseq.db.common.reference

* fix: set matched children ids even if it's empty

* add tests

* add unlinked reference test

* add transit files to typos ignore

* don't memoize on node

* add comment
2025-06-12 01:56:13 +08:00
Tienson Qin
956330f9f7 fix: ensure future time when reschedule a task 2025-06-12 00:04:47 +08:00
Tienson Qin
f9cf6adcff fix: card modal blink when switching to the next card 2025-06-11 19:20:55 +08:00
Tienson Qin
0a0612fe66 fix: card doesn't change after reviewed 2025-06-11 19:03:31 +08:00
Tienson Qin
6b39fdaafe feat: reset both scheduled and deadline for repeat tasks when done 2025-06-10 01:07:16 +08:00
Tienson Qin
83a281c781 fix: wrong interval for repeat tasks 2025-06-10 01:00:27 +08:00
Tienson Qin
f7fe814414 fix: disable annoying node preview when editing 2025-06-10 00:18:03 +08:00
Tienson Qin
dcc2e9d374 fix: click a link in node reference opens the node
The expected behavior is to open the link and not redirect to the
referenced node.
2025-06-10 00:13:11 +08:00
Tienson Qin
1ea936ecad fix: don't highlight datetime property value when hovering the value 2025-06-10 00:04:36 +08:00
Tienson Qin
e7480b6f2d fix: set next repeat time based on the time user has picked
instead of now.

Also, forward the time even if the current time is a `future` one.
2025-06-09 23:41:46 +08:00
Tienson Qin
2acf40a568 fix: set recur frequency default to 1 if it's empty 2025-06-09 23:19:56 +08:00
Tienson Qin
84da22b2b1 enhance(ux): show border for repeat task settings 2025-06-09 22:46:31 +08:00
Tienson Qin
b1ee3f5a5a fix: applying a template to the Journal tag removes it
This commit also add #Template when assigning template applied to.

Related to https://github.com/logseq/db-test/issues/312.
2025-06-09 21:10:51 +08:00
Tienson Qin
1a717ba253 fix: lint 2025-06-09 00:56:50 +08:00
Tienson Qin
8994647dcd fix: Flashcard review showing blank after one or two cards
fixes https://github.com/logseq/db-test/issues/301
2025-06-09 00:43:31 +08:00
Tienson Qin
6551c9ba9f fix: query tables not rendering contents on app start up
Related to https://github.com/logseq/db-test/issues/310
2025-06-08 23:12:36 +08:00
Tienson Qin
fac981bea0 fix: links not resolving
fixes https://github.com/logseq/db-test/issues/311
2025-06-08 22:19:50 +08:00
Tienson Qin
dc8f2f4984 fix: redirect to alias 2025-06-08 16:52:06 +08:00
Tienson Qin
f3cd818bee fix: auto-complete fails when referencing a page 2025-06-08 14:52:49 +08:00
Tienson Qin
61cc4382c4 fix: alias auto-complete 2025-06-08 14:42:19 +08:00
Tienson Qin
9cf01cecdf fix: pages not resolved until visited
related to https://github.com/logseq/db-test/issues/291
2025-06-08 11:22:24 +08:00
Tienson Qin
707861c3e8 fix: tags displayed twice on the "Tags" property page 2025-06-08 10:38:16 +08:00
Tienson Qin
691f5534ab fix: bulk set property with type checkbox
requires box to be checked

fixed https://github.com/logseq/db-test/issues/306
2025-06-08 09:22:29 +08:00
Tienson Qin
a6bd175479 fix: edit query button move around left and right side
fixes https://github.com/logseq/db-test/issues/308
2025-06-08 08:37:03 +08:00
Tienson Qin
e22c42c05b fix: lint 2025-06-06 07:16:02 +08:00