Repository navigation
fix(ui): align LUI desktop web UX with master - #14071
Merged
Merged
Conversation
* 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]>
Co-authored-by: Tienson Qin <[email protected]>
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.
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
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
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.
Summary
Brings the LUI desktop Web app (
deps/ui) to UX parity with currentmaster(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 (rebuilt431d4268) found no remaining LUI-only differences in the areas it covered.Intentional and unsupported differences are recorded in
deps/ui/ux_parity.md:col-resizecursor, keyframe loops, native date input, image error events, unpacked plugins, and native clipboard custom formats.Main areas covered:
/Query,/Math,/Code,/Quote,/Template, Node reference) and video timestamps.:default-queries(including Hiccup titles) and query builder styling.t hbehind the RTC check, canvas color, and page and block previews.file:link and image/PDF support; on Web,file:links fall back to a normal anchor.Testing
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