Commit Graph

20351 Commits

Author SHA1 Message Date
Tienson Qin
ddf6f8243d fix: tag table 2025-06-03 08:33:52 +08:00
Tienson Qin
d5b1434440 enhance: unselect blocks 2025-06-03 08:29:44 +08:00
Tienson Qin
a29afcb080 fix: don't edit block after cutting blocks 2025-06-03 08:05:38 +08:00
Tienson Qin
57bb50ce8c fix: scrolling in modal 2025-06-03 07:46:56 +08:00
Tienson Qin
e07722aa14 fix: padding 2025-06-03 06:40:29 +08:00
Tienson Qin
1b82fe3c99 enhance: share modal for tabs 2025-06-03 06:26:18 +08:00
Tienson Qin
7c510aaa67 enhance(ux): use presentingElement cards instead of nav 2025-06-03 05:35:19 +08:00
Tienson Qin
903c1ea856 fix: block blinks when exits and start editing another 2025-06-03 01:24:26 +08:00
Tienson Qin
a4bfa4477e Merge branch 'master' into feat/capacitor-new 2025-06-03 00:36:17 +08:00
Tienson Qin
17f5e9127c fix: don't collapse blocks in list views if there's no children 2025-06-02 23:48:35 +08:00
Gabriel Horner
1c86338f8f fix: outliner lint 2025-06-02 11:30:11 -04:00
Gabriel Horner
5142030912 fix: property name allows page ref characters when editing
that are disallowed at creation time. We should be consistent with
our validation of property names
2025-06-02 11:17:13 -04:00
Gabriel Horner
6d2e2b0e62 fix: remove outdated built-in? check
We don't have lazy loading issues here anymore
2025-06-02 10:28:38 -04:00
Gabriel Horner
75104470ab fix(regression): page properties not working for
hide empty, hide by default and ui position
Fixes https://github.com/logseq/db-test/issues/293
2025-06-02 10:08:01 -04:00
Gabriel Horner
ec668757fe fix(dev): exclude long running test in db dep
e.g. `yarn test -e long`
2025-06-02 09:42:49 -04:00
charlie
48d541acd0 Merge branch 'master' into feat/capacitor-new 2025-06-02 20:05:31 +08:00
Tienson Qin
c2d5214d13 fix: avoid flickr when editing another block 2025-06-02 16:34:27 +08:00
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