Commit Graph

13125 Commits

Author SHA1 Message Date
Gabriel Horner
ca865bb000 fix: between filter in builder for both graph types 2023-11-03 18:45:33 -04:00
Gabriel Horner
030e4f6581 fix: basic query builder selection
Wasn't working for file or db graphs b/c of underlying component
changes. Part of LOG-2808
2023-11-03 16:56:51 -04:00
Gabriel Horner
1280f4e05d fix: disable file sync for db graphs 2023-11-02 14:29:05 -04:00
Gabriel Horner
3ccf80fcba add docs for new linter
also fix outliner lint
2023-11-02 09:32:51 -04:00
rcmerci
0a2858ba73 enhance(rtc): update schema 2023-11-02 19:35:24 +08:00
Gabriel Horner
de3d7b7b5f Merge branch 'master' into feat/db 2023-11-01 17:31:17 -04:00
Gabriel Horner
3700cc37e6 fix: disable filename format config for db graphs
How to persist filenames and handle titles isn't relevant for db graphs.
Also updated lint to add related file-specific nss and concepts
2023-11-01 16:26:48 -04:00
Gabriel Horner
7a4f5712ba fix: only delete macro entities when last reference
part of LOG-2904
2023-11-01 15:36:15 -04:00
Gabriel Horner
e847fce255 add additional db namespaces to linter 2023-11-01 14:23:45 -04:00
Gabriel Horner
54ecf01cd7 add lint for keeping file and db graphs separate
Detected some minor unused code. May run this in CI later.
Writing this script demonstrates more namespaces could be split
up but will wait till at least enum PR lands
2023-11-01 11:28:50 -04:00
rcmerci
bfc08e7326 enhance(rtc): simpler way to sort datoms 2023-11-01 23:14:03 +08:00
rcmerci
7752a8f75f fix(rtc): sort entity-datoms-coll when generate local-ops 2023-11-01 23:01:16 +08:00
Charlie
43c8e1cb38 Revert "feat(pdf): add zoom via touchpad (#10435)"
This reverts commit 89cd619a34.
0.9.20
2023-11-01 21:11:34 +08:00
Tienson Qin
d672146805 Add current page and blocks count to rtc debug 2023-11-01 20:25:35 +08:00
rcmerci
536852b103 enhance(rtc): add testcase 2023-11-01 18:12:12 +08:00
rcmerci
a2cba0bacb fix(rtc): p/do! for idb-keyval/set 2023-11-01 15:52:31 +08:00
Andelf
77d92f4d08 chore(release): bump version 0.9.20 2023-11-01 13:43:01 +08:00
charlie
32f913de6a enhance(i18n): amplify tips 2023-11-01 12:31:03 +08:00
Andelf
ec244bc20b fix(android): activity restart when bluetooth kbd connected
Fix #10406
2023-11-01 11:59:00 +08:00
Gabriel Horner
90a7e5832f enhance: unused macros are deleted
Macros are now pruned when a block is deleted and when a block updates
Fix LOG-2904
2023-10-31 23:53:03 -04:00
Andelf
d39a61a008 enhance(sync): make smart merge the default option 2023-11-01 02:19:09 +08:00
Andelf
cf829815af fix(journal): handle non-standard journal name page-ref (#10434)
* fix(journal): handle non-standard journal name page-ref

Fix #10432
2023-11-01 02:18:47 +08:00
CorrectRoadH
89cd619a34 feat(pdf): add zoom via touchpad (#10435)
* feat(pdf): add zoom by touchpad
* feat: reduce the debounce
2023-11-01 02:17:44 +08:00
Andelf
952b03d19e chore(deps): update rsapi 2023-11-01 01:59:25 +08:00
Andelf
1e7495ec1c fix(linux): downgrade electron to v25
Close #10436
2023-11-01 00:34:33 +08:00
Gabriel Horner
cda755ef36 fix: 2 bugs with collapsible block state and properties
When 2 db graphs exist, the built-in-properties check failed because it
failed to db lookup for the new repo. Just simplified it so that db
lookup is only needed once across repos. Also limited check to hidden
built-in properties since visible built-in properties should be
treated like user properties and be collapsable
2023-10-31 11:40:03 -04:00
Tienson Qin
abf2c0c126 fix: delete non consecutive blocks 2023-10-31 23:33:29 +08:00
Gabriel Horner
d6db27ce22 chore: split out class components from page
also fix LOG-2881
2023-10-31 10:53:10 -04:00
Gabriel Horner
f3346d20c6 fix: consistent capitalization
Fix LOG-2884
2023-10-31 10:01:12 -04:00
rcmerci
23bd9c1d76 enhance(rtc): add testcases, fix filter-remote-data-by-local-unpushed-ops 2023-10-31 21:22:10 +08:00
SylvainDuran
a4a1622bdd Update fr.edn
French language grammar corrections.
2023-10-31 09:22:01 -04:00
Gabriel Horner
3c134d4716 enhance: Make db validation configurable
Added 3 db validation options to more aggressively notify and to provide
stricter levels of validation. Part of LOG-2818
2023-10-30 17:25:12 -04:00
Gabriel Horner
49069e1998 fix: block should save with selected tag
While selecting an existing tag, block were saving with a tag that had
characters cutoff from the end
e.g. Drug_Class -> Drug_C or Comment_Class -> Comment_Cl
2023-10-30 16:42:05 -04:00
hasecilu
34b5bcd6d0 Update Spanish translation 2023-10-30 13:40:27 -04:00
rcmerci
dc44e672d4 enhance(rtc): add testcase 2023-10-30 23:23:32 +08:00
Gabriel Horner
c88b0a2a4e fix: remove broken built-in enum properties from app and script
It's too complicated for now but hope to bring this back
Part of LOG-2871
2023-10-30 10:43:58 -04:00
Gabriel Horner
5f392a2260 fix: update schema to include new enum value block
Part of LOG-2871.
Also fixed create-graph failing due to renamed ns
2023-10-30 10:43:58 -04:00
rcmerci
9eb2806305 enhance(rtc): add testcases, mock idb-keyval ns 2023-10-30 22:25:22 +08:00
Tienson Qin
45a3e6bf2f enhance: make sure property value refs are existed blocks 2023-10-30 20:43:02 +08:00
Tienson Qin
8c7098b21f enhance: move enum property choices to hidden page
related to LOG-2871
2023-10-30 20:35:39 +08:00
Tienson Qin
fadfb84575 fix: private fn 2023-10-30 16:34:30 +08:00
Tienson Qin
0d35565ef6 chore: separate property enum component 2023-10-30 16:33:31 +08:00
Tienson Qin
c9e5de986b fix: can't select after setting new property's schema 2023-10-30 15:34:35 +08:00
Gabriel Horner
803163be01 fix: tags being deleteable in publishing 2023-10-28 22:35:06 -04:00
Gabriel Horner
3ec7492abd fix: some queries failed since DB graphs don't have :block/file
One query was failing to load namespaced pages since datascript
fails hard for reverse lookups or {...} syntax on non-existent
attributes.
Also disabled or logged queries that don't have an equivalent
yet for DB graphs
2023-10-27 22:30:39 -04:00
Gabriel Horner
2ce35667c5 First pass at a general transact script for db graphs
Moved persist-graph ns into outliner dep so it can be used
by scripts
2023-10-27 17:40:12 -04:00
Gabriel Horner
a6c30554af fix: 3 date related attrs missing from block schema 2023-10-27 15:13:32 -04:00
Gabriel Horner
3f773ed876 fix: update all db graph uses of mldoc to use db config
Left a few uses of gp-mldoc/default-config but only in file graph
specific locations or functionality that wasn't related to db graphs
e.g. handler. plugin. Also removed format/get-default-config as it was unused

Part of LOG-2741
2023-10-27 14:08:55 -04:00
rcmerci
af416ec352 enhance(rtc): update testcase 2023-10-28 01:23:15 +08:00
rcmerci
1ed2a9151a enhance(rtc): update frontend.db.rtc.op fns return value type 2023-10-28 01:00:18 +08:00