Commit Graph

18312 Commits

Author SHA1 Message Date
Gabriel Horner
cfa923ab1a fix: better fix for broken block refs in db graphs
Improve on 18eb5aaae5. The underlying
issue wasn't the special-id-ref-pattern but rather that when a block ref
is selected, the ref wasn't inserted correctly. Thx to query-dsl tests
for failing and making me aware of this
2024-11-15 16:45:00 -05:00
Gabriel Horner
bb133c4eba fix: test cleanup for 2c23731b5d
Remove assertion that is no longer valid and remove
property filtering for a test that is no longer needed
2024-11-15 16:04:10 -05:00
Gabriel Horner
18eb5aaae5 fix: block refs not working in db graphs
also add test helper being copied across namespaces
2024-11-15 14:46:32 -05:00
Gabriel Horner
2c23731b5d fix: property refs not deleted when block property deleted
Fixes https://github.com/logseq/db-test-cn/issues/36. Also fixes private
db-property-attributes leaking into refs caused by #11565
2024-11-15 14:46:32 -05:00
charlie
4765b4ab7e fix(plugin): invalid call api server 2024-11-15 18:29:27 +08:00
charlie
2914fb4ad0 fix: incorrect conditions 2024-11-15 15:43:11 +08:00
charlie
2fe8039644 enhance(ui): polish class page sections 2024-11-15 14:53:00 +08:00
charlie
9bbb035ce0 fix(ux): incorrect preview behavior for the nested ref links 2024-11-15 13:47:55 +08:00
charlie
79c3031ce4 fix(ux): incorrect behavior within the block ref preview container 2024-11-15 11:26:16 +08:00
Gabriel Horner
d4caacce3d fix: tags and refs on same page should have same uuid
Fixes identity issue in 1st section of
https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
2024-11-14 17:21:06 -05:00
Gabriel Horner
181766df11 fix(dev): nonunique idents failing docs graph with
:convert-all-tags? enabled
2024-11-14 17:13:26 -05:00
Gabriel Horner
6116b51a46 chore: replace test helper with better supported promesa fn 2024-11-14 12:10:45 -05:00
Gabriel Horner
1e128db972 refactor: also mv favorites page into initial create
and mark as built-in since it is
2024-11-14 12:00:14 -05:00
Gabriel Horner
cc126c009c refactor: Mv creation of initial views blocks for db graph
to initial transact!. Db graph should have everything it needs with
initial transact. With views page in new db graphs, test was able to
catch a bug, views page wasn't marked as a built-in? when it is
2024-11-14 11:44:37 -05:00
charlie
4798e2df41 fix(ui): page crash for table filter with keyword item 2024-11-14 17:07:20 +08:00
charlie
000c988e7a fix(ui): default size for the highlight area image 2024-11-14 13:46:04 +08:00
Gabriel Horner
d086ba85f7 fix: add workaround to hide buggy pages in file graphs
that don't have :block/type e.g. page named 'page with #tag'
2024-11-13 18:03:05 -05:00
Gabriel Horner
b250e262d2 enhance: journal pages and blocks are created on their journal day
Fixes https://github.com/logseq/db-test/issues/77
2024-11-13 14:22:25 -05:00
charlie
8dbfe92fca enhance(ui): polish highlight area image actions bar 2024-11-13 17:34:52 +08:00
charlie
dc6fa6cf1f enhance(ui): resized highlight area image from the ref asset metadata 2024-11-13 17:13:03 +08:00
charlie
e053405bba enhance(ux): add asset ref link for the highlight area image 2024-11-13 12:25:58 +08:00
Gabriel Horner
af55aa951a enhance: allow child pages to have the same name
when they have different parents. Addressing 2nd section in
https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
2024-11-12 16:29:45 -05:00
Gabriel Horner
f1624fb20c fix: import namespaced tag correctly
Fixes db graphs being invalid and some of
https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
2024-11-12 14:10:06 -05:00
Gabriel Horner
3154b849dd enhance(dev): add latest import options to script 2024-11-12 10:56:05 -05:00
Tienson Qin
f682ca4ae3 fix: fn args 2024-11-12 17:32:37 +08:00
Tienson Qin
185ebc596a enhance: store pdf area images in #Asset even if the editing block
is empty.
2024-11-12 17:29:30 +08:00
Tienson Qin
04e0447f8f fix: clear editing state after pasting file to an empty block 2024-11-12 17:24:07 +08:00
charlie
8f726fdbd4 fix(pdf): insert the initial area image failed for the db graph 2024-11-12 16:48:19 +08:00
Tienson Qin
ccbcc76e17 fix: don't persist file/path|last-modified-at for db graphs 2024-11-12 15:16:14 +08:00
Tienson Qin
a0bfc25522 fix: don't change to virtualized list when editing 2024-11-12 14:38:56 +08:00
Tienson Qin
79c7568439 enhance: disable virtualized list if length is less than 50 2024-11-12 14:32:55 +08:00
Tienson Qin
2fd5050487 fix: page name blinks 2024-11-12 13:31:47 +08:00
charlie
9d69e0ad4a fix(ux): preview popup https://github.com/logseq/db-test/issues/162 2024-11-12 11:16:10 +08:00
Gabriel Horner
79f2691eca fix: new file graphs keep failing on migration 44
File graphs fail on it b/c of d/datoms lookup on db graph properties
2024-11-11 17:17:09 -05:00
Gabriel Horner
1a7a2b25ed chore: add a couple assertions for between queries
from #11565. Also stop logging errors for valid between queries and
deleted unused test code
2024-11-11 16:32:35 -05:00
Gabriel Horner
d0df8e64f3 fix: closed :url property values crash when clicked 2024-11-11 13:52:03 -05:00
Gabriel Horner
ed54bc24fd fix: exporter test edge case with idents 2024-11-11 13:34:57 -05:00
Gabriel Horner
3a22c28493 fix(dev): schema.org debug edn was invalid and noisy 2024-11-11 12:36:24 -05:00
Gabriel Horner
28b7cf95b4 fix: remove unused class :block/schema validation
classes haven't had :block/schema for awhile
2024-11-11 11:59:20 -05:00
Gabriel Horner
af04834d1b fix(regression): validation should validate tags and alias as properties
It's helpful to validate more about these heavily properties beyond them
just being integers. Follow up to #11565
2024-11-11 11:05:00 -05:00
Tienson Qin
83ea2111ae fix: Inline tag for an existing page creates a duplicate tag
fixes https://linear.app/logseq/issue/LOG-3240/inline-tag-for-an-existing-page-creates-a-duplicate-tag
2024-11-11 16:38:56 +08:00
Tienson Qin
80c811e930 enhance: select component support header 2024-11-11 09:53:09 +08:00
Tienson Qin
456825e981 fix: data not fully loaded when selecting property node value 2024-11-11 09:47:08 +08:00
Tienson Qin
148b711d52 fix: no search result when input string length less than 2
fixes https://github.com/logseq/db-test-cn/issues/5
2024-11-11 08:29:50 +08:00
Gabriel Horner
13830cc4d2 fix: property filter queries didn't display page nodes
for db graphs. Also tweaked example graph so blocks and pages
have same property values in order to QA property rules like this
2024-11-08 16:34:52 -05:00
Gabriel Horner
e9cf54a3b8 chore: update properties graph to test has-property
instead of deleted page-property rules
2024-11-08 14:56:21 -05:00
Gabriel Horner
0d3cf6c535 fix: db graph queries shouldn't run file graph filters
Throwing errors on unsupported filters for these makes it seem like we
support it when we don't. Better to be explicit. Also tweak
related tests so that file graph filters only run for file graphs
2024-11-08 14:32:07 -05:00
Gabriel Horner
eeb9d53ef0 fix(regression): publishing using removed rules 2024-11-08 10:48:13 -05:00
Gabriel Horner
5f83182566 Merge pull request #11565 from logseq/refactor/dsl-query
Refactor: dsl query
2024-11-08 08:43:53 -05:00
Tienson Qin
ef335f597f fix: can't switch between page and block query on file graphs 2024-11-08 19:56:03 +08:00