Commit Graph

16908 Commits

Author SHA1 Message Date
scheinriese
def3dfb233 Implement V3 shortcut customization popover with two-tier conflict detection
Rewrite the shortcut customization UI from a modal dialog to an inline
popover with a state machine (idle → recording → accepted/conflict).
Add cross-context conflict awareness with amber warnings for non-blocking
conflicts across handler groups, while keeping red blocking conflicts for
same-context collisions. Redesign Esc/Backspace semantics for consistency:
Esc always closes, Backspace always removes. Add Radix tooltip on Reassign
button and polish spacing, animations, and feedback banners.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:45:58 +08:00
scheinriese
7f8c11680a Polish shortcut redesign: remove interactive prop, wire up press animations
- Remove unused `interactive?` prop from shortcut component and all call sites
- Trigger `shortcut-press!` animation when shortcuts are invoked
- Update shortcut settings UI to use `shui/shortcut` instead of raw `<code>` elements
- Fix shortcut key min-width (fit-content → 20px) for consistent sizing
- Pass raw-binding through `render-keyboard-shortcut` for data attribute matching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 20:45:58 +08:00
scheinriese
67c123b4ed Redesign keyboard shortcut component with 3 display modes
Replace the single-style shortcut renderer with a new component
supporting combo (simultaneous keys), separate (sequential keys),
and compact (text-only) display styles with auto-detection.

- Add shortcut-press! for triggering key press animations via DOM
- Add CSS for all 3 styles with glow effects and reduced-motion support
- Update CMD+K to use v2 styles and press animations on Enter/Cmd+C
- Add accessibility defaults (interactive?/aria-hidden?) to consumers
- Remove old v1 namespace, consolidate under logseq.shui.shortcut
- Remove unused size/theme/animate-on-press? params from API
2026-03-13 20:45:58 +08:00
Tienson Qin
0e4d32d218 fix: tests 2026-03-13 18:48:45 +08:00
Tienson Qin
84965424a9 fix: gate graph when it's not ready for downloading 2026-03-13 18:22:16 +08:00
Tienson Qin
0193fddc26 fix: lint 2026-03-13 17:44:54 +08:00
Tienson Qin
eeabd54d87 refactor: graph download switch to use r2 snapshot 2026-03-13 16:43:54 +08:00
charlie
546499ef04 fix(ui): updateBlock plugin API does not update UI https://github.com/logseq/db-test/issues/771 2026-03-13 16:09:06 +08:00
megayu
adbaf10abc chore: tech stack upgrade (#12448)
* fix(lint): make worker/frontend separation lint work on Windows

* chore: update cljs:electron-watch script to include test flag

* chore: remove dead root dependencies

* chore(deps): converge better-sqlite3 to 12.6.2 across deps packages

* chore(deps): converge fs-extra to ^11.3.0 across package roots

* fix(test): correct parameters for create-if-not-exists function

* chore(deps): converge cljs-bean to 1.9.0 across deps roots

* fix(tests): escape regex in cljs:run-test script

* chore: pin root packageManager to yarn 1.22.22

* chore(build): replace del with fs.rmSync in gulp clean

* chore(build): replace npm-run-all with npm-run-all2

* chore(security): upgrade dompurify and unify sanitizer path

* chore(observability): upgrade web sentry to 8.x

* chore: remove unused react-draggable dependencies

* chore(ci): fix windows release artifact collection

* fix(build): create static dir before gulp clean scans it

* fix: update nbb-logseq dependency to version feat-db-v33

* fix(test): move start-time initialization after clone repo

* fix(deps): update nbb dependencies and adjust test script paths to compatible with windows path delimiter

* chore(deps): remove dead meander dependency

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-03-13 13:20:49 +08:00
Charlie
ffb82f1ccc fix(login): simplify user login handling for native platforms 2026-03-13 20:41:41 +08:00
Tienson Qin
fe1e41f571 fix: tests 2026-03-12 20:59:09 +08:00
Tienson Qin
ba62af5e38 fix(sync): don't sync upload metadata tx 2026-03-12 20:19:01 +08:00
Tienson Qin
81d1ded924 fix(sync): gate rtc until snapshot upload finishes 2026-03-12 20:00:29 +08:00
Tienson Qin
880d7d2c3f fix(rtc): isolate e2ee import temp pool 2026-03-12 17:51:23 +08:00
Tienson Qin
1b4943350b fix(rtc): reduce e2ee import finalize memory 2026-03-12 17:51:23 +08:00
Tienson Qin
f538491096 chore: reduce test noise and infer warnings 2026-03-12 17:51:23 +08:00
Tienson Qin
ae11f615a5 fix: clear old db when importing datoms for encrypted graphs 2026-03-12 17:51:23 +08:00
Tienson Qin
80b48b7b86 enhance(rtc): improve snapshot import progress 2026-03-12 17:51:23 +08:00
Tienson Qin
98e262d118 fix: reduce memory usage when encrypting large graph 2026-03-12 17:51:23 +08:00
Tienson Qin
d8e7032e78 fix(search): make index build non-blocking 2026-03-12 17:51:23 +08:00
Tienson Qin
c2512fe355 fix: stop workers when hot-reload 2026-03-12 17:51:23 +08:00
Tienson Qin
f6b5a100d6 fix(sync): stream snapshot import batches 2026-03-12 17:51:23 +08:00
Tienson Qin
0007c48003 fix(sync): close failed import setup dbs 2026-03-12 17:51:23 +08:00
Tienson Qin
6c3a94ea04 fix(sync): isolate chunked import sessions 2026-03-12 17:51:23 +08:00
Tienson Qin
59ab42598b fix(sync): invalidate stale search state on rtc import 2026-03-12 17:51:23 +08:00
briansunter
0594088149 fix(sync): use named search-db-version constant for FTS index versioning
Replace pos?/zero? checks with exact version comparison against a
search-db-version constant. Bumping the constant will auto-trigger
rebuilds when the index format changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 17:51:23 +08:00
briansunter
7679e73b0d fix(sync): chunked import and search rebuild fixes 2026-03-12 17:51:23 +08:00
Charlie
1b0db68098 enhance(ux): align for the image asset block container (#12425)
* feat(asset): add alignment options for images
* enhance(ux): select block for the action of double click in the image asset container
* enhance(asset): change alignment property type from string to keyword and normalize alignment handling
2026-03-12 11:18:51 +08:00
Tienson Qin
6e08f7b187 fix: remote block create split across batches 2026-03-12 08:08:01 +08:00
Mega Yu
1c351aebff feat: add code snippet extraction functionality in exporter and UI options 2026-03-11 15:44:12 -04:00
Tienson Qin
c1a9bee798 fix: undo should skip conflicted move instead of clearing stack 2026-03-11 17:36:21 +08:00
Tienson Qin
7c5146afcd fix(sync): improve undo/redo merge reliability 2026-03-06 00:05:45 +08:00
Tienson Qin
e7e731310f Revert "fix(sync): simplify remote tx + undo/redo reliability logic"
This reverts commit 4c307da6d6.
2026-03-06 00:03:59 +08:00
Tienson Qin
4c307da6d6 fix(sync): simplify remote tx + undo/redo reliability logic 2026-03-05 23:09:00 +08:00
Tienson Qin
722871c2c0 add undo redo sim tests 2026-03-05 18:48:41 +08:00
Tienson Qin
a092470392 enhance: copy as/export add open blocks only 2026-03-05 18:23:42 +08:00
Tienson Qin
7d85525373 add classes and properties to simulation tests 2026-03-05 18:07:10 +08:00
Tienson Qin
2faa65a45e sim tests full coverage for outliner ops 2026-03-05 17:51:52 +08:00
Tienson Qin
7251c3779e add cut paste to simulation tests 2026-03-05 17:38:58 +08:00
Tienson Qin
4bf39b576b fix(regression): journal title shouldn't be updated 2026-03-05 17:26:05 +08:00
Tienson Qin
a7e015b0ad fix: lint 2026-03-05 17:18:35 +08:00
Tienson Qin
7cddf537da fix: cut paste lost children after synced 2026-03-05 17:08:49 +08:00
Tienson Qin
7cef3c749e remove ws connect timing metric 2026-03-05 16:53:46 +08:00
Tienson Qin
e0d821e34e add tx-meta to invalid data error report 2026-03-05 14:56:01 +08:00
megayu
6263ba06d9 Fix unnecessary highlighted snippets in [[]] block search results (#12421)
* fix [[]] block search render unnecessary highlight snippt

* match the name of the test with the corresponding fact
2026-03-04 21:31:56 +08:00
Tienson Qin
a0b109399d fix: ui keep refresh with custom journal format 2026-03-04 20:27:06 +08:00
charlie
ffdc77c5c4 enhance(ui): polish settings item alignments 2026-03-04 17:18:02 +08:00
Mega Yu
ad0363c86e remove keyboard acceleration feature and related tests 2026-03-04 11:04:17 +08:00
Mega Yu
e73bbe86cc add a toggle switch to enable/disable the continuous key press acceleration feature 2026-03-04 10:43:39 +08:00
megayu
e01e62cd63 Merge branch 'master' into enhance/search 2026-03-03 20:11:33 +08:00