Commit Graph

13148 Commits

Author SHA1 Message Date
Gabriel Horner
3bf99e5766 enhance: filter all pages by new page types
Also converted old whiteboard icon filter to use this as it
is a more useful as the only filter. For example, if there are 50 existing pages
and 10 whiteboard pages, when a user selects whiteboard as a filter
they want to see the 10 whiteboard pages, not 60 pages with 10 of them
being whiteboards

Fixes LOG-2912
2023-11-08 14:54:10 -05:00
Gabriel Horner
fc03842150 fix: local config doesn't work if it's not started 2023-11-08 09:11:28 -05:00
Gabriel Horner
1fb9d35e0d fix: when publishing display page properties before class ones
Emphasis should be on the few page properties when reading about a page.
This was the behavior before properties got moved to configure modal
2023-11-08 08:39:11 -05:00
Gabriel Horner
ddc34692ef fix: queries with between filter can collapse 2023-11-08 08:30:44 -05:00
rcmerci
efcf189c95 chore: fix lint 2023-11-08 20:26:22 +08:00
rcmerci
561422143f fix(rtc): fix testcase 2023-11-08 20:22:12 +08:00
rcmerci
fdb0f4e853 fix(rtc): ensure return a promise 2023-11-08 20:16:09 +08:00
rcmerci
a1d3553fce fix(rtc): need encode before persist ops to indexeddb 2023-11-08 20:11:25 +08:00
rcmerci
5494286263 fix(rtc): ensure rtc-db-graph? when persist ops 2023-11-08 20:11:25 +08:00
Tienson Qin
bf41bd539d fix: hide Edit page properties if there're class properties 2023-11-08 13:56:34 +08:00
Tienson Qin
e0cbc963b0 fix: navigating to a page with properties opens add property
Fixes LOG-2902
2023-11-08 13:50:25 +08:00
Tienson Qin
9e894cae25 fix: pick the closest add property button when press enter
Also, display the class properties directly on page instead of
a configure modal.
2023-11-08 13:28:05 +08:00
Gabriel Horner
8f6deb15a7 fix test failure introduced by last commit 2023-11-07 13:50:52 -05:00
Gabriel Horner
309826df89 enhance: place rtc feature behind feature flag
Moved restore-graph to be first action since all user behavior comes from it.
Disabled rtc by default since rtc is currently failing to load graphs
2023-11-07 12:10:44 -05:00
rcmerci
85af692a2e fix(rtc): update schema to fix filter-remote-data-by-local-unpushed-ops 2023-11-08 00:09:34 +08:00
rcmerci
25a8835ad2 chore: remove spy 2023-11-07 21:39:48 +08:00
rcmerci
73a6232c56 chore: fix lint 2023-11-07 21:37:17 +08:00
rcmerci
a7cd7b92bf enhance(rtc): refactor client-op related ns 2023-11-07 21:31:56 +08:00
Gabriel Horner
a29315a7c2 fix: full-text search detection wasn't working
Also changed approach so that it wasn't logging confusing error
messages. Also added title attribute for publishing
2023-11-06 16:30:00 -05:00
Gabriel Horner
fea69f8337 fix: repeated react warnings with multiple choice properties
and with pages that have hierarchy
2023-11-06 15:15:39 -05:00
Gabriel Horner
3162a06c3d fix: page-tags filter shouldn't show :block/link duplicates 2023-11-06 14:22:44 -05:00
Gabriel Horner
e8b26954a0 fix: property completion for db graphs
Also complete page-tags filter with original case so that resulting query is
case sensitive. As much as possible the query builder should result what
users would type in the editor and users would type case sensitive page
refs. Also update scripts to reflect that property values should be
written as page refs for :date and :page properties
2023-11-06 12:48:12 -05:00
Gabriel Horner
ba5fe52ec1 fix: task and priority filters 2023-11-06 09:07:40 -05:00
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