Gabriel Horner
0e1ada2ef6
enhance: bb task for creating graphs from EDN file
...
Converted inferred graph to an EDN file now that this task exists. Also
merge last of tasks.create-graph to relevant ns so that external users
can also create such tasks
2024-06-11 10:09:37 -04:00
Tienson Qin
2d3f152454
fix: simplify page delete and fix rtc issues
2024-06-11 20:23:57 +08:00
Tienson Qin
032cad0318
fix: add missing fs-extra package
2024-06-11 20:00:32 +08:00
Tienson Qin
1ec30bbf1a
chore: remove unused fn
2024-06-11 19:58:54 +08:00
Tienson Qin
4b3920b049
fix: delete page when entity exists
2024-06-11 16:37:53 +08:00
rcmerci
9bad800eff
fix(rtc): ensure mws-create won't return nil
2024-06-11 15:37:53 +08:00
rcmerci
8cbdd2a881
enhance(rtc): update schema for :block/order
2024-06-11 13:15:02 +08:00
Tienson Qin
c2c5ab80aa
refactor: use files instead of sqlite for electron db storage
2024-06-11 08:30:49 +08:00
Tienson Qin
20e4ff133c
fix: can't delete pages that have refs
...
Also, redirect to home after deleting the page
2024-06-11 08:30:49 +08:00
Gabriel Horner
dbf263ed7c
fix: unbound vars caught by lint
...
also updated property type for previous commit
2024-06-10 17:12:03 -04:00
Gabriel Horner
08c29d8a39
fix: sorting for query table for db graphs
...
by using property db-idents. Fixes LOG-3075
2024-06-10 16:52:38 -04:00
Gabriel Horner
0ce4e1b65e
fix: query table not displaying user property columns
...
Also fixed rendering property values for all property types
2024-06-10 16:05:33 -04:00
Gabriel Horner
e7d7e55b28
fix: query-table toggle not working for file graphs
2024-06-10 14:58:20 -04:00
Gabriel Horner
2d1073fa5b
fix: remove outdated clauses for property values
...
This became outedated with to property values as refs
2024-06-10 13:26:21 -04:00
Gabriel Horner
16cfb76c9b
fix: update :query/result-transforms to work with db graphs
...
since they are the future. Leave example disabled by default as it's
not important to have :sort-by-priority enabled by default and working
for both file and db graphs
2024-06-10 12:38:40 -04:00
rcmerci
575558e169
fix(rtc): wrong order
2024-06-11 00:09:48 +08:00
Gabriel Horner
04b25a9240
chore: add basic tests for sqlite.build
...
and added a couple db-graph specific for query-dsl. Also
moved fns in pu that should be in db-pu
2024-06-10 11:52:39 -04:00
rcmerci
d574cc3b0e
enhance(rtc): replace :left by :block/order in query-response
2024-06-10 23:52:00 +08:00
charlie
5e92d6610c
enhance(api): support normalize json data for the Entity values
2024-06-09 17:59:33 +08:00
charlie
c12880ab3d
enhance(ui): alignments for the headings with positioned icons within editing mode
2024-06-09 12:53:47 +08:00
Tienson Qin
03a0e99b65
enhance: add block-order malli schema
2024-06-09 11:39:00 +08:00
Tienson Qin
0a77ba077f
fix: reuse :block/order if exists when inserting blocks from remote
2024-06-09 11:02:26 +08:00
charlie
d55fe4af50
enhance(api): WIP add property related APIs
2024-06-08 16:55:36 +08:00
charlie
72897acb1e
enhance(api): support empty value for the multi pages property value
2024-06-08 12:09:09 +08:00
Gabriel Horner
9636fbe7ab
fix: remaining query dsl tests for db graphs
...
Re-enable CI step for testing query-dsl and db graphs
2024-06-07 18:02:32 -04:00
Gabriel Horner
7f3e22c8eb
fix: priority filters for db graphs
2024-06-07 17:58:49 -04:00
Tienson Qin
214eefbf67
enhance: drop -page for filter properties
2024-06-08 05:33:41 +08:00
Tienson Qin
b2e113d8eb
refactor: db based filters
...
Uses properties :logseq.property.linked-references/included-pages
and :logseq.property.linked-references/excluded-pages to store filters
instead of a map.
Fixes LOG-3074
2024-06-08 05:28:55 +08:00
rcmerci
7396176dd3
fix(rtc): dont generate undo-ops rtc-ops when download-graph
2024-06-08 00:23:23 +08:00
rcmerci
fda893fca7
fix(rtc): update local-tx if not exists yet when register-graph-updates
2024-06-08 00:23:23 +08:00
Gabriel Horner
29810f4683
fix: lint
2024-06-07 12:12:17 -04:00
Gabriel Horner
039da828ac
enhance: infer property schema and add new-pages from properties
...
for sqlite-build graphs. Also fixed numbered page query not working for
db graphs and related tests
2024-06-07 12:10:15 -04:00
Tienson Qin
14368026ab
fix: can't delete :many property from a block
2024-06-07 21:20:55 +08:00
charlie
a6e80d85d9
enhance(api): support multi page values for the multi type property
2024-06-07 18:27:04 +08:00
rcmerci
806e24fff7
fix(rtc): fix :update-schema op, must have :db/valueType key
2024-06-07 18:10:49 +08:00
rcmerci
6fac75a036
fix(rtc): update :av-coll in :update op
2024-06-07 17:38:14 +08:00
Tienson Qin
43bd6cacb5
fix: /query /calculator not works
...
We still need to save block content changes when exiting the editor,
previously, we handled both :on-blur and :Escape, but not editor
unmount.
Also disabled /Zotero and /Draw for db graphs.
2024-06-07 17:27:16 +08:00
Tienson Qin
33977ee836
fix: pause edit if the new block is not created yet
2024-06-07 15:04:17 +08:00
Tienson Qin
75fd607c2a
enhance: debounce undo/redo
2024-06-07 14:48:39 +08:00
rcmerci
b7bbce51e4
dev: add runtime-id-list
2024-06-07 13:32:05 +08:00
rcmerci
bd0482f60e
enhance(rtc): update block position related logic
2024-06-07 13:31:28 +08:00
Tienson Qin
da37a2177c
fix: wrong start editor pos
2024-06-07 13:18:16 +08:00
Gabriel Horner
64c7368489
fix: frontend lint
2024-06-06 17:49:56 -04:00
Gabriel Horner
fd8bd1e3f2
fix: db graph test using :build/tags
2024-06-06 17:47:18 -04:00
Gabriel Horner
516192fa92
fix: db lint
2024-06-06 17:22:02 -04:00
Gabriel Horner
938dd04811
enhance: add :build/tags and :auto-create-ontology?
...
for tested+generated graphs. :build/tags allows easy generation of
objects as seen in fixed up inferred graph
2024-06-06 17:05:13 -04:00
Tienson Qin
08de1fc84d
fix: full text search matches on page-ref uuids
...
fixes LOG-3147
I also removed properties from search, because it can make the search
results verbose and also increases time on datascript queries.
2024-06-07 01:12:47 +08:00
Tienson Qin
df2cec71f8
fix: save current block in :editor/exit
...
/query not works
2024-06-06 23:01:05 +08:00
Gabriel Horner
3d9c606899
fix: query function for db graphs
2024-06-06 10:57:34 -04:00
Gabriel Horner
7e6f5878d6
fix: not filter query bug
...
for db graphs. not filter was returning all blocks
including all built-in properties. Also fixed a couple
tests to be db-graph compatible
2024-06-06 10:57:34 -04:00