Commit Graph

23218 Commits

Author SHA1 Message Date
Tienson Qin
ccb940dd06 fix: stable keyboard when inserting and deleting blocks 2025-06-02 16:17:32 +08:00
Tienson Qin
65213b5c12 fix: set edit-block-fn when inserting new block 2025-06-02 15:21:50 +08:00
Tienson Qin
dcc0e661e0 fix: set edit block immediately after ui refresh 2025-06-02 15:06:39 +08:00
Tienson Qin
8eee397b45 fix: rtc creates duplicated first blocks for new journal pages (#11913)
* fix: rtc creates duplicated first blocks for new journal pages

The root cause is that those blocks from different clients have
different ids. Instead of using persistent block id, this fix avoids
generating the first block until users really start editing it.

* fix: add button not displayed when the last block is not empty

* fix: e2e tests

* enhance: remove dummy block

* fix: open-last-block
2025-06-02 14:19:19 +08:00
Tienson Qin
b68d08861c fix: multiple default views created for linked references 2025-06-02 11:19:43 +08:00
Tienson Qin
fa12411042 enhance: use pos-int? to check default-open-blocks-level 2025-06-02 11:19:10 +08:00
Tienson Qin
d7f0c248ff fix: bring back :ref/default-open-blocks-level 2025-06-02 11:19:10 +08:00
Tienson Qin
2b012adb40 chore: remove .projectile 2025-06-02 11:19:10 +08:00
Gabriel Horner
1336b46941 chore: change test flag for use with test --exclude
:focus is for one-time dev use
2025-06-02 11:13:43 +08:00
Tienson Qin
ad190a0f3a full-gc run when from user command
Also, update gc to run every 3 days
2025-06-02 11:13:43 +08:00
Tienson Qin
524260f6ec add gc walk addresses 2025-06-02 11:13:43 +08:00
Tienson Qin
0f2f9485de Increase test data to 1,000,000 datoms 2025-06-02 11:13:43 +08:00
Tienson Qin
a513cb53a3 fix: recursively delete unused addresses 2025-06-02 11:13:43 +08:00
Tienson Qin
06d7ed9b40 enhance: address suggestions from gabriel and zhiyuan 2025-06-02 11:13:43 +08:00
Gabriel Horner
3bee73b62f chore: add comments inline 2025-06-02 11:13:43 +08:00
Tienson Qin
dda446262d fix: doc 2025-06-02 11:13:43 +08:00
Tienson Qin
09eaac248f fix: lint 2025-06-02 11:13:43 +08:00
Tienson Qin
2059f35ae2 fix: lint 2025-06-02 11:13:43 +08:00
Tienson Qin
0d217490a0 chore: remove focus metadata 2025-06-02 11:13:43 +08:00
Tienson Qin
af70449791 add gc test 2025-06-02 11:13:43 +08:00
Tienson Qin
f28fe9ce94 update db worker 2025-06-02 11:13:43 +08:00
Tienson Qin
dcc2868c77 add sqlite.debug and sqlite.gc ns for testing 2025-06-02 11:13:43 +08:00
Tienson Qin
f2b1dc2c6c sync change backs to sqlite cli 2025-06-02 11:13:43 +08:00
Tienson Qin
08bbe5c82d enhance: add a command to gc current graph 2025-06-02 11:13:43 +08:00
Tienson Qin
4d540f57c4 gc main db weekly and rtc db every time when opening it 2025-06-02 11:13:43 +08:00
Tienson Qin
cfce99d401 fix: gc unused addresses
GC rule:
Remove all non referenced addrs except some internal addrs from the
kvs table.

5 internal addrs:
1. db root (addr: 1)
2. tail (addr: 0)
3. eavt set addr
4. avet set addr
5. aevt set addr

Those set addrs are stored in the db's metadata.
2025-06-02 11:13:43 +08:00
Charlie
84183068fb enhance(dev): upgrade pdfjs (#11914)
* enhance(dev): upgrade pdfjs

* chore: upgrade shadow-cljs
2025-06-02 11:13:05 +08:00
rcmerci
664bf21f50 fix: add db-worker-ready-flow to avoid calling <invoke-db-worker too early 2025-06-01 18:18:38 +08:00
Tienson Qin
f7acef9cd2 fix: don't show delete button for blocks
Also, remove the unused refresh button
2025-06-01 06:38:20 +08:00
Tienson Qin
16d86daab9 Merge branch 'master' into feat/capacitor-new 2025-06-01 06:20:18 +08:00
Tienson Qin
598d06ae18 fix: set app bundle id 2025-06-01 06:16:09 +08:00
charlie
524d2892ca feat(mobile): dark theme 2025-05-31 21:53:40 +08:00
rcmerci
5384ec063e enhance: use flow to synchronize network-status to the worker
flows/network-online-event-flow considers both mobile and web scenarios
2025-05-31 21:09:37 +08:00
rcmerci
52cd744612 fix(mobile): init network-status value 2025-05-31 21:01:30 +08:00
rcmerci
3843394d42 enhance(mobile): update network-online-event-flow 2025-05-31 21:01:30 +08:00
charlie
44cbbd0c8c feat(mobile): add native inline calendar for ios 2025-05-31 19:16:28 +08:00
Tienson Qin
d78bd64467 fix: alias references are not displayed in linked references
fix https://github.com/logseq/db-test/issues/292
2025-05-31 18:26:25 +08:00
Tienson Qin
8a5e38af31 fix: don't add #Task to blocks when modifying status/deadline
and scheduled.

Notice that #Task is still added when adding those properties
initially when the block doesn't have other tags that have those properties.
2025-05-31 17:27:34 +08:00
charlie
5234eb22fb fix(mobile): capture photo from mobile bar 2025-05-31 16:09:51 +08:00
rcmerci
515fdb9e5a enhance(mobile): add ns frontend.mobile.flows 2025-05-30 23:21:39 +08:00
Tienson Qin
b14696f8e2 fix: reference inheritance in page filter 2025-05-30 23:15:23 +08:00
Gabriel Horner
ac975766ad chore: update doc links and remove feat\/db mentions 2025-05-30 08:41:57 -04:00
rcmerci
478783558f fix(mobile): require ns frontend.background-tasks 2025-05-30 14:48:14 +08:00
charlie
dfd3f0565c feat(capacitor): demo local datepicker for ios 2025-05-30 12:08:16 +08:00
charlie
ac84062f5e fix(capacitor): ios projects 2025-05-30 11:39:52 +08:00
charlie
b740d80c35 Merge branch 'master' into feat/capacitor-new 2025-05-30 10:49:31 +08:00
Tienson Qin
8bb3ef2834 enhance(ux): smooth fade out for command bar 2025-05-30 06:27:45 +08:00
Tienson Qin
b994749e30 fix: selection position 2025-05-30 04:41:33 +08:00
Tienson Qin
ad20edca16 fix: selection action bar not aligned well 2025-05-30 04:28:23 +08:00
Gabriel Horner
f661591f81 chore: Add links to db-test issues 2025-05-29 16:18:32 -04:00