Repository navigation
[popover] Fix focus guard loop when the trigger is the only tabbable element - #5733
Merged
Merged
Conversation
commit: |
Bundle size
PerformanceTotal duration: 994.57 ms -127.38 ms(-11.4%) | Renders: 76 (+0) | Paint: 1,670.55 ms -198.10 ms(-10.6%)
12 tests within noise — details Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
atomiks
marked this pull request as ready for review
September 16, 2026 23:53
atomiks
requested review from
colmtuite,
flaviendelangle,
jjenzz and
michaldudak
as code owners
September 16, 2026 23:53
atomiks
force-pushed
the
claude/github-issue-5715-56606f
branch
from
September 18, 2026 05:40
362f4ad to
1030fc6
Compare
michaldudak
added a commit
to michaldudak/base-ui
that referenced
this pull request
Oct 5, 2026
The whole return policy lived in a closure inside FloatingFocusManager's return-focus layout effect, so each of its rules (the mui#5733 guard handoff, the mui#2607 "focus moved elsewhere" rule, explicit return focus, the aria-hidden skip, the passive session, the inert-aware target chain) could only be tested by rendering a real popup in Chromium and waiting. `floating-ui-react/utils/returnFocus.ts` now holds that policy as plain functions over sampled facts: - `getCloseIntent(request, interactionType, pressed, preventScroll)`: what the close meant, including how an outside press settles; - `getDefaultReturnTarget(session)` / `getReturnTarget(...)`: the usable target chain, the parent link and the focused-before history; - `getReturnFocusAction(session, intent, ...facts)`: focus with options, blur, or nothing. The focus manager keeps the scheduling and the side effects: the cleanup snapshot, the microtask, the release wait and settle timer, focus()/blur(), and the closed-return-target context. The module header records the React orderings the facts depend on. Platform facts are inputs; the preventScroll probe stays uncached and lazy because tests stub `focus`. A jsdom table test covers plan-c's per-close-path rows, including the negatives that the Chromium suite could only check with `wait(50)`. The Chromium tests stay as integration tests of the timing the table can't see. No behaviour change.
michaldudak
added a commit
to michaldudak/base-ui
that referenced
this pull request
Oct 7, 2026
The whole return policy lived in a closure inside FloatingFocusManager's return-focus layout effect, so each of its rules (the mui#5733 guard handoff, the mui#2607 "focus moved elsewhere" rule, explicit return focus, the aria-hidden skip, the passive session, the inert-aware target chain) could only be tested by rendering a real popup in Chromium and waiting. `floating-ui-react/utils/returnFocus.ts` now holds that policy as plain functions over sampled facts: - `getCloseIntent(request, interactionType, pressed, preventScroll)`: what the close meant, including how an outside press settles; - `getDefaultReturnTarget(session)` / `getReturnTarget(...)`: the usable target chain, the parent link and the focused-before history; - `getReturnFocusAction(session, intent, ...facts)`: focus with options, blur, or nothing. The focus manager keeps the scheduling and the side effects: the cleanup snapshot, the microtask, the release wait and settle timer, focus()/blur(), and the closed-return-target context. The module header records the React orderings the facts depend on. Platform facts are inputs; the preventScroll probe stays uncached and lazy because tests stub `focus`. A jsdom table test covers plan-c's per-close-path rows, including the negatives that the Chromium suite could only check with `wait(50)`. The Chromium tests stay as integration tests of the timing the table can't see. No behaviour change.
michaldudak
added a commit
to michaldudak/base-ui
that referenced
this pull request
Oct 12, 2026
The whole return policy lived in a closure inside FloatingFocusManager's return-focus layout effect, so each of its rules (the mui#5733 guard handoff, the mui#2607 "focus moved elsewhere" rule, explicit return focus, the aria-hidden skip, the passive session, the inert-aware target chain) could only be tested by rendering a real popup in Chromium and waiting. `floating-ui-react/utils/returnFocus.ts` now holds that policy as plain functions over sampled facts: - `getCloseIntent(request, interactionType, pressed, preventScroll)`: what the close meant, including how an outside press settles; - `getDefaultReturnTarget(session)` / `getReturnTarget(...)`: the usable target chain, the parent link and the focused-before history; - `getReturnFocusAction(session, intent, ...facts)`: focus with options, blur, or nothing. The focus manager keeps the scheduling and the side effects: the cleanup snapshot, the microtask, the release wait and settle timer, focus()/blur(), and the closed-return-target context. The module header records the React orderings the facts depend on. Platform facts are inputs; the preventScroll probe stays uncached and lazy because tests stub `focus`. A jsdom table test covers plan-c's per-close-path rows, including the negatives that the Chromium suite could only check with `wait(50)`. The Chromium tests stay as integration tests of the timing the table can't see. No behaviour change.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Oct 30, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Oct 31, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Oct 31, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 1, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 2, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 3, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 3, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 4, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 11, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 11, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 12, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 12, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 13, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 14, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 15, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 16, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 16, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 17, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 17, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 18, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 18, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 18, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 18, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 18, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 18, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 19, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
yuxi-liu-wired
added a commit
to yuxi-liu-wired/logseq
that referenced
this pull request
Nov 19, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
tiensonqin
pushed a commit
to logseq/logseq
that referenced
this pull request
Nov 20, 2026
1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0.
tiensonqin
added a commit
to logseq/logseq
that referenced
this pull request
Nov 20, 2026
* fix: canonicalize vector references in outliner history (#14031) * fix: canonicalize vector references in outliner history * fix: distinguish mixed tag vectors from lookup refs * Hotfix for nb-no.edn. * fix: update Hono security resolutions * fix: recover malformed references during DB sync replay * fix: preserve recovered references across sync rebases * fix: keep recorded reference metadata when rebasing sync ops A rebased payload lost its reference metadata when its history was derived again, so the next pull could not recover the nil references. Keep the metadata recorded with the payload instead of rewriting the replayed ops from the saved entity. Define the failed operation index on kind so the failed count query uses it. * fix: keep links of references recovered from nil refs A pending save whose refs were stored as nil usually has no created-refs metadata, so replay treated its references as retracted and rewrote the links to plain text. Replay recreates those references, so leave the title untouched, and reject reference metadata without a uuid. * fix: unlink deleted references next to recovered nil refs A nil in a pending save made replay keep the link of every recorded reference, including one that is still listed in the refs and was deleted remotely. Keep only the links of references hidden behind the nil. * Add Tab completion and group-name search for slash commands (#12592) * feat: add slash command group search * fix: preserve slash command groups in filtered results * fix(test): correct French label in slash command fixture --------- Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(libs): refresh bundled dependencies and rebuild SDK 0.3.6 (#14052) * fix(libs): refresh bundled dependencies for SDK 0.3.5 Update DOMPurify and Lodash ES, refresh the lockfile, and record the SDK release to address #13970. * fix(libs): rebuild SDK 0.3.6 from current master Include the current SDK fixes and APIs in the refreshed release bundle. * fix: update packaging minimatch dependency * fix(libs): remove plugin SDK cycles * fix(libs): address SDK cycle review feedback * fix(libs): restore plugin SDK getter types * fix(plugin): remember last unpacked plugin directory The "Load unpacked plugin" dialog previously opened with no defaultPath, so the OS picker fell back to whatever location it remembered for that dialog purpose — often unrelated to the user's plugin folder. Persist the last picked path in local storage and pass its parent as defaultPath on subsequent opens, so the picker lands next to sibling plugin folders. * fix(plugin): handle mixed and stale unpacked plugin paths * fix: restore PDF viewer data-page after reload Retry document title and body data-page once the graph is restored and db-worker is ready. Initial routing can run before the worker exists, leaving data-page unset and breaking PDF viewer geometry. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * refactor: inline route restoration effect * fix: surface DB graph download failures in the UI (#13050) * fix: surface DB graph download failures in the UI Desktop download errors were only logged. Pre-worker failures left progress stuck on "Preparing graph snapshot download", and worker fetch-pull failures hid the indicator with no toast. Emit download-completed and show the real error on every failure path, while keeping the E2EE wrong-password toast. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: isolate graph download failure handling Co-authored-by: Cursor <cursoragent@cursor.com> * fix(test): remove obsolete and redundant download failure tests --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(paste): drop text paste when the editor exits before the clipboard resolves Pasting into a block editor goes through paste-copied-blocks-or-text, which awaits the copied-blocks lookup (the async clipboard read, or a promise even for the in-memory copy) before pasting. The text path then re-read the edit input id inside paste-copied-text's replace-text-f. If the user pressed Escape or the textarea was replaced (e.g. the block turned into a code block) in the meantime, the id was nil or pointed at a different editor; commands/simple-insert! read the value of a missing element and subs threw "Cannot read properties of undefined (reading 'substring')", surfacing as "Paste failed". A key fuzzer hit this with Escape or /code right after Control+v. Capture the edit input id when the paste event fires and paste the text only if that same input is still the edit input once the clipboard resolves; otherwise drop it. The internal block paste path is unchanged: paste-blocks with no edit block builds no ops and does not throw. Add regression tests for the editor exiting and another editor opening before the clipboard resolves, plus a control where the editor stays open. Existing text-path paste tests now stub an edit input id, since none exists under node. * fix(paste): drop stale text paste after editor remount * fix(db): keep $ in page titles when replacing id refs Titles were passed as string/replace replacements, so $$, $&, $` and $' in a page title were expanded as JS replacement patterns. * fix: rebind highlight recent blocks away from restart The default chord ended in mod+r, which Electron's View menu reload accelerator (Ctrl+R on Windows) intercepts before the chord can finish. Move the command onto t h, matching the other UI toggle shortcuts. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * style: separate deftest from comment block Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: show query table horizontal scrollbar on first paint overflow-x:auto was computing overflow-y to auto on auto-height table rows, which clipped the horizontal scrollbar until a later reflow such as column reorder or wide mode. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: stop foldable overflow from clipping table scrollbar Expanded query tables keep foldable overflow visible so the reserved horizontal scrollbar is not clipped on first paint. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: deref table overflow class in unit test Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: correct e2e overflow helper parens Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: dedupe table overflow fix, drop implementation-detail test - Pin overflow-y via the existing Tailwind class list instead of a duplicate rule in table.css - Keep the class list inline; the private def existed only to be asserted by the removed unit test - Drop redundant overflow:hidden inside .is-collapsed (base rule already applies whenever the expanded-foldable override does not) - Remove table-rows-keep-horizontal-scrollbar-overflow: it asserted a string constant's contents (implementation detail); the e2e test covers the real computed-style contract Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: preserve table scrollbars within collapsible groups Limit the overflow override to expanded direct children and allow wide tables to shrink within their grid track. Remove the redundant vertical overflow change and implementation-coupled scrollbar test. * fix: keep :current-page on host page when zoomed (#13558) * fix: keep :current-page on host page when zoomed Zoomed block routes were supplying the block title as :current-page-title, so advanced queries with :inputs [:current-page] missed the host page or matched a same-named page. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: refresh zoomed query context after page rename --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: preserve Text property descendants and export filters (#13573) * fix: include Text-property value children in selected-block Text export Selected-block Copy / Export as Text omitted children of Text/:default property values because get-content-config did not enable the existing property-value-blocks path. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test: expect Text property values as nested blocks in selected-block export get-content-config now expands Text/:default values as blocks, so the selected-block Text export assertion matches that format. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix(export): preserve property hierarchy and recursive filters --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: keep table search mounted during view-data refetch (#13590) * fix: keep table search mounted during view-data refetch Search input is part of the view resource key. Clearing previous paint on every key change unmounted the toolbar and reset show-input?. Keep the last payload for search-only refetches, and keep the field open when a query is already present. Fixes logseq/db-test#1398 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test: cover table search focus during debounced refresh --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: refresh descendant children membership after ancestor restore (#13577) * fix: refresh descendant children membership after ancestor restore Recycle-chain membership hid nested page bodies, but restore deltas only patched directly changed entities. Walk descendants when deleted-at changes so already-open child pages get their children slots back. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: refresh nested children when a subtree crosses Recycle Walk descendants only when a changed entity's recycle-chain flips, so moving a live subtree into or out of a recycled ancestor updates nested children slots without scanning live-to-live moves. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: avoid repeated subtree scans and support orderless children --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: toggle export option checkboxes on inner clicks (#13659) * fix: toggle export option checkboxes on inner clicks Read checkbox state from currentTarget so clicks on the checkmark uncheck as reliably as clicks on the box border. Add a clj-e2e test that checks and unchecks export options. Fixes logseq/db-test#1418 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: detect export checkbox state from aria-checked Base UI checkboxes expose aria-checked and data-checked, not data-state. Reading data-state made every click look like a check. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: avoid shadowing newline in export e2e test Co-authored-by: Tienson Qin <tiensonqin@gmail.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> * fix(sync): fetch self-hosted snapshots from the configured server (#13824) * fix(sync): fetch self-hosted snapshots from the configured server The node adapter built the snapshot stream URL from the origin it saw, which is http unless DB_SYNC_BASE_URL is set. Desktop then failed that follow-up fetch with "Failed to fetch" after metadata and the E2EE key request had already succeeded. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test(sync): simplify snapshot URL contract tests --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * Keep journal identity when saving custom-format date links (#13441) * fix: keep journal identity when saving custom-format date links Existing journals keep a default-format :block/name. /today and other date refs can carry a custom title-format name/title; rebinding that map onto the journal UUID proposed a protected rename and left the editor stuck. Resolve those refs by identity only, reuse stored journal title/name when parsing, and compare stored attrs in the protected-attrs guard. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix(outliner): skip recycled journals when resolving page refs Recycled journals still carry :block/journal-day and their Journal tag, so existing-journal-page would bind refs to a deleted page and bypass outliner-page/create's restore path. Only treat live journals as existing; refs to recycled ones fall through to create which restores them via restore-tx-data. * refactor: drop redundant :block/name fallback for journal pages :block/name is not entity-computed, so the datom read already returns the same value the entity lookup would. * fix(outliner): restore recycled journals matched by stored name A recycled journal found via ldb/get-page by :block/name bound the ref to the deleted page with no restore; route journal matches to create instead. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: preserve class references when resolving journal links --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: megayu <yuhg2310@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Cache Maven dependencies in database CI * fix: show clear heading after slash heading (#13818) * fix: show clear heading after slash heading The slash menu hid Clear heading from the edit snapshot taken when editing started. /h1 writes the heading on the live block, so the next slash menu follows that heading. Co-authored-by: tiensonqin <tiensonqin@gmail.com> * fix(editor): handle heading snapshot states during editing Surface heading subscription errors and limit snapshot fallback to loading. Replace helper-only coverage with the existing headless UI regression test for heading changes within one edit session. --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(editor): release input capture after stale insert responses (#13578) * fix: recover page title editing after slash validation A refused page-title save left :editor/pending-new-block set, so keydown-not-matched-handler swallowed letter keys for the rest of the session. Recover the editor after the notification and keep titles editable. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: keep page-title e2e focused after slash toast Type letters in the still-focused title first. Dismissing the toast moves focus to the close button, which is not the stuck-letter path. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: keep pending insert text across editor switch clear-edit! must not drop :editor/pending-new-block. An in-flight Enter insert still consumes that typed-ahead buffer after the user clicks another block. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: drop pending insert capture after stale-route skip When navigation changes repo or route, apply-outliner-ops skips the insert editor callback. Clear :editor/pending-new-block there so letter keys are not swallowed in the next editor. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: clear only the matching pending insert buffer A stale insert response must not wipe letters buffered for a later Enter insert. Tag each pending buffer with an id and clear it only when that id is still current. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: avoid flaky toast-close click in page-title e2e The slash validation toast intercepts the close button. Keep typing in the title instead of dismissing the toast first. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix(editor): preserve newer input when saves fail --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: align page property columns with adaptive key widths (#13043) * fix: align page property value columns Page property rows each used a per-row fit-content key column, so mixed key lengths started values at different x positions. Use a shared 160px key column, a fixed type-icon slot, and a reserved value-bullet gutter. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: align adaptive page property columns * fix: return a serializable property reorder result * fix: keep hidden property labels and datetimes readable --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * test: wait for graph time travel playback to finish (#14065) * ci: cache Maven dependencies in the remaining Clojure jobs (#14064) Jobs that set up Clojure without a ~/.m2 cache download every Maven dependency from Maven Central on each run, and Maven Central answers bursts with 429 Too Many Requests, which fails the job before any test runs. On 2026-11-18 that failed five PR runs: logseq/cli CI test twice (Compile query integration worker), CI db-graph-test once, logseq/db CI lint and test once each (on branches from before 28a0b11). 28a0b11 added a Maven cache to deps-db.yml. This adds the same step, after "Set up Clojure", to every other job that sets up Clojure and has no ~/.m2 cache: build.yml lint and db-graph-test, deps-cli.yml test, deps-outliner.yml, deps-db-sync.yml and deps-publishing.yml test and lint, deps-publish.yml test and lint, and cli-sync-stress.yml. The key follows deps-db.yml's (runner OS, workflow, job, Java, Clojure and Babashka versions) and hashes every deps.edn, nbb.edn and bb.edn in the repository, since these jobs read the root and several deps/ packages. Release jobs (deps-cli.yml release, deps-publish.yml build-release) are left as they are, since what they build is published. build.yml's test and cli-e2e jobs already had a cache and are unchanged. * fix: wait for page-ref navigation in editor E2E tests (#14066) * fix: wait for page-ref navigation in editor E2E tests * fix: keep exact page title check after navigation wait * test: diagnose volatile property upsert failures (#14057) * test(cli): trace create-tree ID resolution failures (#14061) * test(cli): trace create-tree ID resolution failures * fix(cli): register shared stress trace keywords * test: wait for the new numbered-list editor before pressing Enter (#14067) * fix: sync stored journal titles with custom title format (#14059) * fix: synchronize stored journal titles with title format * fix: fall back to page name when no journal matches current format * fix: require exact current-format title for journal lookup * fix: reindex search after journal title migration * fix: keep journal names in sync with title format * fix: preserve imported journal block creation dates * fix: retain journal page timestamps with uuid indexing * fix: support journal name swaps on format changes * fix: refresh Settings journal format after undo * fix: read stored journal titles consistently * fix: exclude journal format changes from undo history * fix: use current title format for built journals * fix: align desktop interaction and rendering parity * fix: save and exit editing when selecting all blocks * fix: align right sidebar control typography and colors * fix(ui): align settings, plugins, login, and graphs * fix(ui): preserve palette modifiers and shell focus * fix(ui): reference breadcrumb, caret and filter popup parity * fix(ui): reset reference window when view search changes * fix(ui): view type and sort popup alignment * test(ui): view search width follows master measurement * fix: align settings and graph import with master * fix(ui): view type picker placeholder matches master * fix(editor): preserve decimal calculator precision * fix(editor): render and navigate Markdown footnotes * fix(ui): query builder inline in query block title, result indent, untitled advanced query * fix(ui): page properties, icon picker and special page parity - property page title action opens the Configure property dropdown - Set property > node values use the checkbox node picker; clamp its list height - property-name popup widens for unmatched names - icon search uses fuzzy matching; palette and clear-search geometry/colors - page-not-found foreground and recycle page padding * fix: finish settings and Marketplace parity * fix(ui): query view head height, table header width, add-filter outline * fix(editor): align disclosure carets and verify task cycling * fix(db-worker): port master journal title migration (schema 65.36) Migration parts of 8b77982 from devin/1795078620-parity-settings-plugins-graphs. * fix(ui): label the empty page group in grouped reference lists * fix(ui): spacing between linked and unlinked references * fix(ui): do not mark leaf reference children as collapsed * docs: add LUI UX parity status * fix(editor): record route changes in undo history * fix(ui): align reference filter dialog search row * feat(ui): highlight page title matches in unlinked references * fix(editor): separate block dragging from selection * fix(ui): focus the first sort row when the sort popup opens * fix: restore Firefox block copy and cut (#13841) * fix: keep cut and copy working when HTML prettify fails Firefox throws NS_ERROR_FAILURE from XSLTProcessor.importStylesheet in prettifyXml, which rejected HTML export after plain text was copied and skipped delete. Treat HTML prettify/export as optional so copy still writes the clipboard and cut still removes the selected blocks. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: preserve Firefox clipboard writes and XML exports --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: keep timestamp values when flipping before/after filters (#13762) * fix: keep timestamp values when flipping before/after filters Deadline after/before used relative strings and js Date values, but operator change only kept numbers. That persisted a 2-element clause and crashed the view. Keep temporal value shapes so the filter just flips direction. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix(test): consolidate temporal filter regression coverage --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: render non-PDF file assets as clickable links (#13752) * fix: render non-PDF file assets as clickable links Uploading txt/xlsx and other non-media files now uses asset-cp so the block is a clickable open/download link. Re-uploading an existing file inserts a page-ref to that asset instead of dropping the insert. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: keep editor in sync when re-upload replaces an empty block Reuse the empty block uuid for the existing-asset page-ref and call edit-block! so leaving edit mode cannot save a blank title over it. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: use consistent frontend.config alias clj-kondo expects `:as config` for frontend.config. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: preserve asset uploads and handle file drops once --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: re-point descendants when converting page to block (#13669) * fix: re-point descendants when converting page to block Removing #Page from a nested page now updates child and grandchild :block/page to the resolved parent page. Fixes logseq/db-test#1424 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * chore(test): simplify page demotion regression coverage --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(settings): align signed-in panel layouts * fix: do not move shallower blocks when outdenting a multi-level selection (#13484) * test: cover multi-level outdent selection Outdenting a2x+b must raise a2x only and leave already-top-level b, c, d in place for both default and logical outdenting. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: do not outdent blocks already above the target indent-outdent-blocks used take-while that stopped only when a selected block's parent was the target parent. A shallower selected block was taken too and moved deeper; default outdenting then dragged its unselected right siblings under it. Only outdent the prefix that still sits under the first block's parent. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> * fix(ui): align query clause chip, breadcrumb icons, empty bullets and sort row focus * fix: keep Empty when flipping is/is-not filters (#13751) * fix: keep Empty when flipping is/is-not filters Switching Tags is <-> is not on Empty dropped the keyword value and persisted a 2-element clause that view resource validation rejects. Keep :empty across the operator change, and drop incomplete clauses before building the view resource context so already-broken filters do not crash the page. Fixes logseq/db-test#1434 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test: clear All Pages Empty filter after e2e The new Tags Empty operator test persisted the filter on the shared All Pages view, so later tests in the namespace could not find rows. Remove the filter in a finally block so the graph is left unfiltered. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * ci: re-trigger flaky CLI sync stress * fix: remove unsafe filter clause cleanup --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(repeat): a date cleared with the trash button does not break the repeat (#13616) * fix(repeat): a date cleared with the trash button does not break the repeat The trash button keeps Deadline / Scheduled and sets it to :logseq.property/empty-placeholder. The repeat command took the keyword as a date and threw in get-next-time, which rejected the transaction that completes the task (db-test #1353). A cleared date now counts as no value: it stays cleared, the other date moves, the task is Todo. * chore(test): clarify cleared-date regression comment --------- Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(editor): align node reference suggestions * fix(editor): delete empty block after ordered-list backspace (#13658) * fix(editor): delete empty block after ordered-list backspace Backspace at the start of an empty numbered list still used the stale :editor/block snapshot, so after the first key removed the list type every later Backspace tried to remove it again. Read the live renderer block for that check, matching 2.0.1's latest-entity lookup. logseq/db-test#1417 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * chore(test): remove redundant ordered-list backspace unit test --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix: preserve selected-block EDN sibling order (#13574) * fix: preserve selected-block EDN sibling order Keep the first occurrence of each block UUID when merging selected-node exports and when importing pages-and-blocks. An internal block ref no longer appends the referenced sibling again, so import keeps document order. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: assert imported EDN block refs via title UUID Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: drop shallow copies of nested export children Dedupe selected-node blocks by UUID across :build/children so a referenced child is not re-appended as a page-level root on import. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix(db): preserve descendants when deduplicating imported blocks --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * fix(ui): append created-from-property segment to reference breadcrumbs * fix(ui): configure property menu, tags picker height and recycle parity - Configure property menu: master item rows (icons, summaries, chevrons, switches), locked type once used, checkbox state mapping, show-as-checkbox owner toggle, 270px centered popup using the available height - UI position writes the enum keyword the worker schema accepts - node picker results cap matches calc(75vh - 64px - 150px) - recycle renders each deleted root title once * Allow clearing out-of-scope node property selections (#13589) * fix: keep out-of-scope selected nodes uncheckable Class-scoped node properties omitted selected values that no longer matched :logseq.property/classes, so they disappeared from the select/checkbox list. Keep current values visible so they can be cleared. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: hydrate selected scoped node choices Load readable selected labels in the existing worker selector request. Keep newly selected choices visible and remove the redundant filter arity. * perf: merge scoped node choices in linear time --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> * test(ui): row_position returns the ui-position enum name * fix: skip repeating-task commands on redo (#13562) * fix: skip repeating-task commands on redo History replay already includes the post-completion date and status reset. Re-running run-commands on redo advanced Scheduled/Deadline another interval. Fixes logseq/db-test#1387 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: rerun repeating-task commands on outliner-ops redo replay Redo has two replay paths: verbatim recorded tx-data and semantic outliner-ops. The recorded tx-data already contains repeating-task side effects, so commands must be skipped there — but only there. Ops replay carries no derived data, so skipping commands dropped the reschedule and left redone tasks Done with a stale deadline. Guard on :db-sync/replayed-tx-data? (the verbatim replay marker) instead of :redo?. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: megayu <yuhg2310@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs: refresh integrated LUI UX parity status * fix: restore reference preview structure and interactions Resolve block preview headers through their containing page while retaining insertion ownership. Load reference-count snapshots and support inline and sidebar disclosures. * fix: decode percent-encoded local image paths once (#13563) * fix: decode percent-encoded local image paths once Markdown file:/// image links keep %20 after the scheme is stripped. Decode those native paths before assets:// encoding so spaces become a single %20 instead of %2520. Fixes logseq/db-test#1386 Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: decode file URL pathnames before assets:// encode URL.pathname keeps %20 after file:// unwrap, so skip-decode still re-encoded spaces as %2520. Decode every resolved native path once. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: keep literal % in filenames when escapes are not decodable safe-decode-uri-component returns its argument on failure, which leaked the %25-escaped string into the result. Return the original path so filenames with literal % (e.g. 50%ba%zz.png) keep resolving, matching encode-iframe-path-segment. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: decode asset path escapes per segment and only once Decode the raw URL pathname for file:///assets:// inputs instead of relying on url-to-path output: its decode-and-re-encode round trip collapses %2520 (a literal %20 in a filename) into %20, and a second decode then resolves the wrong file. Decode escapes per path segment so an undecodable filename like 50%ba.png stays literal without blocking valid escapes in other segments. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: handle encoded Windows drive colon in file URLs and log via glogi Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix: decode only the path portion, not the repo or home prefix Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: megayu <yuhg2310@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test: isolate calculator exit root mutations Cover newline and empty-buffer exits, rejected saves and the explicit sibling insertion action. Keep the unverified full CodeMirror report documented without a speculative production change. * test: cover indent and double-undo caret restoration Exercise captured transaction cursors through the shared undo pipeline and retain the database/browser acceptance limitation. * fix: clear block selection when dismissing context menus Preserve command-owned asynchronous selection and ignore late dismissals after the menu has closed. * fix: preserve keyword syntax in built-in value UUID seeds Match Master's deterministic seed strings and retain a real Master 65.36 graph fixture covering ensure, reload, and repeated ensure without allocating entities. * fix(settings): restore small home-input top margin Match the reference control offset without changing its dimensions; record the built-in write investigation limits. * fix(keymap): match recorder acceptance and footer * fix(plugins): align marketplace cards and empty results * fix(views): match display type selector popover chrome * fix(properties): match configure heading spacing * fix(cmdk): align footer action foreground * fix(menu): initialize toolbar navigation before session tail * fix(cmdk): restore body focus after host close effects * fix(sidebar): align navigation popup with virtual reference * fix(ui): align header tooltip shortcut layout * fix(ui): center sidebar item menu anchors * docs: record retained sidebar shift-click evidence * docs: record equal-stage tag picker verification * fix: bidirectional property tab title, and repair stale script, CLI E2E and app E2E tests (#14069) * fix(scripts): sync simulator op coverage and op-sim defaults with tests Add collapse-expand-blocks to the chrome-tab simulator outliner-op coverage pass, align the electron op-sim test with the documented 200-op default/minimum, and remove the orphaned forge.config test whose subject was deleted in the electron-builder migration. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test(cli-e2e): assert jobs coerce failure via ex-data The babashka.cli coerce error message changed in newer babashka releases; match on the structured ex-data instead of message text. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test(e2e): fix plugins marketplace selectors and isolation Base UI renders the switch as a span with role=switch, Esc first clears a non-empty plugin search, the toolbar plugin trigger only renders while a plugin contributes toolbar items, and :has-text 'Install' also matched 'Installed'. Move the install test to its own namespace so it always starts without the plugin installed. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix: show bidirectional property title in reverse-reference tabs The block-bidirectional-properties resource stopped carrying the computed group title, so tabs showed the raw class title and ignored the class's bidirectional property title. Return the title from the worker and render it in the tab. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * test(e2e): stop re-refreshing RTC pages on the all-graphs route open-2-pages already prepares the test env and finishes on the all-graphs route, where refresh-test-env! waits for a page title that never renders, so every RTC extra namespace failed in its fixture. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> * docs: record Master seed cleanup policy * fix: restore sidebar UI undo history * fix: keep saved reference tags as entity identities * fix: route task shortcuts and toggle unmarked blocks * fix: retain reference preview request identity * fix: render footnote backlinks inline with Unicode markers * fix: use gray foreground for palette action hints * fix: preserve rapid page menu keyboard navigation * fix: align marketplace footer and filter presentation * fix: match login responsive sizing and footer tone * fix: insert timestamps from current YouTube playback * fix: restore page title focus after selected block deletion * docs: record five-step cross-page undo probe * fix(editor): #alias of a tag completes to the source tag (#13796) * fix(editor): #alias of a tag completes to the source tag Typing #<alias of a tag> no longer offers Convert or New tag for the alias page. The alias resolves to the source tag, and choosing it tags the block with that tag without converting the alias. Co-authored-by: Tienson Qin <tiensonqin@gmail.com> * fix(editor): dedupe tag alias matches before limit --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> * fix: label preview reference count controls * docs: record final Table74 parity findings * fix: match login paragraph geometry and link tone * fix: keep marketplace display props on its layout wrapper * fix: fetch block hover previews by reference identity * fix: register the plugins shortcut dispatch category * fix: keep calculator output on single-height lines * fix: avoid resaving acknowledged editor buffers * fix: preserve edits that return to stale page titles * fix(ui): preserve structured block clipboard * fix: ignore departing page menus during keyboard navigation * fix: hide page actions in block reference previews * docs: retain unresolved Table75 history findings * fix: project linked embeds as their root rows Preserve linked content identity and original structural ownership, render linked titles and arrow markers at the host depth, and remove the unused legacy macro embed renderer. * fix: show reference counts on linked embed rows * fix: keep view creation out of user undo history * fix: select linked occurrences in projected visual order * fix: share collapse state across embedded occurrences * docs(ui): record E1 embed parity verification * fix(ui): video timestamp command, resize observer loop, marketplace footer Dispatch the youtube-timestamp slash command from the player's playback time (including zero) and install the YouTube driver when an embed renders. Defer virtualizer ResizeObserver work to the next frame, removing the ResizeObserver loop ErrorEvent logged as UNCAUGHT null on reload, and report message/location when ErrorEvent.error is null. Align marketplace statistics, install control and contribution link with master. * fix: contain nested row selection within child insets * docs: track Table75b clipboard residuals and verified fixes * fix: finish structured paste without an active editor Retire custom-paste editing only after a current successful insert, retain stale and failed sessions, and defer reaction reads until optimistic rows have database identities. * fix: preserve embedded-root selection across structural moves * fix: keep retired embed selections out of structural commands * fix: align marketplace footer control bounds * fix: bound recursive embeds during delta splicing * fix: align marketplace grid and contribution offsets * test: return text for graph configuration fixture * fix: restore reference counts and selected query text * fix: match full-text queries and short-page geometry Share Master-style query sanitization between execution and the builder. Match property row insets and preserve the minimum page body before linked references, with retained query and spacing regressions. * fix: retain headers for empty query tables Build default query columns for zero-result completion and render the empty table rather than a spacer. Cover fresh mounts, same-query remounts, live evaluation, blank queries and errors. * fix: preserve full-text query rows and List rendering * fix: align navigation and graph deletion completion Keep Pages navigation in the application tab, await storage deletion before removing graph registration, and retain Master-style slash cancellation text. * fix: preserve rendered Pages link target * fix: retain query grouping and range entry * refactor: name query lifecycle guard explicitly * fix: retain date-range popup ownership and property parity * fix: align backlinks sorting and favorite drop ordering * fix: evaluate journal UUIDs in Between queries Decode canonical journal references into date bounds and cover the stored-source save/read/query round-trip. * fix: resync template targets before editor focus Refresh replaced blank target buffers after successful template application so later commits preserve copied content. Guard newer input and consume rejected popup operations. Add shared editing and worker batch regressions and record Table83 verification. * build(deps): bump @base-ui/react to 1.9.0 (#13855) 1.6.0 has mui/base-ui#5715: tabbing out of a non-modal popover or menu whose popup has no focusable content makes the trigger's focus guards and FloatingFocusManager's guards focus each other until "Maximum call stack size exceeded". Fixed by mui/base-ui#5733, released in 1.9.0. * Fix opening and previewing file: links in Electron (#14068) * fix: resolve local file links and previews in Electron * fix: resolve native paths for local image menu actions * fix: align property pickers and editor commands Restore Alias page creation, searchable code languages and in-place Math conversion. Match highlight shortcuts, checkbox defaults, priority icons and date link presentation with Master. * fix: align reference filters, Marketplace cards and recent highlighting * fix: preserve reference facets and slash conversion targets * fix: restore reference editing and journal queries * fix: align journal query presentation and page previews * fix: improve bottom property truncation (#12890) * fix: improve bottom property truncation * fix: narrow bottom property effect dependencies * fix: limit bottom property width scanning * fix: truncate multi-value bottom properties * fix: remeasure bottom properties after async rendering * fix: refine preview spacing and canvas colors * fix: align embed selection and query heading ink * fix: truncate and expand bottom property pills * fix: retain bottom pill expansion during block refresh * fix: align bottom property pill widths and activation * fix: align bottom property targets and journal spacing * fix: match query typography and result layout * fix: fill table headers without stretching cells * fix: align query builder and grouped tables * fix: align query tokens and flat table scrolling * fix: use theme text colors for query tokens * fix: align table selection and operator hover chrome * docs: record Table97 acceptance and selection exception --------- Co-authored-by: Imre Eilertsen <imreeil42@gmail.com> Co-authored-by: Mega Yu <yuhg2310@gmail.com> Co-authored-by: Aydan S. <92281127+PlunderStruck@users.noreply.github.com> Co-authored-by: VictorVow <12621257+VictorVow@users.noreply.github.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Yuxi Liu <33951560+yuxi-liu-wired@users.noreply.github.com> Co-authored-by: Raphael Fakhri <153192858+RaphaelFakhri@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5715
A non-modal Popover's trigger focus guards could stay mounted after the popup closed and bounce focus between each other when nothing else on the page was tabbable. Render the guards only while the popup is open, so they unmount with the close and the tab-order lookup can no longer land back on them.
Resolve the next Tab destination from the guard's own place in the tab order, captured before the close unmounts it, instead of from the trigger — a trigger may be
tabIndex={-1}and cannot serve as the anchor. Share the pre-trigger guard with the focus manager so blurring the trigger onto it no longer closes the popup before the guard's own handler runs, and let the guard's destination win over a customfinalFocus. Keyboard closes still restore focus normally.Also fixes Menu dropping focus to the body when tabbing backward out of an open trigger.