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
Tienson Qin
b3866fbf01
fix: move deleting block's properties to its prev-block
...
Notice this works only for the db graph.
Fixes LOG-3135
2024-06-06 20:14:09 +08:00
Tienson Qin
bbb454a7d7
fix: lint
2024-06-06 19:52:34 +08:00
Tienson Qin
05425667b9
fix: undo deleting refed blocks
2024-06-06 19:44:13 +08:00
Tienson Qin
9b1da32028
fix: simplify deleting refed blocks
...
The new implementation will replace refs of the current deleting block
with the nearby block (if exists).
2024-06-06 19:36:40 +08:00
Tienson Qin
a647954eea
refactor: remove hacky editor will-unmount
2024-06-06 17:59:23 +08:00
Tienson Qin
070ff212e4
fix: DEL doesn't save newly input text
2024-06-06 16:58:17 +08:00
Tienson Qin
fcc659f1fd
chore: remove debug ask-ai
2024-06-06 16:52:57 +08:00
Tienson Qin
2b17284f77
fix: DEL lost editor state
2024-06-06 16:44:00 +08:00
Tienson Qin
9e5a002cf8
enhance: avoid replacing page refs if there's no special chars
2024-06-06 15:15:01 +08:00
Tienson Qin
d893e04925
fix: tests
2024-06-06 15:02:10 +08:00
Tienson Qin
8a6b44bb31
fix: :block/content should be string including :number properties
2024-06-06 14:53:26 +08:00
Tienson Qin
fb01f99a4d
fix: outliner tests
2024-06-06 07:11:09 +08:00
Tienson Qin
e0b85c01a6
fix: paste test
2024-06-06 06:33:47 +08:00
Gabriel Horner
62701e1b6e
fix: tests with outdated datom counts
...
I think caused by recent macros parsing or whiteboard changes
2024-06-05 17:06:16 -04:00
Gabriel Horner
8f6f52d630
fix: sort-by filter for db graphs
...
Also fixed a dsl-query sorting bug where nil property values where
incorrectly being treated as greater than non-nil values. Also
fixed a bug where blocks with an explicit :block/created-at weren't
being set for sqlite-build
2024-06-05 16:57:51 -04:00
Gabriel Horner
29faedc4d0
fix: db graph tests with children, created-at properties
...
and journal pages
2024-06-05 14:47:38 -04:00
Gabriel Horner
916fef8336
enhance: generate any outline structure with :build/children
...
Already useful for testing and will be for more interesting generation
cases
2024-06-05 12:15:12 -04:00
Tienson Qin
592e2a9b26
fix: add tags when not exists
2024-06-05 22:39:55 +08:00
Tienson Qin
9c955081ab
fix: paste text instead of blocks when copied from another graph
...
Related to LOG-3123
2024-06-05 21:52:50 +08:00
charlie
23b6d0745a
enhance(api): WIP infer property value type to upsert properties
2024-06-05 21:45:14 +08:00
Tienson Qin
424b7d0564
enhance: update :page property to use the page icon
2024-06-05 20:07:22 +08:00
Tienson Qin
44366dced0
fix: removing a heading's hashtags doesn't delete
...
fixes LOG-3138
2024-06-05 20:01:46 +08:00
Tienson Qin
644c04e8a1
fix: pointerdown shouldn't edit a block from codemirror
2024-06-05 18:35:25 +08:00
Tienson Qin
c871ca8a50
fix: remove hidden properties from search indice
2024-06-05 17:40:14 +08:00
Tienson Qin
a314e3469a
fix: page can alias itself and then fail to load
...
fixes LOG-3136
2024-06-05 17:18:32 +08:00
Tienson Qin
7beebedbd2
fix: embed block macro is buggy
...
fixes LOG-3145
2024-06-05 14:27:13 +08:00