Skip to content

fix(ui): align LUI desktop web UX with master - #14071

Merged
tiensonqin merged 198 commits into
refactor/luifrom
devin/1795078432-lui-desktop-parity
Nov 20, 2026
Merged

tiensonqin merged 198 commits into
refactor/luifrom
devin/1795078432-lui-desktop-parity

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brings the LUI desktop Web app (deps/ui) to UX parity with current master (a5cf5231d8, merged; no rewrite). Each batch was rebuilt and compared side by side with Master in the browser, using the same fixtures each time. The last round (rebuilt 431d4268) found no remaining LUI-only differences in the areas it covered.

Intentional and unsupported differences are recorded in deps/ui/ux_parity.md:

  • Out of scope: Graph View, flat journal/page lists and the title bar.
  • LUI choices that differ from Master: readable Between date labels instead of raw UUIDs, and correct grouped Select-all.
  • Typed-SDK/host limitations: backdrop blur, toast radius and exit animation, col-resize cursor, keyframe loops, native date input, image error events, unpacked plugins, and native clipboard custom formats.

Main areas covered:

  • Editor: embeds (E1), rich clipboard (E10), cross-page undo/redo through linked references (E40), slash conversions (/Query, /Math, /Code, /Quote, /Template, Node reference) and video timestamps.
  • References: linked-reference editing with a separate editor for each occurrence; filter ordering and removal; block reference count badges.
  • Queries and views: full-text results, Between form and evaluation, table and List layout, grouped tables, the empty-result message, Journals :default-queries (including Hiccup titles) and query builder styling.
  • Properties: Checkbox defaults, alias creation, the code-language picker and bottom-property truncation with Expand/Collapse (ported from fix: improve bottom property truncation #12890).
  • Settings and shell: Plugins/Marketplace, login, Pages links, favorites drag, graph deletion, t h behind the RTC check, canvas color, and page and block previews.
  • Data: no duplicate seeding of built-in values, and selecting Tomorrow no longer changes built-in entities.
  • From Master: file: link and image/PDF support; on Web, file: links fall back to a normal anchor.

Testing

  • deps/ui suite: 6679 checks, 0 failures. Native test and build pass.
  • Worker tests: the only failures are 3 known ones, caused by the OS keychain host not being available.
  • Paired browser rounds Table72–Table97 against Master.
  • Not tested: authenticated/RTC flows, Electron-native file opening, and exhaustive permutations.

Link to Devin session: https://app.devin.ai/sessions/5f265455dad249ecbf49d40db7f7a88a
Open in Devin Desktop: https://app.devin.ai/desktop/session/5f265455dad249ecbf49d40db7f7a88a?variant=devin
Requested by: @tiensonqin


Devin Review

tiensonqin and others added 30 commits November 17, 2026 19:55
* fix: canonicalize vector references in outliner history

* fix: distinguish mixed tag vectors from lookup refs
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.
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.
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.
* 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 <[email protected]>
* 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.
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.
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 <[email protected]>
* 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 <[email protected]>

* fix: isolate graph download failure handling

Co-authored-by: Cursor <[email protected]>

* fix(test): remove obsolete and redundant download failure tests

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Mega Yu <[email protected]>
…d 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.
Titles were passed as string/replace replacements, so $$, $&, $` and $' in a page title were expanded as JS replacement patterns.
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 <[email protected]>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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 <[email protected]>
Expanded query tables keep foldable overflow visible so the reserved
horizontal scrollbar is not clipped on first paint.

Co-authored-by: Tienson Qin <[email protected]>
- 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>
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.
tiensonqin and others added 26 commits November 19, 2026 15:29
Decode canonical journal references into date bounds and cover the stored-source save/read/query round-trip.
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.
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: resolve local file links and previews in Electron

* fix: resolve native paths for local image menu actions
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.
Merge origin/master at 0ba4020 while preserving the OCaml UI, worker and desktop implementations. Port native file-link opening and local image/PDF preview resolution, retain upstream dependency and plugin type updates, and record regression coverage and baseline gate failures.
* 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
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@tiensonqin
tiensonqin merged commit 7b393bf into refactor/lui Nov 20, 2026
4 checks passed
@tiensonqin
tiensonqin deleted the devin/1795078432-lui-desktop-parity branch November 20, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants