Skip to content

Kanban view: bound large boards (pagination/virtualization) + browser DnD tests #1985

Closed

Description

@mstomar125

Follow-ups from the #1921 review (PR #1984) — deferred to keep that PR focused on correctness.

1. Bound unbounded card rendering

kanban-view.svelte buckets and renders all result nodes (a card + a full-options <select> each), while List/Table paginate at PAGE_SIZE = 25. A schema type with thousands of instances would render thousands of DOM nodes. Add a per-column cap with a "+N more" affordance, or column-level virtualization. Kanban's "see all cards" UX makes a hard hidden cap awkward, so virtualization is likely the better fit.

2. Browser-based drag-and-drop tests

The #1921 issue noted DnD interactions want real browser tests, not Happy-DOM. PR #1984 unit-tests the extracted grouping/write-shape logic (kanban-grouping.ts, 16 tests) per the repo's test-extracted-logic convention, but the drag/drop → store-write → reactive-regroup → rollback flow and the keyboard move-select are not covered end-to-end. Add coverage under the browser test config (test:browser).

Context: PR #1984 ships List + Kanban functionally; these harden it for scale and lock in the DnD behavior.

Activity

  1. mstomar125 commented on Aug 13, 2026

    @mstomar125
    ContributorAuthor

    Frontend baseline: 202 test files / 4582 tests passing.

  2. mstomar125 commented on Aug 13, 2026

    @mstomar125
    ContributorAuthor

    PR #2066 opened. Per-column cap (+N more, not virtualization — reasoning in the PR) for item 1; real-Chromium DnD/rollback/keyboard-move browser tests for item 2. Writing the rollback test surfaced a real pre-existing bug (rollbackUpdate never actually restored optimistic field values on a non-OCC persist failure) — fixed + regression-tested, details in the PR body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions