Commit Graph

11601 Commits

Author SHA1 Message Date
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
d893e04925 fix: tests 2024-06-06 15:02:10 +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
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
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
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
Tienson Qin
5f93d8a47e Add set-block-properties! 2024-06-04 17:40:34 +08:00
Tienson Qin
6104cac5ad fix: move cursor across embedded blocks 2024-06-04 17:12:25 +08:00
charlie
bdfda0b9db enhance(api): block related types 2024-06-04 15:32:09 +08:00
Tienson Qin
3bbcc8cd68 refactor: use :block/order for whiteboard blocks 2024-06-04 12:30:26 +08:00
charlie
3c1299c20a enhance(ui): alignment for the block positioned icons 2024-06-04 10:35:48 +08:00
Gabriel Horner
13066001cd fix: storing and querying of :number property values 2024-06-03 17:41:32 -04:00
Gabriel Horner
5ecb3fe3d4 fix: lints 2024-06-03 14:13:55 -04:00
Gabriel Horner
2456deb097 enhance: create sqlite.build ns as a better
load-test-files helper for db graphs and deps.
Most of this ns is split off from create-graph.
Migrated pipeline-test to correct outliner dep and
moved previous pipeline-test to correct db dep
2024-06-03 12:46:53 -04:00
Tienson Qin
36901f9e42 enhance: use link icon instead of letter e for embeds 2024-06-03 23:10:31 +08:00
Tienson Qin
554926cb19 fix: tons of issues on whiteboards
Mostly because we made the change that multiple pages can have the
same name now, also the UI db is not full anymore.
2024-06-03 22:50:17 +08:00
Tienson Qin
e69da64091 fix: cached deleting whiteboards count 2024-06-03 19:33:36 +08:00
Tienson Qin
8977e1f7c7 fix: whiteboard block container id 2024-06-03 19:29:35 +08:00
Tienson Qin
721a9e14ad fix: arrow color 2024-06-03 19:20:50 +08:00
charlie
6066f01b77 fix(ui): incorrect overflow for the repos switch from the header 2024-06-03 17:27:14 +08:00
Tienson Qin
8626710a2f fix: use the new popover instead of custom dropdown for whiteboards 2024-06-03 16:59:33 +08:00
Tienson Qin
662679fae7 chore: disable flashcards for db graphs for now 2024-06-03 16:03:07 +08:00
Tienson Qin
3e94e25741 fix: search in page 2024-06-03 15:12:31 +08:00
charlie
213aa261fc enhance(ui): alignment for the property key popus 2024-06-03 15:08:00 +08:00
charlie
c4abc29c1c enhance(ux): sort local graphs by create/update time 2024-06-03 15:04:57 +08:00
Tienson Qin
bce5a308bb perf: skip db storage when batch applying outliner ops 2024-06-03 14:53:06 +08:00
Tienson Qin
101bdbf24a fix: icons cursor style 2024-06-03 14:37:36 +08:00
Tienson Qin
b9b2c0fb88 fix: jump to the wrong position when there're selected blocks 2024-06-03 14:21:07 +08:00
Tienson Qin
2abe37c987 fix: change last-saved-cursor to atom to avoid global state changes 2024-06-03 13:33:21 +08:00
Tienson Qin
d7d4a025be fix: pos changed when moving block up/down 2024-06-03 13:15:28 +08:00