Skip to content

#grid Quick improvements for Collection View Table and Tree #rdg #1161

Backlog

Description

Post-#1142 checklist of small improvements that are not implemented. It is not a migration merge gate. Use the linked issues as owners; do not file duplicate implementation tickets. The agreed order is migration, reassess residual accessibility, then enhancements.

Item Done when / owner
Resize a header without dragging Table and Tree: native Resize… (exact pixels) and Resize by Content. See #776. Keyboard resizing and double-click fit already exist.
Keep row identity visible Pin the visible Table root _id, taking care with narrow panes and projection: #1159. Optional pinning of other fields, moving/hiding and restoring columns: #1156.
Reset one Table column to automatic; reset widths for this path Owned here (F-5). Reuse the native header route from #776. Remove the manual override from both the live layout and the panel-lifetime query/path cache. Returning to the path should not resurrect it. Other paths retain their widths; automatic columns reflow on pane resize. Reset is not fit-to-content. No cross-session storage or retained query text.
Tree: Collapse all on this page Owned here. Clear expansion for the loaded page, no query. Keep focus on the toolbar when invoked there; for an in-grid action, restore the surviving root in the same column. No Tree selection, subtree animation, expansion past the array bound, or change to JSON folding (#1100).
Select this page Table rows on the loaded page only: #1155. Offer the page action independently of adding a checkbox column.
Copy a Tree field path Candidate. Use typed path segments, omit the page-position prefix, and choose an unambiguous representation for literal dots, numeric-looking keys and array indices. Don't label an ambiguous string a query path.
Visible empty-result message Candidate. Use RDG noRowsFallback only for a settled empty result; preserve query/navigation controls, loading and the existing announcement without duplicate speech.

Evaluate, not committed scope: visual BSON badge (F-9) after #382 contrast retest; the accessible type name and short glyph already exist. Optional pinned Tree Field and two-line wrap/density only if narrow panes, virtualization, focus and type indicators remain usable. Do not restore type tooltips. Cross-session layout persistence needs a separate storage decision. Clipboard ranges (#1158), inline editing (#62), upgrade work (#1151), and cross-surface hover rollout (#1157) are not quick wins. Preserve the single-cell/full-value distinction in #1103.

Sources: F-1–F-9, decisions, capabilities and effort.

Activity

  1. tnaum-ms commented on Dec 1, 2026

    @tnaum-ms
    CollaboratorAuthor

    For navigation once #1101 closes, the clipboard sequence is #1101 → #1103 → #1158 → #1160. That order is not a dependency for Tree Collapse all or the empty-state candidate. Only the header-reset UI reuses the native route from #776. The full migration handoff indexes the tester-owned reports, data-integrity follow-ups (#1144, #1145, #1153), dependency checklist (#1151), and the deliberately parked investigations. Keep this quick list for user-visible work, not as a substitute for their acceptance criteria.

  2. changed the title [-]#grid Quick improvements for Collection View Table and Tree[/-] [+]#grid Quick improvements for Collection View Table and Tree #rdg[/+] on Dec 1, 2026
  3. tnaum-ms commented on Dec 2, 2026

    @tnaum-ms
    CollaboratorAuthor

    Progress for #776 on dev/tnaum/a11y-issues (draft PR #1147). Both native Results column-header commands work in Table and Tree:

    • Set Column Width… opens a VS Code input box prefilled with the column's current rendered width. It accepts 50–2000 px in Table and 100–2000 px in Tree, applies only to that column, and Cancel leaves the layout unchanged.
    • Size Column to Fit runs the grid's own double-click fit on the column edge. It fits the header and the rendered rows and stores an explicit width that stays fixed when the pane is resized.

    Ctrl+Arrow and double-click fit still work, and focus returns to the invoking header. The upgrade dependency on the grid's private double-click behavior is recorded in #1151.

    This is local work only; it is not pushed or merged. Case 1 verification passed: npm run build and 103 focused Vitest tests. Still pending: the native menu in installed VS Code by pointer and by the Context Menu key or Shift+F10, then TCS/C+AI verification.

    Reset-to-automatic stays open under #1161 (F-5). It can reuse the new native header menu. It is different from fitting: it must remove both the live override and the panel-lifetime path cache entry.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions