Skip to content

feat: add virtualized document grid view - #37

Open
rrbe wants to merge 1 commit into
masterfrom
feat/grid-view
Open

rrbe wants to merge 1 commit into
masterfrom
feat/grid-view

Conversation

@rrbe

@rrbe rrbe commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Summary

Add a document-card Grid view alongside the existing result views. Cards adapt to the result container width, show eight filtered fields, and open the existing full-document preview for additional content.

Result panel
  Tree / JSON / Table / Grid
    virtualized card rows
      BSON fields, selection, preview, copy, export, edit and delete

Grid retains per-result scroll and field selection. Cmd/Ctrl+4 selects Grid; Console moves to Cmd/Ctrl+5.

Evidence

  • Before: Results offered Tree, JSON and Table without a document-card layout.
    After: Grid adds responsive document cards while keeping full source documents for copy, export and editing.
  • Type checking and 94 tests across seven affected renderer test files passed in the worktree.
  • Prior Electron validation covered three/four-column layouts, previews, copy, selection and scroll restoration; a 2,000-document, 160-field fixture mounted 15 cards and 120 fields in a three-column viewport.

Merge Danger

Door: Two-way

Blast Radius: Renderer

Result layout and view shortcuts change. Database operations reuse the existing document actions.

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.

1 participant