Commit Graph

18913 Commits

Author SHA1 Message Date
Tienson Qin
dc078b5ec4 fix: wrong check with has-tag? 2025-02-21 16:08:32 +08:00
rcmerci
6d4062cf8a chore: update goog-define vars 2025-02-21 15:49:46 +08:00
rcmerci
de21b0a908 fix lint 2025-02-21 15:29:58 +08:00
rcmerci
819b1775a7 fix: unable to delete first child block 2025-02-21 15:27:00 +08:00
charlie
531f586f19 enhance(ux): friendly downloads number label 2025-02-21 11:35:28 +08:00
charlie
1256d2ef94 enhance(ux): weighted sorting for the marketplace plugins 2025-02-21 11:30:35 +08:00
Gabriel Horner
0ccb59a2ad fix: merging exports for same journal
or page and their blocks. Also fix lint
2025-02-20 17:18:16 -05:00
Gabriel Horner
cdf6183852 enhance: export+import refs in property values 2025-02-20 15:58:18 -05:00
Gabriel Horner
04b832f5cb chore: mv file graph specific fns out ldb 2025-02-20 12:37:13 -05:00
Tienson Qin
8f6a7d85b5 fix: mod+e to embed block
Also being able to paste copied block ref when /node embed.
2025-02-21 00:42:26 +08:00
Tienson Qin
abb52d61a7 fix: block add button not shown when the last child is embeded block 2025-02-21 00:08:10 +08:00
Gabriel Horner
46e88dca24 Revert "fix: add workaround to hide buggy pages in file graphs"
This reverts commit d086ba85f7.

hashtag pages likely fixed by 2346df237c
2025-02-20 10:27:26 -05:00
Tienson Qin
226e268f88 fix: positioned properties height 2025-02-20 22:10:25 +08:00
Tienson Qin
2346df237c fix(regression): Query tables look smushed together
fixes LOG-3220
2025-02-20 22:05:10 +08:00
Tienson Qin
9de236165d fix(regression): {{function}} no longer works
fixes LOG-3252
2025-02-20 21:27:41 +08:00
Tienson Qin
b21960a858 fix(regression): query result table view not rendered on file graphs 2025-02-20 21:24:07 +08:00
Tienson Qin
32f56f016b fix: Page property autocomplete not filtering
fixes LOG-3203
2025-02-20 21:12:42 +08:00
Tienson Qin
3ceb147451 fix: Can't see selection in expanded block ref in sidebar
fixes LOG-3199
2025-02-20 20:51:29 +08:00
Tienson Qin
9c77b21fa7 enhance: show task status when referencing the task 2025-02-20 19:11:06 +08:00
rcmerci
e68f73b932 enhance: impl IPrintWithWriter for missionary.Cancelled 2025-02-20 18:25:44 +08:00
rcmerci
d567261e61 enhance: make build-db-initial-data idempotent (#11750)
* enhance: make build-db-initial-data idempotent (1)

handle logseq/{config.edn,custom.css,custom.js}

* test: add build-db-initial-data-test
2025-02-20 18:02:37 +08:00
Tienson Qin
82bcea2fcf fix: lint 2025-02-20 17:40:40 +08:00
charlie
fdda66a854 enhance(ux): weighted sorting for the marketplace plugins 2025-02-20 16:42:16 +08:00
charlie
51cbb08ddc enhance(ux): weighted sorting for the marketplace plugins 2025-02-20 12:11:13 +08:00
Gabriel Horner
9750a59256 Merge pull request #11749 from logseq/refactor/db-dep-defaults-to-db-graph
Refactor: Cleanup deps db to clarify graph contexts and prevent unnecessary organization bugs
2025-02-19 17:05:17 -05:00
Gabriel Horner
b2d5315a68 enhance(dev): add deps/db/src/logseq/{frontend,sqlite} to
separate linter. Will catch mistakes like
e92b107b5b next time. Also fixed
a few more ldb/* calls and expanded /db-based-graph? check
2025-02-19 16:44:17 -05:00
Gabriel Horner
e92b107b5b fix: entity-util/{journal?,whiteboard?,page?} calls
Split up fns of these checks into entity-util, file-entity-util and
common-entity-util so that we have explicit fns for checking in single
or multi-graph contexts. By doing this, were were able to fix more than
20+ fns that were calling general fns in a single graph context e.g.
checking for :block/type in DB graph only namespaces. Some of these
calls were happening on every :block/title lookup so there may be
some perf enhancements
2025-02-19 16:29:26 -05:00
Gabriel Horner
0964331b8a chore: move 2 more db namespaces to db.common
b/c they are used by both graph types
2025-02-19 16:29:26 -05:00
Gabriel Horner
73cff9db44 chore: mv file-specific vars in db dep
to their own file-based.* namespaces. logseq.db.frontend
can now be linted
2025-02-19 16:29:26 -05:00
Gabriel Horner
18db6b1937 chore: mv db namespaces common to both graphs to logseq.db.common 2025-02-19 16:29:26 -05:00
Tienson Qin
e7fd87b791 fix: restore scroll pos if only triggered by back/forward buttons 2025-02-20 04:07:03 +08:00
Gabriel Horner
753abd2732 fix: importer failing when property-pages/* config present
Fixes https://github.com/logseq/db-test/issues/220. Also removed
unused :extract-refs-from-property-value-fn
2025-02-19 10:03:53 -05:00
rcmerci
d1b9eadc5e enhance(rtc): replace console.log and prn with lambdaisland.glogi 2025-02-19 18:37:17 +08:00
Tienson Qin
59ad706a72 fix: remove unused property history blocks
Remove :logseq.property.attribute/xxx
2025-02-19 15:59:40 +08:00
rcmerci
af56de64cc enhance(import): remove rtc related entities when import sqlite
Otherwise, the imported graph will connect to the corresponding remote graph.
2025-02-19 15:40:01 +08:00
Gabriel Horner
033c7e5060 fix: export+import references to block
in same page
2025-02-17 15:03:06 -05:00
Gabriel Horner
f597f7c9c0 chore: mv handler.common.file to file-based
now that this ns is only used by file graph namespaces.
This is important as it then makes explicit that another 500+ lines
in the graph-parser are file-graph specific. Also added docs to most
graph-parser namespaces to make explicit which are file-graph specific
and not
2025-02-17 14:02:49 -05:00
Gabriel Horner
885c06f1fb chore: mv file-handler dependent namespaces
that are now obviously file graph specific

- mv save-tree! as it calls file-handler/alter-files via events
- mv roam import which called file-handler/alter-files
- mv git component which is only enabled for file graphs
- fixed handler.code which allowed db graphs to call file graph code for
  an edge case
2025-02-17 14:02:49 -05:00
Gabriel Horner
8710195440 chore: mv handler ns to file-based
since it's only used by file graphs. Also remove unnecessary
db-based-graph? calls in in ns and make aliasing consistent for this ns
2025-02-17 14:02:49 -05:00
Gabriel Horner
fac4a45e62 fix: allow any class to be a build/class-parent e.g. schema class 2025-02-17 09:50:53 -05:00
charlie
31e022f6e0 enhance(ux): persist custom shortcuts for web platform 2025-02-17 15:53:49 +08:00
Gabriel Horner
52acbd0ed2 fix: block objects failed import if they have properties 2025-02-14 14:29:53 -05:00
Gabriel Horner
6071681306 enhance: export+import block refs from a block
Add more docstrings to help with maintainability
2025-02-14 14:06:04 -05:00
Gabriel Horner
b9e4fad959 fix: import of different types of refs still failed
if they had deep enough properties or tags. Shallow copied
the refs to fix these failures. Also added undefined uuid
detection
2025-02-14 12:33:27 -05:00
charlie
14d623065d fix(ui): block content blink for the spent time label 2025-02-14 15:29:52 +08:00
rcmerci
ce3f618e62 fix: parse-schema-version support sequential arg 2025-02-14 13:48:18 +08:00
Tienson Qin
bbcc497341 fix: schema version check 2025-02-14 13:39:28 +08:00
Gabriel Horner
a4aacf022d chore: use medley/dissoc-in instead of copied version
Can rely on medley as it is nbb compatible
2025-02-13 17:50:20 -05:00
Gabriel Horner
4f25e27d9b fix: exporting class parent or property class
could sometimes lead to failure. Address by shallow copying
as page export should not be recursively exporting properties and
classes that are not visible on a page
2025-02-13 17:18:53 -05:00
Gabriel Horner
8b02790215 chore: add test helpers to reduce
redundant defaults for input export maps
2025-02-13 15:24:46 -05:00