Gabriel Horner
56063ed2bf
fix: tweak message and update docs for updated replace cmd flow
2024-06-14 14:22:44 -04:00
Tienson Qin
ff050779ec
fix: import chosen graph
2024-06-15 01:17:07 +08:00
Tienson Qin
af716b50d4
fix: save db before git commit
2024-06-15 00:48:57 +08:00
Tienson Qin
05f14033c4
chore: remove better-sqlite3 from electron
2024-06-15 00:29:39 +08:00
Tienson Qin
cc20d96fda
chore: don't store version dbs in /logseq/bak
...
This can increase space usage a lot, also, git is a much better way
compared to /bak.
2024-06-15 00:22:26 +08:00
Tienson Qin
e0fafe4725
enhance: notify db saved only for manual triggers
2024-06-15 00:03:39 +08:00
Tienson Qin
4cca2e5f69
enhance: remove sqlite usage from Electron
...
Use periodic db export instead. Manual saving db to the disk can be
triggered by `mod+s`.
2024-06-14 23:58:49 +08:00
Gabriel Horner
0f122e9a7e
fix: schema graph generation
...
Regressed with property value change. Also updated debug file and
fixed a missing built-in property ns which caused an invalid debug file
2024-06-14 11:38:14 -04:00
Tienson Qin
d588df622e
fix: :block/uuid not created for property value pages
...
Related to LOG-3124
2024-06-14 22:15:56 +08:00
Tienson Qin
c7827ee268
fix: can't create alias property for file based graph
2024-06-14 21:00:32 +08:00
Tienson Qin
1858180476
fix: don't create bi-directional alias
...
related to LOG-3124
2024-06-14 20:00:37 +08:00
Tienson Qin
abe4f045b5
fix: clear editor action too when exits editing
2024-06-14 19:27:55 +08:00
Tienson Qin
eef6ccb883
fix: can't use datepicker for /Deadline
...
Fixes LOG-3095
2024-06-14 19:13:14 +08:00
rcmerci
acd06e1e9e
enhance(rtc): ensure refed-blocks from remote existing in client
2024-06-14 18:48:04 +08:00
charlie
b3c6be393e
enhance(api): create page with properties for the db graphs
2024-06-14 16:22:28 +08:00
Gabriel Horner
5f2371486e
fix: simple query for :number properties
...
also fixes deps db tests
2024-06-13 23:16:17 -04:00
Gabriel Horner
137f388edd
enhance: property ref values can store their
...
original value optionally with :property/value.
Currently applies to :url and :number and not :default
as :default is meant to be a block and thus highly coupled
to :block/content. By introducing this, functionality that relies
on original property values automatically work e.g.
sorting by :number property for query results just works
2024-06-13 23:03:18 -04:00
Gabriel Horner
7fa3fdf190
Revert "fix: tests"
...
This reverts commit d893e04925
.
2024-06-13 21:25:21 -04:00
Gabriel Horner
57241d0644
Revert "fix: :block/content should be string including :number properties"
...
This reverts commit 8a6b44bb31
.
2024-06-13 21:25:21 -04:00
charlie
8eb93dc879
chore: remove debug log
2024-06-13 23:55:49 +08:00
charlie
9690c14a9b
fix(ui): can't close the class editor modal from the cmdk action
2024-06-13 23:54:41 +08:00
charlie
518e2bf0fb
enhance(api): enhance pages related apis
2024-06-13 23:53:10 +08:00
Gabriel Horner
4eb9364814
fix: frontend lint
2024-06-13 10:44:47 -04:00
rcmerci
61df440c6e
fix(rtc): update :refed-blocks schema
2024-06-13 21:51:52 +08:00
rcmerci
e07a572a22
fix(rtc): fix schema
2024-06-13 21:03:50 +08:00
Tienson Qin
fdb22d0c72
fix: worker db pull non exists page
2024-06-13 21:01:01 +08:00
charlie
6c7c282a03
fix(pdf): insert keyword property value for the file based graphs
2024-06-13 17:25:05 +08:00
rcmerci
0692edc17d
enhance(rtc): update data-from-ws-schema
2024-06-13 16:19:00 +08:00
Tienson Qin
6dd17c14f5
enhance: prefer d/entity than d/pull if possible
2024-06-13 15:12:59 +08:00
Tienson Qin
0e87965a10
fix: load full page first before setting pdf type
2024-06-13 15:04:51 +08:00
Tienson Qin
4d684a5ec9
fix: throw exception if calling db property fns for file graphs
2024-06-13 14:50:20 +08:00
Tienson Qin
71584905a7
Move set-block-properties! to property handler
2024-06-13 14:37:12 +08:00
Tienson Qin
452b79d350
fix: page format
2024-06-13 14:31:17 +08:00
charlie
8de948f504
fix(pdf): insert highlight blocks for the file based graph
2024-06-13 14:27:37 +08:00
charlie
76ce3f72e8
fix(pdf): insert highlight blocks for the file based graph
2024-06-13 14:18:00 +08:00
Tienson Qin
3ce8100be7
feat: enable git for sqlite
...
Use the trick from https://stackoverflow.com/a/21789167 .
2024-06-13 13:04:00 +08:00
Tienson Qin
0ce2ee42db
Revert "refactor: use files instead of sqlite for electron db storage"
...
This reverts commit c2c5ab80aa
.
2024-06-13 13:04:00 +08:00
Tienson Qin
ec25550455
Revert "chore: remove unused fn"
...
This reverts commit 1ec30bbf1a
.
2024-06-13 13:04:00 +08:00
Tienson Qin
596089f161
Revert "fix: add missing fs-extra package"
...
This reverts commit 032cad0318
.
2024-06-13 13:04:00 +08:00
Tienson Qin
6d4f3425cd
Revert "fix: nbb compatibility for mv to file db for electron"
...
This reverts commit 4403b5e52a
.
2024-06-13 13:04:00 +08:00
charlie
02663da968
fix(ui): can't close the page class modal
2024-06-13 09:49:04 +08:00
Tienson Qin
4d7ab822ff
fix: undo redo tests
2024-06-13 09:32:38 +08:00
Tienson Qin
2545d15a5e
fix: write files only if it's a file-based graph
2024-06-13 09:12:52 +08:00
Gabriel Horner
03f797fde3
fix: outliner lint and doc formatting
2024-06-12 15:24:04 -04:00
Gabriel Horner
9f89717a57
refactor: finish splitting file and db page create
...
db create had file specific assumptions and file create had db specific
assumptions like class?
2024-06-12 14:57:23 -04:00
Gabriel Horner
0b61bdea29
fix: edit an empty page for file and db graphs
...
To repro, create a block with a page-ref, click into page and
then click on 'Click here to edit'
2024-06-12 13:59:59 -04:00
Gabriel Horner
13f5971d3c
chore: mv worker.file.page-rename to appropriate ns
...
This ns is file graph specific so it should be in a file-graph
specific ns. Its current location was confusing as it was next to
other namespaces in frontend.worker.file.* that are not
file graph specific. Also moved related tests to correct location
2024-06-12 11:38:00 -04:00
Gabriel Horner
a9b7cb4274
fix: frontend lint
2024-06-12 10:58:49 -04:00
Gabriel Horner
99939c600f
fix: remove dead code caught when updating linter
...
Also added a db-concepts not in file linter fn
2024-06-12 10:36:22 -04:00
charlie
e164d85269
enhance(ui): alignments for the pdf highlight color marker
2024-06-12 17:39:59 +08:00