Commit Graph

1026 Commits

Author SHA1 Message Date
rcmerci
fb6484c70e fix: don't rebuild transit-handlers everytime 2024-03-11 12:40:56 +08:00
Tienson Qin
a6174525dc fix: cljs bean data failed to be seralized to transit 2024-03-11 11:59:36 +08:00
Tienson Qin
a159d5acc4 fix: Entity transit write should include kv 2024-03-10 13:28:48 +08:00
Gabriel Horner
79fccaa659 fix: two bugs caused by not getting correct
closed value names for page/date closed values - one in
query builder property value dropdown and the other in show block data command.
Also cleaned up query-dsl which shouldn't be making db graph queries
on file graphs
2024-03-08 15:40:27 -05:00
Gabriel Horner
62e6084b45 fix: page/date closed values for *property queries
Also updated example graph to show closed value queries working
2024-03-08 10:17:22 -05:00
Gabriel Horner
7005025802 fix: closed values with icon losing existing property 2024-03-07 16:32:41 -05:00
Gabriel Horner
631f481de5 enhance: mark built-in closed values
and disallow their deletion. Also fix a bug where
used/undeleted closed values could still be deleted
because ui state was incorrectly updated. Part of LOG-3048
2024-03-07 16:21:21 -05:00
Tienson Qin
22a9b61b32 fix: remove :block/metadata
Use built-in properties
2024-03-08 01:01:55 +08:00
Gabriel Horner
2a17e04aa2 fix: cljs graph parser tests due to missing dep 2024-03-07 10:11:34 -05:00
Tienson Qin
17c1c47e78 fix: transit doesn't support entity 2024-03-07 13:21:14 +08:00
Gabriel Horner
c0ae06d8fb fix: schema out of date with latest changes
to closed values, properties, classes and built in pages
2024-03-06 17:16:43 -05:00
Gabriel Horner
c6e358c983 fix: outliner test failing b/c not nbb compatible
bumped to latest nbb-logseq which is
2024-03-06 11:06:18 -05:00
Tienson Qin
759555f5c7 enhance: add db/ident for task status and priority closed values 2024-03-06 22:36:05 +08:00
Tienson Qin
61bb5ed862 fix: disallow built-in class properties to be deleted
fixes LOG-3050
2024-03-06 22:07:09 +08:00
Tienson Qin
fbce74522b fix: add both scheduled and deadline to the task class 2024-03-06 21:31:19 +08:00
Tienson Qin
4c03e58b6c fix: disallow built-in page or property names from being edited
fixes LOG-3049
2024-03-06 21:29:22 +08:00
Tienson Qin
7acaf58bad enhance: add :db/ident for built-in properties
Now we can refer to a built-in property using it's ident instead of
its name, `name` might be changed by users.
2024-03-06 21:29:22 +08:00
Gabriel Horner
1706a5c725 fix: hidden pages like favorites showing up in page property
dropdown. Dry up favorites page name scattered across namespaces.
Should be using vars + namespaces in common dep for commonly
referenced features
2024-03-05 10:27:42 -05:00
Gabriel Horner
c1ab37a372 fix: nbb not working in most deps
core.async isn't nbb compatible yet. Moved async transact to its own
frontend ns
2024-03-04 18:06:29 -05:00
Tienson Qin
6e67e36a34 perf: use mutable data for sort-by-left 2024-03-04 21:46:40 +08:00
Tienson Qin
2e29918478 perf: use transit instead of edn for db storage 2024-03-04 18:15:03 +08:00
Tienson Qin
e79b928c6b fix: sequential writes 2024-03-03 07:41:59 +08:00
Tienson Qin
33a532455b fix: use core.async channel to ensure sequential db transactions 2024-03-03 06:39:05 +08:00
Gabriel Horner
82639cb07a fix: replace tags with page-refs ignores case
fixes LOG-3073
2024-03-01 16:12:32 -05:00
Gabriel Horner
b34325be77 fix: two bugs with updating tags during import
fixes LOG-3073
2024-03-01 15:51:19 -05:00
Tienson Qin
82d5fc6c00 fix: block marker lost in file graph
fixes LOG-2964
2024-02-29 18:35:45 +08:00
Tienson Qin
73d6a9e729 fix: graph with a configured home page displays journals view
fixes LOG-3058
2024-02-29 15:04:51 +08:00
Tienson Qin
dbc43fed9f fix: load favorites initially 2024-02-29 14:39:42 +08:00
charlie
b43c576158 enhance(ui): colorful task icons 2024-02-28 11:49:50 +08:00
Gabriel Horner
5d915de2e2 enhance: add more useful counts to validation script
helpful for checking a new/imported db graph hasn't regressed
2024-02-26 11:52:46 -05:00
Gabriel Horner
d8f41f22c2 fix: class page schemas have a new optional attribute 2024-02-26 11:11:01 -05:00
Tienson Qin
b1dd6ca703 enhance: hide hidden properties by default
Show hidden properties only when zoom-in or opened in the sidebar.
2024-02-26 15:48:04 +08:00
Tienson Qin
b1aae957e0 fix: esc doesn't save tags 2024-02-24 16:21:03 +08:00
Gabriel Horner
a61ee21e25 enhance: add basic script to test db graph import
also tweaked query script to work with db graphs by relative path
2024-02-24 00:42:46 -05:00
Tienson Qin
86b70c1f6d fix: compute block/refs and block/path-refs after pulling remote 2024-02-23 21:35:11 +08:00
Gabriel Horner
bfc5bf9ccc enhance: allow user macros for :url property values
and single line :default values
2024-02-22 14:49:03 -05:00
Gabriel Horner
f28cf73ef4 enhance: validate db once for an import
and notify if there are invalid blocks. Removed validating per tx during
import which speeds up import 5-10% on small graphs and more on larger
graphs. Also print some useful stats in the console
2024-02-19 15:34:58 -05:00
Gabriel Horner
3bf7ee5645 enhance: import support for :page and infer :date properties 2024-02-16 11:36:06 -05:00
Gabriel Horner
0bba0a2ca9 enhance: import built-in logseq.* props - part of LOG-2977 2024-02-15 15:01:01 -05:00
Gabriel Horner
b5a52edae8 fix: db lint 2024-02-14 17:20:27 -05:00
Gabriel Horner
3b745ac035 enhance: first pass at importing block properties
part of LOG-2985. Still somethings failing for docs graph
2024-02-14 17:16:36 -05:00
Gabriel Horner
48b974d64e enhance: all page refs in imported content are special ids
close LOG-3055. Also fix graph-parser errors being ignored
2024-02-12 22:02:54 -05:00
Gabriel Horner
26bc6f0d1d chore: mv logseq.graph-parser.util.db to db dep
This ns is more appropriate in db and was only in graph-parser because
the date-time-util lib wasn't accessible to db until #10933 landed.
graph-parser dep is specific to file graphs and as much as possible
anything unrelated to this should not be in this dep
2024-02-09 16:16:33 -05:00
Tienson Qin
62b90b7ae7 Merge branch 'feat/db' into perf/lazy-load-data 2024-02-09 09:28:36 +08:00
Gabriel Horner
dab6b5aff4 enhance: add support for importing page and block tags
Allows users to specify which tags are tag classes and
the rest are just normal pages. Fixes LOG-2984
2024-02-08 16:49:27 -05:00
Gabriel Horner
58b2888729 fix: test and lints
also remove unused binding not caught by linter b/c it's used
2024-02-07 12:23:14 -05:00
Tienson Qin
bee1cbfeb5 fix: load page tags 2024-02-07 07:22:40 +08:00
Tienson Qin
bd9ebaf3fd perf: skip loading classes for the initial data
re-init commands after pages has been loaded
2024-02-07 04:54:54 +08:00
Tienson Qin
6c6cc8ec34 Load classes for initial data since task commands require them 2024-02-07 04:47:57 +08:00
Gabriel Horner
b1bcc1b2dd fix: unit test, lint + script 2024-02-07 04:09:01 +08:00