Skip to content

perf(views): speed up db table scrolling and clipped cells - #13226

Merged
tiensonqin merged 106 commits into
masterfrom
logseq/table-view-perf-clipping-07c3
Sep 16, 2026
Merged

tiensonqin merged 106 commits into
masterfrom
logseq/table-view-perf-clipping-07c3

Conversation

@tiensonqin

@tiensonqin tiensonqin commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

What

Keeps All Pages, Tags, and class-object tables (including 4k-movies Movies) on a cheap first window and snapshot path.

Latest worker/UI changes:

  • First-window All Pages count uses BTSet est-count instead of walking 41k :block/name datoms
  • Leftover eid sets that already fit the window (21 Tags) sort those eids. Larger leftovers (3883 Movies) rseek the sort index
  • Class-object first windows collect tag-index eids only. Hidden-ancestor parent walks stay off the open path
  • First-window view-data carries title previews so the table can paint before use-block
  • Scroll requests a windowed :row-offset query instead of leftover remaining-id
  • Remaining-id / offset queries start only after the user scrolls (scrollTop > 0)
  • Scrolled offset subtracts the Virtuoso list offset inside #main-content-container
  • The offset window stays put until the visible range leaves it, and the last ready window stays addressable while the next fetch is in flight
  • An in-flight offset key is not replaced mid-fetch
  • Offset windows fetch two screens, slide 8 rows early, and prefetch on the first wheel
  • First paint uses those titles immediately and skips unpinned property columns for one animation frame
  • The painted table stays mounted when the pending view entity hydrates (instance key is the view UUID)
  • List and gallery views mount view-head immediately; they never fire table items-rendered, so unlinked-references search stayed hidden
  • Empty unused property tables also mount chrome and unpinned property columns on open
  • Windowed paint callback is notify-windowed-paint! so it does not shadow notify-first-table-paint!
  • CMDK search debounce is 300ms
  • List→Table no longer reuses a :grouped-list snapshot as table rows. That path called use-block on [breadcrumb-uuid row-uuids] and crashed the page
  • table-body-row-ids now accepts only flat UUID lists
  • View search keeps the .ls-icon-search button mounted when the field is open

Prefetch hydrates one screen (ceil(viewport / 33)). Offset windows are two screens. Virtuoso overscan is two placeholder rows (66px).

Why

Clojure E2E table-view-search-filter-and-new-record-actions-test on 114dba90a2:

  • Screenshot was the app error boundary
  • Console: Invalid :block/uuid with {#uuid A [#uuid A #uuid B]}
  • List View uses :block/page group-by and keeps a :grouped-list snapshot. Switching to Table View reused that snapshot while display-type was already table

On c047c239c9 that crash is gone. The same test then timed out 10s on .view-actions button:has(.ls-icon-search). The screenshot shows the table and view-actions; opening search used to replace the search icon with the input + X.

Browser evidence (4k-movies via Import → SQLite)

  • Graph: logseq_db_4k-movies
  • Jump scrollTop=2400: All Pages and Movies in-view placeholders 0
  • Rapid +140px / 32ms x24: topPlaceholders=0; All Pages and Movies minFilled=25; both end at 27/27 filled

Verify

  • clojure -M:clj-kondo --lint src/main/frontend/components/views.cljs (0 warnings)
  • bb dev:test -v frontend.components.views-test/grouped-table-prefetch-uses-group-uuids-not-group-values-test (3 assertions, green)
  • bb dev:test -v frontend.components.views-test/view-search-keeps-the-search-icon-button-test (1 assertion, green)
  • bb dev:test -v frontend.components.views-test/loaded-view-keeps-previous-paint-while-next-search-loads-test (2 assertions, green)
  • CMDK tag search stays debounced (300ms)

Notes

  • First window stays viewport-sized; offset windows are two screens
  • No video demo
  • First paint is still not instant on 4k-movies; that path is paused
  • Real graphs index :logseq.property/hide? via build-new-property. The earlier unit-test miss was a bare db-schema/schema conn
Open in Web Open in Cursor 

cursoragent and others added 3 commits September 15, 2026 14:00
Render the existing Virtuoso table immediately with a fixed 33px row
height and wider overscan, and skip per-cell IntersectionObserver so
wide 4k-row views keep scrolling and first paint stable. Clipped cells
expose their full value via a native title tooltip.

Co-authored-by: Tienson Qin <[email protected]>
Remote image URLs in property values (for example Amazon posters) were
rendered as a broken 80px img whose src wrapped as garbled text. On
load error, show a wrapping external link instead.

Co-authored-by: Tienson Qin <[email protected]>
The prefetch-gate test touched js/document, which is unavailable in the
Node cljs test runner. Helper tests still cover virtualization metrics
and clipped-cell titles.

Co-authored-by: Tienson Qin <[email protected]>
@tiensonqin
tiensonqin marked this pull request as ready for review September 15, 2026 14:03
Copilot AI lite review requested due to automatic review settings September 15, 2026 14:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Critical fallback-link navigation and grouped-table rendering issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Improves large database table performance and adds a readable fallback for failed remote images.

Changes:

  • Uses fixed-height virtualization, wider overscan, and eager visible-row cells.
  • Adds cell tooltips, ellipsis, and URL wrapping.
  • Adds failed-image external-link fallbacks and focused tests.
File summaries
File Summary
src/test/frontend/components/views_test.cljs Tests virtualization metrics, eager cells, and tooltip text.
src/test/frontend/components/block/image_test.cljs Tests image fallback helpers.
src/main/frontend/components/views.cljs Updates table virtualization and cell rendering. Findings: moderate (2 votes): eager cells affect grouped non-virtualized tables; nit (1 vote): tests do not verify option forwarding.
src/main/frontend/components/table.css Adds clipping and ellipsis styling. Finding: moderate (1 vote): inline anchors are not constrained for ellipsis.
src/main/frontend/components/property.css Adds URL wrapping styles.
src/main/frontend/components/block/image.cljs Renders image or fallback link. Finding: critical (1 vote): parent handlers prevent fallback-link navigation.
src/main/frontend/components/block.css Adds fallback-link layout styles.
src/main/frontend/components/block.cljs Integrates image failure state and fallback rendering. Findings: critical (1 vote): fallback navigation is prevented; nit (1 vote): component-level error transition is not tested.
Review details

Suppressed comments (3)

src/main/frontend/components/block.cljs:274

  • The added image test exercises image-or-fallback as a pure helper, but not this component's hook state transition or the :on-error callback. A regression that drops this wiring or fails to replace the mounted image would still leave the fallback test green; add a component-level harness that triggers an image error and asserts that the rendered output changes to the fallback link.
         :on-error (fn [_]
                     (set-load-failed! true))})

src/main/frontend/components/table.css:105

  • The new ellipsis rules target a elements, but anchors are inline by default; max-width, overflow, and text-overflow do not constrain an inline anchor. Long URL links can therefore still be hard-clipped by the cell without an ellipsis, contrary to the scrolling/tooltip fix. Make the link/fallback selector inline-block (or otherwise constrain a block-level wrapper).
    .jtrigger,
    .inline,
    a,
    .asset-image-fallback {
      @apply min-w-0 max-w-full overflow-hidden text-ellipsis;

src/main/frontend/components/views.cljs:2161

  • The virtualization test only checks the return value of table-virtualization-metrics; it does not verify that table-body forwards the fixed height and overscan to the Virtuoso component here. A regression in this option wiring would pass all added tests while restoring per-row measurement, so add a focused table-body test with the virtualized-list boundary stubbed.
        :fixed-item-height item-height
        :default-item-height item-height
  • Files reviewed: 8/8 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/main/frontend/components/block.cljs Resolved
Comment thread src/main/frontend/components/views.cljs Resolved
cursoragent and others added 23 commits September 15, 2026 14:48
Restrict the failed-image link fallback to remote http(s) URLs so blob and file drops stay as <img>. Stop parent preventDefault from swallowing fallback-link navigation.

Co-authored-by: Tienson Qin <[email protected]>
Keep per-cell IntersectionObserver when a table group disables row virtualization. Make clipped table anchors inline-block so ellipsis can apply.

Co-authored-by: Tienson Qin <[email protected]>
Load a bounded first-row window so Tags and All Pages can mount immediately, then fill remaining ids. Class objects now use an id-only sort path, and table prefetch/overscan is wider so fast scroll does not leave large blanks.

Co-authored-by: Tienson Qin <[email protected]>
Raise the command-palette search debounce so continuous keystrokes coalesce into one query.

Co-authored-by: Tienson Qin <[email protected]>
Keep Tags and All Pages on a bounded first-row query so the table can paint before remaining ids arrive. Add tests that fail if first paint waits for the full id list, if prefetch cannot cover viewport plus overscan, or if class-objects falls back to hydrating every entity.

Co-authored-by: Tienson Qin <[email protected]>
Keep input updates immediate and assert that continuous typing does not search at the old 150ms cadence. Search runs once after the debounce pause.

Co-authored-by: Tienson Qin <[email protected]>
Tags first-window queries filter hide/deleted/built-in objects from
datoms instead of hydrating one entity per row.

Co-authored-by: Tienson Qin <[email protected]>
Keep first paint cheap when a view has custom sorting, filters, or
search input. Tests lock order, filter semantics, and first-window
hydration/time bounds.

Co-authored-by: Tienson Qin <[email protected]>
Table and All Pages rows already inline shallow ref identities. Hydrating every :block/refs target as its own canonical block made a 4k-movies scroll window take seconds.

Co-authored-by: Tienson Qin <[email protected]>
Replace the fixed 160-row first window with screen-height hydration and a viewport-plus-overscan prefetch cap so tall and short screens only load what they can show.

Co-authored-by: Tienson Qin <[email protected]>
Movie and All Pages titles are stored strings. Looking them up through Entity :block/title still expanded every :block/refs target and made a screen-sized get-render-snapshots call take seconds.

Co-authored-by: Tienson Qin <[email protected]>
Skip Entity ILookup and display-property maps when hydrating All Pages
and class-object rows. Cache shared ref identities and class properties
for a snapshot batch so Movies-sized tables stay on the cheap path.

Co-authored-by: Tienson Qin <[email protected]>
Avoid repeating Entity position and closed-value walks on every Movies
row, and keep page refs on a tags-only eavt path.

Co-authored-by: Tienson Qin <[email protected]>
Virtuoso still overscans 1650px for layout. Snapshot batches only load
the on-screen rows so All Pages and Movies do not request 127 entities.

Co-authored-by: Tienson Qin <[email protected]>
127-row snapshot batches came from 1650px overscan mounts calling
use-block, not from the one-screen prefetch window. Keep two
placeholder rows for Virtuoso and hydrate only the viewport range.

Co-authored-by: Tienson Qin <[email protected]>
Virtuoso item-content cannot take raw hiccup; a keyword child crashed
All Pages after the first scroll and left the table blank.

Co-authored-by: Tienson Qin <[email protected]>
View-data no longer embeds canonical-blocks, so Tags and All Pages can
paint the ID window without waiting on get-render-snapshots. Row
snapshots hydrate only the requested blocks; property definitions and
ref targets stay inlined.

Co-authored-by: Tienson Qin <[email protected]>
Flush view-data before block and children trees, and keep Tags/Movies
first paint on the objects table instead of waiting for breadcrumb,
page children, and linked refs.

Co-authored-by: Tienson Qin <[email protected]>
A 40k-page first window was sorting every page id before take.
Walk the sort attribute index for the visible rows and keep the
full count from the unsorted id list.

Co-authored-by: Tienson Qin <[email protected]>
cursoragent and others added 22 commits September 16, 2026 00:07
Display-property rows already computed closed-value identities, then
dropped them before use-block. Canonical snapshots omit that key, so
select-type? fell through to a nested empty value editor.

Co-authored-by: Tienson Qin <[email protected]>
Property values mount a nested .ls-block .block-content. Clicking the
last match opened that leftover editor instead of the page block.

Co-authored-by: Tienson Qin <[email protected]>
Calling done inside p/with-redefs lets the next namespace start
while the previous restore is still queued, so export-zip hits
the real uninitialized db-worker.

Co-authored-by: Tienson Qin <[email protected]>
The windowed paint callback reused the private helper name, and kondo
failed CI on the resource-plan refactor.

Co-authored-by: Tienson Qin <[email protected]>
List→Table reused the previous :grouped-list snapshot. table-body then called use-block on [breadcrumb-uuid row-uuids] and crashed the page.

Co-authored-by: Tienson Qin <[email protected]>
Opening the view search field replaced the .ls-icon-search button, so e2e could not click it after List→Table.

Co-authored-by: Tienson Qin <[email protected]>
…erf-clipping-07c3

# Conflicts:
#	src/test/frontend/components/property/value_test.cljs
#	src/test/frontend/worker/handler/block_test.cljs
…erf-clipping-07c3

# Conflicts:
#	src/test/frontend/components/block/positioned_properties_test.cljs
@tiensonqin
tiensonqin merged commit 09c07b0 into master Sep 16, 2026
31 checks passed
@tiensonqin
tiensonqin deleted the logseq/table-view-perf-clipping-07c3 branch September 16, 2026 13:04
devin-ai-integration Bot pushed a commit that referenced this pull request Oct 1, 2026
* perf(views): virtualize large db tables without a skeleton pause

Render the existing Virtuoso table immediately with a fixed 33px row
height and wider overscan, and skip per-cell IntersectionObserver so
wide 4k-row views keep scrolling and first paint stable. Clipped cells
expose their full value via a native title tooltip.

Co-authored-by: Tienson Qin <[email protected]>

* fix: fall back failed poster images to a readable link

Remote image URLs in property values (for example Amazon posters) were
rendered as a broken 80px img whose src wrapped as garbled text. On
load error, show a wrapping external link instead.

Co-authored-by: Tienson Qin <[email protected]>

* test: drop node-only table-body render assertion

The prefetch-gate test touched js/document, which is unavailable in the
Node cljs test runner. Helper tests still cover virtualization metrics
and clipped-cell titles.

Co-authored-by: Tienson Qin <[email protected]>

* fix: keep local assets as images and allow fallback link clicks

Restrict the failed-image link fallback to remote http(s) URLs so blob and file drops stay as <img>. Stop parent preventDefault from swallowing fallback-link navigation.

Co-authored-by: Tienson Qin <[email protected]>

* fix: lazy-render cells in non-virtualized grouped tables

Keep per-cell IntersectionObserver when a table group disables row virtualization. Make clipped table anchors inline-block so ellipsis can apply.

Co-authored-by: Tienson Qin <[email protected]>

* test: fix unmatched parens in table and image tests

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): paint Tags and All Pages from the first row window

Load a bounded first-row window so Tags and All Pages can mount immediately, then fill remaining ids. Class objects now use an id-only sort path, and table prefetch/overscan is wider so fast scroll does not leave large blanks.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): debounce search so typing does not search every character

Raise the command-palette search debounce so continuous keystrokes coalesce into one query.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): prove first-window paint and filled fast scroll

Keep Tags and All Pages on a bounded first-row query so the table can paint before remaining ids arrive. Add tests that fail if first paint waits for the full id list, if prefetch cannot cover viewport plus overscan, or if class-objects falls back to hydrating every entity.

Co-authored-by: Tienson Qin <[email protected]>

* test(cmdk): prove search waits past per-character cadence

Keep input updates immediate and assert that continuous typing does not search at the old 150ms cadence. Search runs once after the debounce pause.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(db): hide class objects via indexes

Tags first-window queries filter hide/deleted/built-in objects from
datoms instead of hydrating one entity per row.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): sort and filter Tags on the id-only path

Keep first paint cheap when a view has custom sorting, filters, or
search input. Tests lock order, filter semantics, and first-window
hydration/time bounds.

Co-authored-by: Tienson Qin <[email protected]>

* fix(db): split view filter matchers for large-vars lint

Co-authored-by: Tienson Qin <[email protected]>

* fix(db): avoid shadowed vars in view filter helpers

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): skip ref expansion in table snapshot loads

Table and All Pages rows already inline shallow ref identities. Hydrating every :block/refs target as its own canonical block made a 4k-movies scroll window take seconds.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): size first window and prefetch from the viewport

Replace the fixed 160-row first window with screen-height hydration and a viewport-plus-overscan prefetch cap so tall and short screens only load what they can show.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): skip id-ref title walks on plain table rows

Movie and All Pages titles are stored strings. Looking them up through Entity :block/title still expanded every :block/refs target and made a screen-sized get-render-snapshots call take seconds.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): load table snapshot refs from eavt

Skip Entity ILookup and display-property maps when hydrating All Pages
and class-object rows. Cache shared ref identities and class properties
for a snapshot batch so Movies-sized tables stay on the cheap path.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): cache property meta for table snapshots

Avoid repeating Entity position and closed-value walks on every Movies
row, and keep page refs on a tags-only eavt path.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): hydrate one screen instead of overscan

Virtuoso still overscans 1650px for layout. Snapshot batches only load
the on-screen rows so All Pages and Movies do not request 127 entities.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): stop hydrating virtuoso overscan rows

127-row snapshot batches came from 1650px overscan mounts calling
use-block, not from the one-screen prefetch window. Keep two
placeholder rows for Virtuoso and hydrate only the viewport range.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): render overscan placeholders as react nodes

Virtuoso item-content cannot take raw hiccup; a keyword child crashed
All Pages after the first scroll and left the table blank.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): load first-window ids before row snapshots

View-data no longer embeds canonical-blocks, so Tags and All Pages can
paint the ID window without waiting on get-render-snapshots. Row
snapshots hydrate only the requested blocks; property definitions and
ref targets stay inlined.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint class tables before children snapshots

Flush view-data before block and children trees, and keep Tags/Movies
first paint on the objects table instead of waiting for breadcrumb,
page children, and linked refs.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): return a boolean for class-page first-paint deferral

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): take All Pages first window from AVET

A 40k-page first window was sorting every page id before take.
Walk the sort attribute index for the visible rows and keep the
full count from the unsorted id list.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep table row snapshots off positioned properties

Skip :block/refs and legacy :block/path-refs on plain-title rows, and load positioned property chips through their existing resource instead of canonical-block.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): skip property closed-values on row snapshots

Table column headers were waiting on display-property-map for every Movie property (~250ms each). Closed values stay on the property resource.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): skip refs-count on property column snapshots

Movie column headers each walked every incoming :block/refs (~250ms). Property pages skip that count; All Pages rows still compute it.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): assert property snapshots skip refs-count

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): start All Pages without page-identity and cheapen row refs

Skip the views-page identity hop, start view-data before the view
entity snapshot, and build page-valued cell refs from one eavt scan.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): fill the visible table on open

Ignore a 0 clientHeight before layout so the first window and hydrate
set are one screen. Paint those rows only after the whole set is ready.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): load remaining ids after the viewport fills

The full All Pages id list is a resource and was jumping the queue
ahead of the first screen of rows. Class-page linked refs wait 800ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): delay class-page ref-count until after the table paints

Tag ref-count walks every incoming :block/refs and was a 1.4s resource
ahead of the Tags table snapshot.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): fill the open viewport before leftover snapshot work

Skip class/tag refs-count on first-screen row snapshots, flush view-data
before other resources, and start remaining ids only after the hydrate
set exists so Tags/All Pages/Movies paint a full viewport on open.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mount the table only after the viewport hydrate set is ready

Open polls showed 21-22 empty placeholder rows before any .ls-table-row
text. Keep skeletons until the first screen of blocks is ready so the
first visible table already fills the viewport.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window rows and lazy off-screen table cells

Movies first paint mounted 23 property-value trees per row, then
replaced 26 painted ids with the full list and remounted. Paint the
window, look remaining ids up later, and keep unpinned cells lazy.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): fix unmatched delimiter in eager-cell assertions

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window table queries off full-index scans

4k-movies logs showed All Pages walking 41k name datoms to count, Tags
copying 79k updated-at datoms to sort 21 eids, and Movies paying 90ms
on hidden-ancestor walks that hid nothing. Use BTSet est-count, sort
small leftover sets directly, rseek when the leftover set is larger
than the window, and collect class-object ids from the tag index only.
Remaining-id normalize stays off until the user scrolls.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window titles before block hydrate

First-window view-data already had the row ids. The table still waited
for a second use-block snapshot before mounting Virtuoso, so All Pages
and Movies stayed on skeletons after the cheap query. Carry the name
column in that first window and defer unpinned IntersectionObservers
until after it paints.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): restore eager-cell deftest delimiter

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): hydrate the scrolled window after remaining ids

Scrolling All Pages jumped the scrollbar past the first 26 ids. The
remaining-id list arrived, but prefetch stayed on that first window, so
the visible rows were empty placeholders. Refresh the hydrate set from
the current scroll position when the id list grows.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): render first-window title text without inline-title

Preview rows already had the name, but the name column still waited
for use-block because inline-title produced no DOM text. Paint that
title string until the full block snapshot arrives.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): declare first-window title helpers before block-title

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): page scrolled table rows without remaining ids

Scroll was requesting leftover view-data with no row-limit. 4k-movies All
Pages spent 850ms collecting, sorting, and normalizing 40938 UUIDs; Movies
spent 204ms on hidden-ancestor walks. Request a first-window :row-offset
instead and address rows through table-row-at.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): restore watch-all deftest after offset window test

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window rows without property cells

Skip use-block and unpinned property columns on the first table frame so All Pages, Tags, and Movies paint titles from first-window previews.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window table mounted across view hydrate

Key the view instance by UUID so pending view-data does not remount All Pages, Tags, and Movies when db/id arrives.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): defer view chrome until the first table paint

Keep pending view entities, class properties, and view-head off the first frame so All Pages, Tags, and Movies paint first-window titles before hydrate.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window rows before hydrate and class properties

Keep the first table frame on preview titles: isolate view-entity
use-block, rAF the first-paint callback, delay row subscribe until
unpinned cells mount, and fetch class properties only after that paint.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): drop unused view helpers that fail clj-kondo

Share first-paint class properties through views, delete leftover
prefetch/settled helpers only tests called, and clear unused worker
bindings so CI lint exits clean.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mark oversized table helpers for large-vars

table-body and table-row-inner exceed the 100-line lint max after the
first-paint path. Tag them with the existing cleanup exception.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): debounce search at 300ms

CMDK tag search still waits for a pause, now 300ms instead of 400ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): align scrolled row offset with list chrome

Offset windows started at scrollTop/row-height, so All Pages and Movies
left a visible hole of placeholders above the first filled row.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep the scrolled offset window until it leaves view

Rapid All Pages / Movies scrolls replaced the offset window every row
and painted 27 empty placeholders. Keep the current window, reuse the
last ready window while the next fetch is in flight, and fetch one extra
row so a clipped first visible row still fills the screen.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not replace an in-flight offset window

Movies rapid scroll cancelled the current :row-offset fetch on every
tick, so the stale window never arrived and the viewport stayed empty.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): close scrolled-offset unit test form

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): prefetch the next offset screen before it leaves view

Rapid All Pages / Movies scrolls still left 8 empty rows at the bottom
of the viewport. Fetch two screens and slide the window 8 rows early.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): start the next offset 16 rows before it leaves view

Movies rapid scroll still emptied 7 trailing rows. The class-object
offset fetch is ~50ms, which is more than an 8-row lead at 140px/32ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): prefetch the first offset on the first wheel

A 16-row slide lead added Movies fetch churn. Keep the 8-row slide and
start the first offset while the first window still covers the screen.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): silence lint on loaded-view-aux and offset tests

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): index hide? attrs on the class-objects unit conn

The worker test used a bare schema conn. Real graphs index hide?,
deleted-at, and built-in? via build-new-property.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): wait past cmdk 300ms debounce before search results

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): re-search after cmdk debounce and click the task title

Retry CMDK search after the 300ms debounce so newly created pages
can appear. Click the sample-task title wrap, not the TODO property.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): keep typed search when empty-state fetch lands late

get-recent-pages is async. Resetting the whole results atom after it
returns wiped nodes from a search that already finished.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): clear cmdk input so a retry still fires onChange

Playwright fill of the same query does not emit input, so a first empty
FTS result never recovered.

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): isolate the electron zip export worker mock

set! on state/<invoke-db-worker leaked the real uninitialized worker
when cljs tests ran in the same process.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): number list siblings against a closed-value type ref

canonical-block extracts the type as "number", but order-list-index
compared siblings with (str entity). Only the first item stayed 1.

Co-authored-by: Tienson Qin <[email protected]>

* test: keep ancestor titles on shallow breadcrumb identities

CMDK and [[ search render those titles. The scan-ref rewrite must
not drop :block/title on page/parent segments.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): show list and gallery chrome without table paint

Unlinked-references search lived in view-head, which waited for
table items-rendered. List views never fire that.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): treat shallow empty-placeholder as empty

Canonical rows inline empty-placeholder as an identity map. The dashed
priority chip only painted for the bare keyword.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): restore property-scalar-value-aux delimiters

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep scalar-value-aux structure when normalizing empty

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): keep empty-placeholder priority assertion inside the task test

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): resolve breadcrumb refs by uuid and ident

CMDK and [[ search attach breadcrumbs on every hit. A pulled page
without :db/id made shallow-ref-identity throw and failed the whole
search-blocks call, so newly created tags never appeared.

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): drop unused lookup-eid db arg

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): compare breadcrumb page by resolved id

A raw page uuid made :db/id nil, so the page was prepended even when
it was already the first parent. Resolve the id before that check.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep deleted view-data from crashing snapshots

Delete still refreshes an in-flight :view-data snapshot. Returning empty
rows for a missing view keeps the batch (and the page) alive, and the
tab switches to the leftover view before the retract.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not prefetch grouped table values as block ids

Group-by Status passed [scalar value, row uuids] as :all-row-ids.
use-block-prefetch then treated {:kind :scalar :value \"Open\"} as a
UUID and the page crashed before the grouped rows painted.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mount grouped table chrome without items-rendered

Group-by remounts the view onto a full snapshot. Grouped tables never
fire table items-rendered, so .view-actions stayed unmounted after
Status groups painted.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep priority chips without closed-values

Canonical use-block property snapshots omit :property/closed-values, so
positioned Priority fell through to empty text instead of the dashed or
choice icon.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep empty table property columns

Empty unused property pages skip Virtuoso, so items-rendered never
flipped mount-unpinned-cells? and hid the property header.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not shadow cljs.core/partition

CI kondo failed on view-head-ready-on-mount? because the partition
arg shadowed cljs.core/partition.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep empty text values off select-type

Empty-placeholder alone made unused text properties render a 0-width
nested ls-block, so open-last-block clicked that instead of the page
block. Only built-in closed-choice properties keep the dashed chip.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): restore closed values on page property rows

Display-property rows already computed closed-value identities, then
dropped them before use-block. Canonical snapshots omit that key, so
select-type? fell through to a nested empty value editor.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): skip nested property blocks in open-last-block

Property values mount a nested .ls-block .block-content. Clicking the
last match opened that leftover editor instead of the page block.

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): restore worker mocks before async done

Calling done inside p/with-redefs lets the next namespace start
while the previous restore is still queued, so export-zip hits
the real uninitialized db-worker.

Co-authored-by: Tienson Qin <[email protected]>

* fix: stabilize table view windowing

* fix: stabilize windowed view actions

* refactor: simplify view resource plan

* fix(views): do not shadow notify-first-table-paint!

The windowed paint callback reused the private helper name, and kondo
failed CI on the resource-plan refactor.

Co-authored-by: Tienson Qin <[email protected]>

* fix: stabilize view windows and cmdk search

* fix: avoid direct page scan for title hits

* fix: paint list view previews immediately

* fix(views): do not paint grouped-list rows as table blocks

List→Table reused the previous :grouped-list snapshot. table-body then called use-block on [breadcrumb-uuid row-uuids] and crashed the page.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep the view search icon button mounted

Opening the view search field replaced the .ls-icon-search button, so e2e could not click it after List→Table.

Co-authored-by: Tienson Qin <[email protected]>

* fix: keep scrolled view loads current

* fix: keep table rows fixed height

* fix: render all pages chrome immediately

* fix: resolve all pages preview titles in worker

* fix: hydrate windowed table rows after scroll

* fix: keep table loading rows structured

* fix: clean lint warnings

---------

Co-authored-by: Cursor Agent <[email protected]>
devin-ai-integration Bot pushed a commit that referenced this pull request Oct 8, 2026
* perf(views): virtualize large db tables without a skeleton pause

Render the existing Virtuoso table immediately with a fixed 33px row
height and wider overscan, and skip per-cell IntersectionObserver so
wide 4k-row views keep scrolling and first paint stable. Clipped cells
expose their full value via a native title tooltip.

Co-authored-by: Tienson Qin <[email protected]>

* fix: fall back failed poster images to a readable link

Remote image URLs in property values (for example Amazon posters) were
rendered as a broken 80px img whose src wrapped as garbled text. On
load error, show a wrapping external link instead.

Co-authored-by: Tienson Qin <[email protected]>

* test: drop node-only table-body render assertion

The prefetch-gate test touched js/document, which is unavailable in the
Node cljs test runner. Helper tests still cover virtualization metrics
and clipped-cell titles.

Co-authored-by: Tienson Qin <[email protected]>

* fix: keep local assets as images and allow fallback link clicks

Restrict the failed-image link fallback to remote http(s) URLs so blob and file drops stay as <img>. Stop parent preventDefault from swallowing fallback-link navigation.

Co-authored-by: Tienson Qin <[email protected]>

* fix: lazy-render cells in non-virtualized grouped tables

Keep per-cell IntersectionObserver when a table group disables row virtualization. Make clipped table anchors inline-block so ellipsis can apply.

Co-authored-by: Tienson Qin <[email protected]>

* test: fix unmatched parens in table and image tests

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): paint Tags and All Pages from the first row window

Load a bounded first-row window so Tags and All Pages can mount immediately, then fill remaining ids. Class objects now use an id-only sort path, and table prefetch/overscan is wider so fast scroll does not leave large blanks.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): debounce search so typing does not search every character

Raise the command-palette search debounce so continuous keystrokes coalesce into one query.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): prove first-window paint and filled fast scroll

Keep Tags and All Pages on a bounded first-row query so the table can paint before remaining ids arrive. Add tests that fail if first paint waits for the full id list, if prefetch cannot cover viewport plus overscan, or if class-objects falls back to hydrating every entity.

Co-authored-by: Tienson Qin <[email protected]>

* test(cmdk): prove search waits past per-character cadence

Keep input updates immediate and assert that continuous typing does not search at the old 150ms cadence. Search runs once after the debounce pause.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(db): hide class objects via indexes

Tags first-window queries filter hide/deleted/built-in objects from
datoms instead of hydrating one entity per row.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): sort and filter Tags on the id-only path

Keep first paint cheap when a view has custom sorting, filters, or
search input. Tests lock order, filter semantics, and first-window
hydration/time bounds.

Co-authored-by: Tienson Qin <[email protected]>

* fix(db): split view filter matchers for large-vars lint

Co-authored-by: Tienson Qin <[email protected]>

* fix(db): avoid shadowed vars in view filter helpers

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): skip ref expansion in table snapshot loads

Table and All Pages rows already inline shallow ref identities. Hydrating every :block/refs target as its own canonical block made a 4k-movies scroll window take seconds.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): size first window and prefetch from the viewport

Replace the fixed 160-row first window with screen-height hydration and a viewport-plus-overscan prefetch cap so tall and short screens only load what they can show.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): skip id-ref title walks on plain table rows

Movie and All Pages titles are stored strings. Looking them up through Entity :block/title still expanded every :block/refs target and made a screen-sized get-render-snapshots call take seconds.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): load table snapshot refs from eavt

Skip Entity ILookup and display-property maps when hydrating All Pages
and class-object rows. Cache shared ref identities and class properties
for a snapshot batch so Movies-sized tables stay on the cheap path.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): cache property meta for table snapshots

Avoid repeating Entity position and closed-value walks on every Movies
row, and keep page refs on a tags-only eavt path.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): hydrate one screen instead of overscan

Virtuoso still overscans 1650px for layout. Snapshot batches only load
the on-screen rows so All Pages and Movies do not request 127 entities.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): stop hydrating virtuoso overscan rows

127-row snapshot batches came from 1650px overscan mounts calling
use-block, not from the one-screen prefetch window. Keep two
placeholder rows for Virtuoso and hydrate only the viewport range.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): render overscan placeholders as react nodes

Virtuoso item-content cannot take raw hiccup; a keyword child crashed
All Pages after the first scroll and left the table blank.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): load first-window ids before row snapshots

View-data no longer embeds canonical-blocks, so Tags and All Pages can
paint the ID window without waiting on get-render-snapshots. Row
snapshots hydrate only the requested blocks; property definitions and
ref targets stay inlined.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint class tables before children snapshots

Flush view-data before block and children trees, and keep Tags/Movies
first paint on the objects table instead of waiting for breadcrumb,
page children, and linked refs.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): return a boolean for class-page first-paint deferral

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): take All Pages first window from AVET

A 40k-page first window was sorting every page id before take.
Walk the sort attribute index for the visible rows and keep the
full count from the unsorted id list.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep table row snapshots off positioned properties

Skip :block/refs and legacy :block/path-refs on plain-title rows, and load positioned property chips through their existing resource instead of canonical-block.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): skip property closed-values on row snapshots

Table column headers were waiting on display-property-map for every Movie property (~250ms each). Closed values stay on the property resource.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): skip refs-count on property column snapshots

Movie column headers each walked every incoming :block/refs (~250ms). Property pages skip that count; All Pages rows still compute it.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): assert property snapshots skip refs-count

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): start All Pages without page-identity and cheapen row refs

Skip the views-page identity hop, start view-data before the view
entity snapshot, and build page-valued cell refs from one eavt scan.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): fill the visible table on open

Ignore a 0 clientHeight before layout so the first window and hydrate
set are one screen. Paint those rows only after the whole set is ready.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): load remaining ids after the viewport fills

The full All Pages id list is a resource and was jumping the queue
ahead of the first screen of rows. Class-page linked refs wait 800ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): delay class-page ref-count until after the table paints

Tag ref-count walks every incoming :block/refs and was a 1.4s resource
ahead of the Tags table snapshot.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): fill the open viewport before leftover snapshot work

Skip class/tag refs-count on first-screen row snapshots, flush view-data
before other resources, and start remaining ids only after the hydrate
set exists so Tags/All Pages/Movies paint a full viewport on open.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mount the table only after the viewport hydrate set is ready

Open polls showed 21-22 empty placeholder rows before any .ls-table-row
text. Keep skeletons until the first screen of blocks is ready so the
first visible table already fills the viewport.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window rows and lazy off-screen table cells

Movies first paint mounted 23 property-value trees per row, then
replaced 26 painted ids with the full list and remounted. Paint the
window, look remaining ids up later, and keep unpinned cells lazy.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): fix unmatched delimiter in eager-cell assertions

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window table queries off full-index scans

4k-movies logs showed All Pages walking 41k name datoms to count, Tags
copying 79k updated-at datoms to sort 21 eids, and Movies paying 90ms
on hidden-ancestor walks that hid nothing. Use BTSet est-count, sort
small leftover sets directly, rseek when the leftover set is larger
than the window, and collect class-object ids from the tag index only.
Remaining-id normalize stays off until the user scrolls.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window titles before block hydrate

First-window view-data already had the row ids. The table still waited
for a second use-block snapshot before mounting Virtuoso, so All Pages
and Movies stayed on skeletons after the cheap query. Carry the name
column in that first window and defer unpinned IntersectionObservers
until after it paints.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): restore eager-cell deftest delimiter

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): hydrate the scrolled window after remaining ids

Scrolling All Pages jumped the scrollbar past the first 26 ids. The
remaining-id list arrived, but prefetch stayed on that first window, so
the visible rows were empty placeholders. Refresh the hydrate set from
the current scroll position when the id list grows.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): render first-window title text without inline-title

Preview rows already had the name, but the name column still waited
for use-block because inline-title produced no DOM text. Paint that
title string until the full block snapshot arrives.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): declare first-window title helpers before block-title

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): page scrolled table rows without remaining ids

Scroll was requesting leftover view-data with no row-limit. 4k-movies All
Pages spent 850ms collecting, sorting, and normalizing 40938 UUIDs; Movies
spent 204ms on hidden-ancestor walks. Request a first-window :row-offset
instead and address rows through table-row-at.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): restore watch-all deftest after offset window test

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window rows without property cells

Skip use-block and unpinned property columns on the first table frame so All Pages, Tags, and Movies paint titles from first-window previews.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window table mounted across view hydrate

Key the view instance by UUID so pending view-data does not remount All Pages, Tags, and Movies when db/id arrives.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): defer view chrome until the first table paint

Keep pending view entities, class properties, and view-head off the first frame so All Pages, Tags, and Movies paint first-window titles before hydrate.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window rows before hydrate and class properties

Keep the first table frame on preview titles: isolate view-entity
use-block, rAF the first-paint callback, delay row subscribe until
unpinned cells mount, and fetch class properties only after that paint.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): drop unused view helpers that fail clj-kondo

Share first-paint class properties through views, delete leftover
prefetch/settled helpers only tests called, and clear unused worker
bindings so CI lint exits clean.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mark oversized table helpers for large-vars

table-body and table-row-inner exceed the 100-line lint max after the
first-paint path. Tag them with the existing cleanup exception.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): debounce search at 300ms

CMDK tag search still waits for a pause, now 300ms instead of 400ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): align scrolled row offset with list chrome

Offset windows started at scrollTop/row-height, so All Pages and Movies
left a visible hole of placeholders above the first filled row.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep the scrolled offset window until it leaves view

Rapid All Pages / Movies scrolls replaced the offset window every row
and painted 27 empty placeholders. Keep the current window, reuse the
last ready window while the next fetch is in flight, and fetch one extra
row so a clipped first visible row still fills the screen.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not replace an in-flight offset window

Movies rapid scroll cancelled the current :row-offset fetch on every
tick, so the stale window never arrived and the viewport stayed empty.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): close scrolled-offset unit test form

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): prefetch the next offset screen before it leaves view

Rapid All Pages / Movies scrolls still left 8 empty rows at the bottom
of the viewport. Fetch two screens and slide the window 8 rows early.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): start the next offset 16 rows before it leaves view

Movies rapid scroll still emptied 7 trailing rows. The class-object
offset fetch is ~50ms, which is more than an 8-row lead at 140px/32ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): prefetch the first offset on the first wheel

A 16-row slide lead added Movies fetch churn. Keep the 8-row slide and
start the first offset while the first window still covers the screen.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): silence lint on loaded-view-aux and offset tests

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): index hide? attrs on the class-objects unit conn

The worker test used a bare schema conn. Real graphs index hide?,
deleted-at, and built-in? via build-new-property.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): wait past cmdk 300ms debounce before search results

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): re-search after cmdk debounce and click the task title

Retry CMDK search after the 300ms debounce so newly created pages
can appear. Click the sample-task title wrap, not the TODO property.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): keep typed search when empty-state fetch lands late

get-recent-pages is async. Resetting the whole results atom after it
returns wiped nodes from a search that already finished.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): clear cmdk input so a retry still fires onChange

Playwright fill of the same query does not emit input, so a first empty
FTS result never recovered.

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): isolate the electron zip export worker mock

set! on state/<invoke-db-worker leaked the real uninitialized worker
when cljs tests ran in the same process.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): number list siblings against a closed-value type ref

canonical-block extracts the type as "number", but order-list-index
compared siblings with (str entity). Only the first item stayed 1.

Co-authored-by: Tienson Qin <[email protected]>

* test: keep ancestor titles on shallow breadcrumb identities

CMDK and [[ search render those titles. The scan-ref rewrite must
not drop :block/title on page/parent segments.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): show list and gallery chrome without table paint

Unlinked-references search lived in view-head, which waited for
table items-rendered. List views never fire that.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): treat shallow empty-placeholder as empty

Canonical rows inline empty-placeholder as an identity map. The dashed
priority chip only painted for the bare keyword.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): restore property-scalar-value-aux delimiters

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep scalar-value-aux structure when normalizing empty

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): keep empty-placeholder priority assertion inside the task test

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): resolve breadcrumb refs by uuid and ident

CMDK and [[ search attach breadcrumbs on every hit. A pulled page
without :db/id made shallow-ref-identity throw and failed the whole
search-blocks call, so newly created tags never appeared.

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): drop unused lookup-eid db arg

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): compare breadcrumb page by resolved id

A raw page uuid made :db/id nil, so the page was prepended even when
it was already the first parent. Resolve the id before that check.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep deleted view-data from crashing snapshots

Delete still refreshes an in-flight :view-data snapshot. Returning empty
rows for a missing view keeps the batch (and the page) alive, and the
tab switches to the leftover view before the retract.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not prefetch grouped table values as block ids

Group-by Status passed [scalar value, row uuids] as :all-row-ids.
use-block-prefetch then treated {:kind :scalar :value \"Open\"} as a
UUID and the page crashed before the grouped rows painted.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mount grouped table chrome without items-rendered

Group-by remounts the view onto a full snapshot. Grouped tables never
fire table items-rendered, so .view-actions stayed unmounted after
Status groups painted.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep priority chips without closed-values

Canonical use-block property snapshots omit :property/closed-values, so
positioned Priority fell through to empty text instead of the dashed or
choice icon.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep empty table property columns

Empty unused property pages skip Virtuoso, so items-rendered never
flipped mount-unpinned-cells? and hid the property header.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not shadow cljs.core/partition

CI kondo failed on view-head-ready-on-mount? because the partition
arg shadowed cljs.core/partition.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep empty text values off select-type

Empty-placeholder alone made unused text properties render a 0-width
nested ls-block, so open-last-block clicked that instead of the page
block. Only built-in closed-choice properties keep the dashed chip.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): restore closed values on page property rows

Display-property rows already computed closed-value identities, then
dropped them before use-block. Canonical snapshots omit that key, so
select-type? fell through to a nested empty value editor.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): skip nested property blocks in open-last-block

Property values mount a nested .ls-block .block-content. Clicking the
last match opened that leftover editor instead of the page block.

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): restore worker mocks before async done

Calling done inside p/with-redefs lets the next namespace start
while the previous restore is still queued, so export-zip hits
the real uninitialized db-worker.

Co-authored-by: Tienson Qin <[email protected]>

* fix: stabilize table view windowing

* fix: stabilize windowed view actions

* refactor: simplify view resource plan

* fix(views): do not shadow notify-first-table-paint!

The windowed paint callback reused the private helper name, and kondo
failed CI on the resource-plan refactor.

Co-authored-by: Tienson Qin <[email protected]>

* fix: stabilize view windows and cmdk search

* fix: avoid direct page scan for title hits

* fix: paint list view previews immediately

* fix(views): do not paint grouped-list rows as table blocks

List→Table reused the previous :grouped-list snapshot. table-body then called use-block on [breadcrumb-uuid row-uuids] and crashed the page.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep the view search icon button mounted

Opening the view search field replaced the .ls-icon-search button, so e2e could not click it after List→Table.

Co-authored-by: Tienson Qin <[email protected]>

* fix: keep scrolled view loads current

* fix: keep table rows fixed height

* fix: render all pages chrome immediately

* fix: resolve all pages preview titles in worker

* fix: hydrate windowed table rows after scroll

* fix: keep table loading rows structured

* fix: clean lint warnings

---------

Co-authored-by: Cursor Agent <[email protected]>
devin-ai-integration Bot pushed a commit that referenced this pull request Oct 8, 2026
* perf(views): virtualize large db tables without a skeleton pause

Render the existing Virtuoso table immediately with a fixed 33px row
height and wider overscan, and skip per-cell IntersectionObserver so
wide 4k-row views keep scrolling and first paint stable. Clipped cells
expose their full value via a native title tooltip.

Co-authored-by: Tienson Qin <[email protected]>

* fix: fall back failed poster images to a readable link

Remote image URLs in property values (for example Amazon posters) were
rendered as a broken 80px img whose src wrapped as garbled text. On
load error, show a wrapping external link instead.

Co-authored-by: Tienson Qin <[email protected]>

* test: drop node-only table-body render assertion

The prefetch-gate test touched js/document, which is unavailable in the
Node cljs test runner. Helper tests still cover virtualization metrics
and clipped-cell titles.

Co-authored-by: Tienson Qin <[email protected]>

* fix: keep local assets as images and allow fallback link clicks

Restrict the failed-image link fallback to remote http(s) URLs so blob and file drops stay as <img>. Stop parent preventDefault from swallowing fallback-link navigation.

Co-authored-by: Tienson Qin <[email protected]>

* fix: lazy-render cells in non-virtualized grouped tables

Keep per-cell IntersectionObserver when a table group disables row virtualization. Make clipped table anchors inline-block so ellipsis can apply.

Co-authored-by: Tienson Qin <[email protected]>

* test: fix unmatched parens in table and image tests

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): paint Tags and All Pages from the first row window

Load a bounded first-row window so Tags and All Pages can mount immediately, then fill remaining ids. Class objects now use an id-only sort path, and table prefetch/overscan is wider so fast scroll does not leave large blanks.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): debounce search so typing does not search every character

Raise the command-palette search debounce so continuous keystrokes coalesce into one query.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): prove first-window paint and filled fast scroll

Keep Tags and All Pages on a bounded first-row query so the table can paint before remaining ids arrive. Add tests that fail if first paint waits for the full id list, if prefetch cannot cover viewport plus overscan, or if class-objects falls back to hydrating every entity.

Co-authored-by: Tienson Qin <[email protected]>

* test(cmdk): prove search waits past per-character cadence

Keep input updates immediate and assert that continuous typing does not search at the old 150ms cadence. Search runs once after the debounce pause.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(db): hide class objects via indexes

Tags first-window queries filter hide/deleted/built-in objects from
datoms instead of hydrating one entity per row.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): sort and filter Tags on the id-only path

Keep first paint cheap when a view has custom sorting, filters, or
search input. Tests lock order, filter semantics, and first-window
hydration/time bounds.

Co-authored-by: Tienson Qin <[email protected]>

* fix(db): split view filter matchers for large-vars lint

Co-authored-by: Tienson Qin <[email protected]>

* fix(db): avoid shadowed vars in view filter helpers

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): skip ref expansion in table snapshot loads

Table and All Pages rows already inline shallow ref identities. Hydrating every :block/refs target as its own canonical block made a 4k-movies scroll window take seconds.

Co-authored-by: Tienson Qin <[email protected]>

* enhance(views): size first window and prefetch from the viewport

Replace the fixed 160-row first window with screen-height hydration and a viewport-plus-overscan prefetch cap so tall and short screens only load what they can show.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): skip id-ref title walks on plain table rows

Movie and All Pages titles are stored strings. Looking them up through Entity :block/title still expanded every :block/refs target and made a screen-sized get-render-snapshots call take seconds.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): load table snapshot refs from eavt

Skip Entity ILookup and display-property maps when hydrating All Pages
and class-object rows. Cache shared ref identities and class properties
for a snapshot batch so Movies-sized tables stay on the cheap path.

Co-authored-by: Tienson Qin <[email protected]>

* fix(worker): cache property meta for table snapshots

Avoid repeating Entity position and closed-value walks on every Movies
row, and keep page refs on a tags-only eavt path.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): hydrate one screen instead of overscan

Virtuoso still overscans 1650px for layout. Snapshot batches only load
the on-screen rows so All Pages and Movies do not request 127 entities.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): stop hydrating virtuoso overscan rows

127-row snapshot batches came from 1650px overscan mounts calling
use-block, not from the one-screen prefetch window. Keep two
placeholder rows for Virtuoso and hydrate only the viewport range.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): render overscan placeholders as react nodes

Virtuoso item-content cannot take raw hiccup; a keyword child crashed
All Pages after the first scroll and left the table blank.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): load first-window ids before row snapshots

View-data no longer embeds canonical-blocks, so Tags and All Pages can
paint the ID window without waiting on get-render-snapshots. Row
snapshots hydrate only the requested blocks; property definitions and
ref targets stay inlined.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint class tables before children snapshots

Flush view-data before block and children trees, and keep Tags/Movies
first paint on the objects table instead of waiting for breadcrumb,
page children, and linked refs.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): return a boolean for class-page first-paint deferral

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): take All Pages first window from AVET

A 40k-page first window was sorting every page id before take.
Walk the sort attribute index for the visible rows and keep the
full count from the unsorted id list.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep table row snapshots off positioned properties

Skip :block/refs and legacy :block/path-refs on plain-title rows, and load positioned property chips through their existing resource instead of canonical-block.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): skip property closed-values on row snapshots

Table column headers were waiting on display-property-map for every Movie property (~250ms each). Closed values stay on the property resource.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): skip refs-count on property column snapshots

Movie column headers each walked every incoming :block/refs (~250ms). Property pages skip that count; All Pages rows still compute it.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): assert property snapshots skip refs-count

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): start All Pages without page-identity and cheapen row refs

Skip the views-page identity hop, start view-data before the view
entity snapshot, and build page-valued cell refs from one eavt scan.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): fill the visible table on open

Ignore a 0 clientHeight before layout so the first window and hydrate
set are one screen. Paint those rows only after the whole set is ready.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): load remaining ids after the viewport fills

The full All Pages id list is a resource and was jumping the queue
ahead of the first screen of rows. Class-page linked refs wait 800ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): delay class-page ref-count until after the table paints

Tag ref-count walks every incoming :block/refs and was a 1.4s resource
ahead of the Tags table snapshot.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): fill the open viewport before leftover snapshot work

Skip class/tag refs-count on first-screen row snapshots, flush view-data
before other resources, and start remaining ids only after the hydrate
set exists so Tags/All Pages/Movies paint a full viewport on open.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mount the table only after the viewport hydrate set is ready

Open polls showed 21-22 empty placeholder rows before any .ls-table-row
text. Keep skeletons until the first screen of blocks is ready so the
first visible table already fills the viewport.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window rows and lazy off-screen table cells

Movies first paint mounted 23 property-value trees per row, then
replaced 26 painted ids with the full list and remounted. Paint the
window, look remaining ids up later, and keep unpinned cells lazy.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): fix unmatched delimiter in eager-cell assertions

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window table queries off full-index scans

4k-movies logs showed All Pages walking 41k name datoms to count, Tags
copying 79k updated-at datoms to sort 21 eids, and Movies paying 90ms
on hidden-ancestor walks that hid nothing. Use BTSet est-count, sort
small leftover sets directly, rseek when the leftover set is larger
than the window, and collect class-object ids from the tag index only.
Remaining-id normalize stays off until the user scrolls.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window titles before block hydrate

First-window view-data already had the row ids. The table still waited
for a second use-block snapshot before mounting Virtuoso, so All Pages
and Movies stayed on skeletons after the cheap query. Carry the name
column in that first window and defer unpinned IntersectionObservers
until after it paints.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): restore eager-cell deftest delimiter

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): hydrate the scrolled window after remaining ids

Scrolling All Pages jumped the scrollbar past the first 26 ids. The
remaining-id list arrived, but prefetch stayed on that first window, so
the visible rows were empty placeholders. Refresh the hydrate set from
the current scroll position when the id list grows.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): render first-window title text without inline-title

Preview rows already had the name, but the name column still waited
for use-block because inline-title produced no DOM text. Paint that
title string until the full block snapshot arrives.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): declare first-window title helpers before block-title

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): page scrolled table rows without remaining ids

Scroll was requesting leftover view-data with no row-limit. 4k-movies All
Pages spent 850ms collecting, sorting, and normalizing 40938 UUIDs; Movies
spent 204ms on hidden-ancestor walks. Request a first-window :row-offset
instead and address rows through table-row-at.

Co-authored-by: Tienson Qin <[email protected]>

* test(views): restore watch-all deftest after offset window test

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window rows without property cells

Skip use-block and unpinned property columns on the first table frame so All Pages, Tags, and Movies paint titles from first-window previews.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep first-window table mounted across view hydrate

Key the view instance by UUID so pending view-data does not remount All Pages, Tags, and Movies when db/id arrives.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): defer view chrome until the first table paint

Keep pending view entities, class properties, and view-head off the first frame so All Pages, Tags, and Movies paint first-window titles before hydrate.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): paint first-window rows before hydrate and class properties

Keep the first table frame on preview titles: isolate view-entity
use-block, rAF the first-paint callback, delay row subscribe until
unpinned cells mount, and fetch class properties only after that paint.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): drop unused view helpers that fail clj-kondo

Share first-paint class properties through views, delete leftover
prefetch/settled helpers only tests called, and clear unused worker
bindings so CI lint exits clean.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mark oversized table helpers for large-vars

table-body and table-row-inner exceed the 100-line lint max after the
first-paint path. Tag them with the existing cleanup exception.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): debounce search at 300ms

CMDK tag search still waits for a pause, now 300ms instead of 400ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): align scrolled row offset with list chrome

Offset windows started at scrollTop/row-height, so All Pages and Movies
left a visible hole of placeholders above the first filled row.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep the scrolled offset window until it leaves view

Rapid All Pages / Movies scrolls replaced the offset window every row
and painted 27 empty placeholders. Keep the current window, reuse the
last ready window while the next fetch is in flight, and fetch one extra
row so a clipped first visible row still fills the screen.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not replace an in-flight offset window

Movies rapid scroll cancelled the current :row-offset fetch on every
tick, so the stale window never arrived and the viewport stayed empty.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): close scrolled-offset unit test form

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): prefetch the next offset screen before it leaves view

Rapid All Pages / Movies scrolls still left 8 empty rows at the bottom
of the viewport. Fetch two screens and slide the window 8 rows early.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): start the next offset 16 rows before it leaves view

Movies rapid scroll still emptied 7 trailing rows. The class-object
offset fetch is ~50ms, which is more than an 8-row lead at 140px/32ms.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): prefetch the first offset on the first wheel

A 16-row slide lead added Movies fetch churn. Keep the 8-row slide and
start the first offset while the first window still covers the screen.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): silence lint on loaded-view-aux and offset tests

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): index hide? attrs on the class-objects unit conn

The worker test used a bare schema conn. Real graphs index hide?,
deleted-at, and built-in? via build-new-property.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): wait past cmdk 300ms debounce before search results

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): re-search after cmdk debounce and click the task title

Retry CMDK search after the 300ms debounce so newly created pages
can appear. Click the sample-task title wrap, not the TODO property.

Co-authored-by: Tienson Qin <[email protected]>

* fix(cmdk): keep typed search when empty-state fetch lands late

get-recent-pages is async. Resetting the whole results atom after it
returns wiped nodes from a search that already finished.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): clear cmdk input so a retry still fires onChange

Playwright fill of the same query does not emit input, so a first empty
FTS result never recovered.

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): isolate the electron zip export worker mock

set! on state/<invoke-db-worker leaked the real uninitialized worker
when cljs tests ran in the same process.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): number list siblings against a closed-value type ref

canonical-block extracts the type as "number", but order-list-index
compared siblings with (str entity). Only the first item stayed 1.

Co-authored-by: Tienson Qin <[email protected]>

* test: keep ancestor titles on shallow breadcrumb identities

CMDK and [[ search render those titles. The scan-ref rewrite must
not drop :block/title on page/parent segments.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): show list and gallery chrome without table paint

Unlinked-references search lived in view-head, which waited for
table items-rendered. List views never fire that.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): treat shallow empty-placeholder as empty

Canonical rows inline empty-placeholder as an identity map. The dashed
priority chip only painted for the bare keyword.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): restore property-scalar-value-aux delimiters

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep scalar-value-aux structure when normalizing empty

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): keep empty-placeholder priority assertion inside the task test

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): resolve breadcrumb refs by uuid and ident

CMDK and [[ search attach breadcrumbs on every hit. A pulled page
without :db/id made shallow-ref-identity throw and failed the whole
search-blocks call, so newly created tags never appeared.

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): drop unused lookup-eid db arg

Co-authored-by: Tienson Qin <[email protected]>

* fix(search): compare breadcrumb page by resolved id

A raw page uuid made :db/id nil, so the page was prepended even when
it was already the first parent. Resolve the id before that check.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep deleted view-data from crashing snapshots

Delete still refreshes an in-flight :view-data snapshot. Returning empty
rows for a missing view keeps the batch (and the page) alive, and the
tab switches to the leftover view before the retract.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not prefetch grouped table values as block ids

Group-by Status passed [scalar value, row uuids] as :all-row-ids.
use-block-prefetch then treated {:kind :scalar :value \"Open\"} as a
UUID and the page crashed before the grouped rows painted.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): mount grouped table chrome without items-rendered

Group-by remounts the view onto a full snapshot. Grouped tables never
fire table items-rendered, so .view-actions stayed unmounted after
Status groups painted.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep priority chips without closed-values

Canonical use-block property snapshots omit :property/closed-values, so
positioned Priority fell through to empty text instead of the dashed or
choice icon.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep empty table property columns

Empty unused property pages skip Virtuoso, so items-rendered never
flipped mount-unpinned-cells? and hid the property header.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): do not shadow cljs.core/partition

CI kondo failed on view-head-ready-on-mount? because the partition
arg shadowed cljs.core/partition.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): keep empty text values off select-type

Empty-placeholder alone made unused text properties render a 0-width
nested ls-block, so open-last-block clicked that instead of the page
block. Only built-in closed-choice properties keep the dashed chip.

Co-authored-by: Tienson Qin <[email protected]>

* fix(property): restore closed values on page property rows

Display-property rows already computed closed-value identities, then
dropped them before use-block. Canonical snapshots omit that key, so
select-type? fell through to a nested empty value editor.

Co-authored-by: Tienson Qin <[email protected]>

* fix(e2e): skip nested property blocks in open-last-block

Property values mount a nested .ls-block .block-content. Clicking the
last match opened that leftover editor instead of the page block.

Co-authored-by: Tienson Qin <[email protected]>

* fix(test): restore worker mocks before async done

Calling done inside p/with-redefs lets the next namespace start
while the previous restore is still queued, so export-zip hits
the real uninitialized db-worker.

Co-authored-by: Tienson Qin <[email protected]>

* fix: stabilize table view windowing

* fix: stabilize windowed view actions

* refactor: simplify view resource plan

* fix(views): do not shadow notify-first-table-paint!

The windowed paint callback reused the private helper name, and kondo
failed CI on the resource-plan refactor.

Co-authored-by: Tienson Qin <[email protected]>

* fix: stabilize view windows and cmdk search

* fix: avoid direct page scan for title hits

* fix: paint list view previews immediately

* fix(views): do not paint grouped-list rows as table blocks

List→Table reused the previous :grouped-list snapshot. table-body then called use-block on [breadcrumb-uuid row-uuids] and crashed the page.

Co-authored-by: Tienson Qin <[email protected]>

* fix(views): keep the view search icon button mounted

Opening the view search field replaced the .ls-icon-search button, so e2e could not click it after List→Table.

Co-authored-by: Tienson Qin <[email protected]>

* fix: keep scrolled view loads current

* fix: keep table rows fixed height

* fix: render all pages chrome immediately

* fix: resolve all pages preview titles in worker

* fix: hydrate windowed table rows after scroll

* fix: keep table loading rows structured

* fix: clean lint warnings

---------

Co-authored-by: Cursor Agent <[email protected]>
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.

3 participants