You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
#grid [2/4] Show projected fields and let users copy cell values in Table view #1103
Scope: Build on #1101 so users can narrow the grid to the fields they want to compare and copy an identifier without switching to JSON view.
Acceptance criteria
When a query uses a projection, show the fields in the projected result. Remove stale columns from previous queries, respect explicit exclusions such as _id: 0, and restore normal column discovery when the projection is cleared.
Account for fields present in some returned documents but missing in others. An empty projected result must not leave the previous result’s columns visible.
Provide Copy Cell Value through a context-menu action and a keyboard shortcut when a cell is focused. Copy the full value, not truncated display text, and keep it distinct from copying the entire document.
changed the title [-]Show projected fields and let users copy cell values in Table view[/-][+]#grid [2/4] Show projected fields and let users copy cell values in Table view[/+]on Dec 1, 2026
Clipboard step 2/4, after #1101; before #1158 and #1160. The current keyboard shortcut already copies a scalar's entire display string, even when CSS ellipsizes it. An object copies its bounded preview and an array its count; that is not the full underlying value. Provide a real native Copy Cell Value action plus keyboard access. Resolve the value from the matching executed page/row/path, even for projected rows without an actionable _id; do not parse previews or target a document by position in a new result. Keep ordinary display Copy usable and retain the desktop body-targeted Copy path.
The Table still takes headers from the accumulated collection SchemaStore and always prepends _id. Test a projected result after a wider previous query, explicit _id: 0, heterogeneous rows, an empty projected result, and clearing projection. Do not clear the shared completion schema to fix visible columns. Layout-only hiding (#1156) is not query projection. #81/#134 removed an inert menu; only enable functional native commands in the intended grid context. Rectangles/TSV and additional typed formats are owned by #1158/#1160, not this issue.
Activity
[-]Show projected fields and let users copy cell values in Table view[/-][+]#grid [2/4] Show projected fields and let users copy cell values in Table view[/+]tnaum-ms commentedon Dec 1, 2026
Clipboard step 2/4, after #1101; before #1158 and #1160. The current keyboard shortcut already copies a scalar's entire display string, even when CSS ellipsizes it. An object copies its bounded preview and an array its count; that is not the full underlying value. Provide a real native Copy Cell Value action plus keyboard access. Resolve the value from the matching executed page/row/path, even for projected rows without an actionable
_id; do not parse previews or target a document by position in a new result. Keep ordinary display Copy usable and retain the desktop body-targeted Copy path.The Table still takes headers from the accumulated collection
SchemaStoreand always prepends_id. Test a projected result after a wider previous query, explicit_id: 0, heterogeneous rows, an empty projected result, and clearing projection. Do not clear the shared completion schema to fix visible columns. Layout-only hiding (#1156) is not query projection. #81/#134 removed an inert menu; only enable functional native commands in the intended grid context. Rectangles/TSV and additional typed formats are owned by #1158/#1160, not this issue.