Repository navigation
Refresh Collection View with React Data Grid - #1142
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use a font-independent 24px spacing unit per depth and cover root, child, and deep indentation in browser scenarios. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ved styling and click behavior
This was referenced Dec 1, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Guanzhou Song (guanzhousongmicrosoft)
approved these changes
Dec 1, 2026
Tomasz Naumowicz (tnaum-ms)
added a commit
that referenced
this pull request
Dec 2, 2026
Bring in React Data Grid (#1142), Dashboard Connection Diagnostics (#1150) and the PR report change (#1164), resolved against the connection lifecycle work. - ClusterSession: keep guarded runWithClient queries; compute projection identity trust before the query and publish it with the page only after the current-epoch check. - Collection View: start from main's RDG component and reapply lifecycle guards, unavailable handling, the disconnected overlay and the context lifecycle; main's dataRequestRef, settleFirstLoad and row-key targets replace the PR's page counter, onSettled and selectedDocumentObjectIds. - Document View: bound save with main's own-property _id check; a missing _id still uses the preallocated insert identity. - Dashboard: Connection Diagnostics uses the same bound-view guard as the other tree-command actions, so a retained view cannot reach a later connection. - Browser harness: main's tag holds and input cases, plus afterFirst replies (tag holds), post/waitFor/replaceText/targeted press steps, checkInput: false, a hold probe bound to its release function and an opt-in post-release render wait. Lifecycle scenarios ported to RDG. - Fixture types allow null for procedures whose raw output includes void; grid fixtures use success-only page and tree types. - package-lock.json: three-way merged per entry; l10n regenerated; both 1.2 release-note drafts combined (still unpublished). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Collection View replaces SlickGrid with React Data Grid in Table and Tree. You can browse nested results, select documents, resize columns, and copy a cell without switching to JSON or reaching for the mouse. JSON View stays independent. The extension now requires VS Code 1.123.0 or later.
What changed
_idcell. Objects preview their first two fields, arrays show their length, and long values ellipsize without hiding the BSON type. The cell’s accessible name gives the full type before the value.documentDB.accessibility.disableHighlightOnHoversuppresses hover highlights without hiding focus or selection._idis missing, untrusted after projection, duplicated on the page, or cannot round-trip safely. Document View saves now preserve explicitly supplied falsy IDs (0,false,"",null); only an absent_idtakes the generate-ID path.The host supplies grid-neutral
TablePageandTreeNodemodels to the exact-pinnedreact-data-grid@7.0.0-beta.64. The extension owns the document hierarchy and expansion rather than treating RDG’s groupedTreeDataGridas a document tree. Review fixes from #1152 are included. See the feature design and decision history and the Collection View user guide.Verification
The migration sweep exercised 54 Collection View browser routes across light, dark, and high contrast. Packaged checks verified the grid renders and that a deliberately broken stylesheet is detected. The VSIX installed and activated on VS Code 1.123.0. Workbench checks confirmed cross-collection isolation, column sizing, native Copy, hover suppression, and the NVDA entry hint. See checks on this PR for the current head; earlier runs are not sign-off on later commits.
Still to verify in the installed workbench: full NVDA/Narrator navigation and announcements (including focus vs selection and Tree refresh), native Windows contrast themes, physical zoom/macOS Cmd-click, and live wide/deep results on the minimum supported version, including full-value inspection for projected rows without an actionable ID.
Follow-up work (not delivered here)
Quick Table/Tree improvements (#1161) covers width reset and Tree Collapse all. Pinning
_id(#1159), configurable columns (#1156), page selection/checkboxes (#1155), and non-drag header commands (#776) are separate. The clipboard sequence continues with projected columns and full single-cell Copy (#1103), rectangular selection/TSV (#1158), then native selection-aware menus and typed formats (#1160). This PR does not add inline editing, Tree row selection, or cross-page/shard uniqueness checks.The handoff index links the remaining accessibility reports, document-correctness work, and RDG upgrade coverage. The #rdg focus list identifies follow-ups filed during or after the migration; the older
#gridbacklog remains separate.Closes #1101.
Post-merge description review
For 1.2.0, #1171 supersedes the display-text-only Copy behavior and delivers projected-column support. Table keeps explicitly selected headers even on empty pages, and Table and Tree copy full values as Shell Literals by default, with Display Text and Canonical Extended JSON available from the native Copy As menu. Copy still targets one cell or label at a time; rectangular selection and range-aware menus did not ship in this work.