Commit Graph

15097 Commits

Author SHA1 Message Date
charlie
980c50090e fix(mobile): images gallery 2025-06-04 14:09:58 +08:00
charlie
9422367137 fix(mobile): card modal for android 2025-06-04 14:03:47 +08:00
Tienson Qin
e7fb39b0ff fix: keep using shui popup for editor commands 2025-06-04 08:50:26 +08:00
Tienson Qin
5265e7bf1a wip: use ionic modal instead of shui popup on mobile 2025-06-04 08:06:08 +08:00
Tienson Qin
b07993cba1 fix: mobile check 2025-06-04 05:42:59 +08:00
Tienson Qin
3e9945a5be fix: disable dragging pages on mobile 2025-06-04 05:21:31 +08:00
Tienson Qin
deb2ff554e enhance: click to select/unselect when there're selected blocks
on mobile
2025-06-04 05:17:56 +08:00
Tienson Qin
536837a98c fix: drag && drop 2025-06-04 03:44:18 +08:00
Tienson Qin
f0c18d33b1 fix: don't notify copied on mobile 2025-06-04 00:22:19 +08:00
Tienson Qin
f1eb0f6cd5 fix: don't clear selection when clicking a block or outside 2025-06-03 23:40:37 +08:00
Tienson Qin
b9290b81b1 fix: keyboard re-opens when editing another block 2025-06-03 21:58:09 +08:00
charlie
7e7e50f3c0 fix(mobile): animmation for the card modal 2025-06-03 20:56:40 +08:00
Tienson Qin
942f64b45f fix: keep keyboard open when deleting block 2025-06-03 20:53:40 +08:00
Gabriel Horner
ba168f0770 fix: error if user uses an outdated frontend
that isn't compatible with the db graph's current version
Fixes
https://test.logseq.com/#/page/6837281e-46c4-415c-a8d3-191ceeaff97a
2025-06-03 20:45:54 +08:00
charlie
433a5405fc fix(mobile): tab bar state 2025-06-03 19:34:43 +08:00
charlie
ca21bd271a fix(mobile): card modal backdrop for ios 2025-06-03 19:01:26 +08:00
charlie
32cb37cdb2 fix(mobile): card modal backdrop for ios 2025-06-03 18:34:15 +08:00
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