Commit Graph

14841 Commits

Author SHA1 Message Date
Tienson Qin
67a130570d fix: share modal across tabs 2025-06-03 18:29:04 +08:00
Tienson Qin
69fce60cf3 disable search modal 2025-06-03 18:20:23 +08:00
Tienson Qin
7f2d83607c fix: move modal to pages 2025-06-03 18:13:26 +08:00
charlie
f2fbe9ff2b fix(mobile): mobile toolbar for dark mode 2025-06-03 12:20:19 +08:00
charlie
d3c15abf1c enhance(mobile): sync system theme mode 2025-06-03 12:02:01 +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
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
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
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
06d7ed9b40 enhance: address suggestions from gabriel and zhiyuan 2025-06-02 11:13:43 +08:00
Tienson Qin
f28fe9ce94 update db worker 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
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
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
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
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
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
06b43ba5b7 fix(regression): publishing not starting
Weird loading issue for publishing with :block/tags. Put in workaround
for now. Also disabled more rtc tasks for publishing
2025-05-29 15:29:26 -04:00
Tienson Qin
ecaf7fc0ae fix: clear selection when swipe to toggle a selected block 2025-05-30 02:52:30 +08:00