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
Tienson Qin
ed97102b38
fix: can't move block up with a :default property
...
fixes LOG-3140
2024-06-05 14:08:57 +08:00
Tienson Qin
1d1608a0ae
fix: typo
2024-06-05 11:18:42 +08:00
Tienson Qin
f620fe1913
fix: can't open PDF on web
2024-06-05 10:20:22 +08:00
Tienson Qin
ef92c0be63
fix: can't type space in a whiteboard block
...
Fixes LOG-3134
2024-06-05 09:43:21 +08:00
Tienson Qin
9c48753eaf
fix: remove non-shapes from whiteboard blocks
2024-06-05 08:35:40 +08:00
Tienson Qin
853926dce4
fix: update editor/container-id after editor mounted
2024-06-05 08:24:04 +08:00
Gabriel Horner
e7f795103d
fix: simple task queries and start fixing db dsl-query tests
...
Tests caught that task query wasn't working. Also disabled
namaspace test and rule for db graphs since they aren't supported
there
2024-06-04 15:53:36 -04:00
Gabriel Horner
33e9df34aa
fix: frontend lints
...
/cc @xyhp915
2024-06-04 12:05:15 -04:00
Gabriel Horner
05227f475b
chore: mv more tests to appropriate dep enabled by :build/journal
2024-06-04 12:02:25 -04:00
Gabriel Horner
14222a546f
enhance: make journals easier to generate with :build/journal
...
Use it in tests that more appropriately belong in db dep.
Also did minor cleanup around page prep for page-uuids
2024-06-04 12:02:25 -04:00
Tienson Qin
9c87edc802
fix: multiple :default should be treated as blocks instead of select
2024-06-04 23:45:09 +08:00
Tienson Qin
189b3585c3
fix: can't edit property area if opened in the right sidebar
2024-06-04 23:04:03 +08:00
Gabriel Horner
5f793866b6
fix: app startup with a demo graph
2024-06-04 08:43:52 -04:00
charlie
b606ba50bd
enhance(api): compatible db graph for the block update API
2024-06-04 18:37:03 +08:00