Commit Graph

889 Commits

Author SHA1 Message Date
rcmerci
bcab738d52 fix(rtc): refresh ui component after asset-file writing finished 2025-06-05 00:43:52 +08:00
Tienson Qin
4d112d242c fix: cursor moves to main area when using keyboard to delete blocks
in sidebar
2025-06-05 00:39:14 +08:00
Tienson Qin
7d5b72b896 fix: cursor moves to main area after deleting selection from sidebar 2025-06-05 00:39:14 +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
ce791172ab fix: lint 2025-05-29 00:39:51 +08:00
Tienson Qin
146c04fcce fix: don't exit editor until another block's editor is ready
This fixes flickering or hiding of the system keyboard between input
transitions on mobile.
2025-05-24 06:18:46 +08:00
Tienson Qin
6182c2f36a fix: e2e tests 2025-05-20 01:44:44 +08:00
Tienson Qin
38267ece78 chore: remove debug 2025-05-15 21:30:43 +08:00
Tienson Qin
0d99eea39f chore: remove @logseq/capacitor-file-sync and capacitor fs 2025-05-13 19:17:09 +08:00
Tienson Qin
de88511bda chore: remove nfs support
Assets will be stored in IndexedDB through memory fs on web.
2025-05-13 18:40:58 +08:00
Tienson Qin
68417bbb01 enhance(ux): table row/cell navigation (#11837)
* enhance(ux): up/down to navigate table rows

* enhance: remove block id+uuid class

Use `blockid`.

* enhance: arrowleft to select cell when a table row has been selected

* wip: table cell navigation

* feat: up/down/left/right table cell navigation

* enhance(ux): scroll to cell when it's not visible

* fix: save block content when exit title cell popup

* fix: table keyboard navigation doesn't work on virtualized table

The solution is to preload more rows for virtualized tables.
2025-05-02 05:47:58 +08:00
Gabriel Horner
6a635ecb49 refactor: mv common ns out of db ns
Also move common and file fns out of db ns. Cleanup allows
for better separation linting
2025-04-28 10:37:13 -04:00
Tienson Qin
cdb7c17a8e Merge branch 'feat/db' into fix/multiple-tabs 2025-04-23 22:28:58 +08:00
rcmerci
048bd106f6 enhance(rtc): try to restart-rtc when network-online event emits 2025-04-23 17:10:03 +08:00
Tienson Qin
c6f3746596 fix: update editing block title if it's changed on db
Usually, it can happens when there're multiple tabs or clients editing
the same block at the same time.
2025-04-23 07:58:57 +08:00
Tienson Qin
1778af6105 per-tab undo redo 2025-04-16 00:37:08 +08:00
Tienson Qin
3afd7f68e8 fix: editing large code block select it 2025-04-09 17:56:47 +08:00
Tienson Qin
4169f20a28 Merge branch 'feat/db' into perf/app-start 2025-04-07 20:06:45 +08:00
Tienson Qin
60bcefb979 replace derived-atom with flow 2025-04-07 09:18:27 +08:00
Tienson Qin
d959193a05 sub-block-selected uses flow 2025-04-07 09:03:56 +08:00
rcmerci
17ef19325a enhance: sub-editing? add use-memo, use-callback 2025-04-07 01:11:46 +08:00
rcmerci
c93376b98b enhance: update sub-editing? 2025-04-06 20:17:52 +08:00
Tienson Qin
885f198506 fix: transducer 2025-04-06 19:36:41 +08:00
Tienson Qin
acbb19e8c3 sub-editing? uses flow 2025-04-06 19:32:17 +08:00
rcmerci
5288f171ef enhance: add use-flow-state hook 2025-04-04 22:17:46 +08:00
Tienson Qin
b39a81db17 fix: lint 2025-04-04 21:39:29 +08:00
Tienson Qin
d3c0ecc257 fix: copy unloaded blocks
This commit also fixs:
1. load block when clicking at bullet
2. copy linked block as markdown
2025-04-04 10:03:15 +08:00
rcmerci
d05a8ac07f enhance: replace atom blocks-ast-cache by lrucache 2025-04-03 22:14:27 +08:00
rcmerci
1c24fff543 fix: mem leak in *key->atom 2025-04-03 21:18:20 +08:00
Tienson Qin
5923f24f56 fix: lint and test 2025-03-31 22:38:34 +08:00
Tienson Qin
1aca680ae4 Merge branch 'feat/db' into perf/app-start 2025-03-31 21:53:37 +08:00
rcmerci
12e6284bbe refactor: add <invoke-main-thread 2025-03-28 21:49:05 +08:00
rcmerci
4b939e8265 fix: support args direct-passthrough to db-worker
:thread-api/import-db's arg is a js arraybuffer, which is unable to be transit-write
2025-03-27 16:44:43 +08:00
rcmerci
5a87b609a5 refactor: use <invoke-db-worker to replace @*db-worker 2025-03-26 19:04:22 +08:00
Tienson Qin
ea7836ba15 perf: virtualized journals 2025-03-21 17:28:50 +08:00
Tienson Qin
2a016b5134 enhance(ux): batch set text/url/checkbox properties 2025-03-11 06:58:01 +08:00
Tienson Qin
449f6cf700 fix: batch set tag on view selected blocks 2025-02-28 19:19:09 +08:00
Tienson Qin
3ba14c6051 enhance: show selection action bar on mouse up 2025-02-28 17:01:09 +08:00
Tienson Qin
e93417be56 fix: prefer kv/graph-uuid to determine whether a rtc graph 2025-02-24 22:31:27 +08:00
Tienson Qin
2415270fad fix: display sync icon only if current graph is an rtc one 2025-02-24 17:07:02 +08:00
Tienson Qin
3ceb147451 fix: Can't see selection in expanded block ref in sidebar
fixes LOG-3199
2025-02-20 20:51:29 +08:00
charlie
31e022f6e0 enhance(ux): persist custom shortcuts for web platform 2025-02-17 15:53:49 +08:00
Gabriel Horner
e61f046be5 fix: publishing failing to load on undefined LSPluginCore
Plugins shouldn't be on for publishing. Moved PUBLISHING to
common-config as it is now relied on by frontend.util. Also removes
needless state/publishing? and its wonky initialization
2025-01-16 11:44:05 -05:00
charlie
d0cd4c2e1e enhance(plugin): auto updates for web plugins 2025-01-08 13:15:26 +08:00
charlie
7d27651a48 fix(plugin): persist theme mode for web theme 2024-12-29 17:15:27 +08:00
charlie
91ef984f7a Merge branch 'feat/db' into enhance/plugin-web 2024-12-28 11:48:58 +08:00
rcmerci
d36f1c35f2 perf: cache d/entity result for immutable entities 2024-12-27 19:46:07 +08:00
charlie
720739b097 enhance(plugin): basic plugin setup for web platform 2024-12-24 16:26:45 +08:00
Charlie
630c077c02 Enhance(UX): left sidebar (#11649)
* chore(ui): add sidebar related components

* chore(shui): add sidebar core

* enhance(ui): WIP polish left sidebar

* enhance(ui): polish opacity value

* enhance(ui): remove unnecessary css

* enhance(ui): simplify the left sidebar related css

* enhance(ui): polish left sidebar navigations

* enhance(ui): polish navigations items

* enhance(ui): polish graphs picker from the left sidebar

* enhance(ui): polish graphs selector

* enhance(ui): graphs dropdown content

* enhance(ux): create new page for the graphs selector section

* enhance(ui): remote icon for the graphs selector

* enhance(ui): polish sidebar navigations filter

* fix(ui): background color for the left sidebar

* enhance(ui): refactor names related with the left sidebar

* enhance(ux): WIP configurable navigations from the left sidebar

* enhance(ux): configurable navigations popup

* enhance(ux): persist user navigations from the left sidebar

* fix(ui): bad graph selector type icon

* fix: lint

* fix: lint

* enhance(ui): polish details for the left sidebar

* chore: remove shadcn sidebar component

* chore: remove shadcn sidebar related component

* fix(ui): text overflow for the page name item
2024-12-19 15:00:52 +08:00