Commit Graph

19072 Commits

Author SHA1 Message Date
Tienson Qin
9c77b21fa7 enhance: show task status when referencing the task 2025-02-20 19:11:06 +08:00
Tienson Qin
37e2c956ac fix: show more actions if either a table view or having columns 2025-02-20 18:44:49 +08:00
rcmerci
e68f73b932 enhance: impl IPrintWithWriter for missionary.Cancelled 2025-02-20 18:25:44 +08:00
Tienson Qin
69f2f49cea fix: lint 2025-02-20 18:07:39 +08:00
Tienson Qin
bd779e3007 Merge branch 'feat/db' into enhance/reference-view 2025-02-20 18:04:58 +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
7e27e5aecc fix: lint 2025-02-20 17:46:13 +08:00
Tienson Qin
6944ec776c Merge branch 'feat/db' into enhance/reference-view 2025-02-20 17:40:57 +08:00
Tienson Qin
82bcea2fcf fix: lint 2025-02-20 17:40:40 +08:00
Tienson Qin
20d483fa30 Merge branch 'feat/db' into enhance/reference-view 2025-02-20 17:39:46 +08:00
Tienson Qin
a3664cc1b6 enhance: render table footer after table body has been rendered 2025-02-20 17:22:38 +08:00
Tienson Qin
d050394979 perf: render objects tabs first 2025-02-20 16:59:05 +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
4829f8542d fix: lint 2025-02-20 05:23:52 +08:00
Tienson Qin
ef43f997ea fix: lint 2025-02-20 05:20:25 +08:00
Tienson Qin
79d0008637 Merge branch 'feat/db' into enhance/reference-view 2025-02-20 05:17:37 +08:00
Tienson Qin
e7fd87b791 fix: restore scroll pos if only triggered by back/forward buttons 2025-02-20 04:07:03 +08:00
Tienson Qin
1b72337b11 enhance: fade in table footer to avoid ui jitter 2025-02-20 03:36:44 +08:00
Tienson Qin
a7f81ffe47 fix: add persistent :migrate-new-block-uuid 2025-02-20 02:14:34 +08:00
Tienson Qin
54c6c96f7c fix: show references view when page references are excluded 2025-02-20 01:39:13 +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
Tienson Qin
e5c339e443 fix: support both page filter and view filter 2025-02-19 22:19:34 +08:00
Tienson Qin
030fbff1c3 fix: multiple views created 2025-02-19 21:59:39 +08:00
Tienson Qin
a838edd0e4 fix: multiple views created if there's no view yet 2025-02-19 21:05:09 +08:00
Tienson Qin
24f0eff607 fix: class/property view migrate 2025-02-19 19:33:26 +08:00
Tienson Qin
6cf56b6ea8 Merge branch 'feat/db' into enhance/reference-view 2025-02-19 19:04:47 +08: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
Tienson Qin
a7c2035682 fix: lint warnings 2025-02-17 22:48:52 +08:00
Tienson Qin
73bcc08fd0 style tweaks 2025-02-17 22:39:43 +08:00
Tienson Qin
113945940e fix: keep old reference view for file graphs 2025-02-17 22:16:34 +08:00
Tienson Qin
4e70901f0d enhance: display columns visibility only for the table view 2025-02-17 18:28:40 +08:00
Tienson Qin
6a5555bfaf fix: all pages view 2025-02-17 18:14:09 +08:00
Tienson Qin
fbb9c2498b refactor: all views support tabs 2025-02-17 16:06:35 +08:00
charlie
31e022f6e0 enhance(ux): persist custom shortcuts for web platform 2025-02-17 15:53:49 +08:00
Tienson Qin
c5b23f8609 enhance: create linked reference view when there're references
The view is created only if it's going to be displayed to avoid
generating meaningless views for all the blocks.
2025-02-17 14:02:54 +08:00
Gabriel Horner
52acbd0ed2 fix: block objects failed import if they have properties 2025-02-14 14:29:53 -05:00