feat(results): copy cells, rows and result sets - #757
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Closing as an automated bulk submission that this project cannot absorb. This account opened 35 pull requests here in under 25 hours, a median of 17 minutes apart and four inside the same 13 seconds. That is machine cadence, not a person working through a backlog, and 35 of its 41 pull requests across all of GitHub targeted this one repository. On the earlier ones I did review, the review threads were never answered and review was never re-requested, so nothing closed out. This pull request never reached review, and the account is now blocked at the organization level, so it cannot move forward. If a person wants to contribute here: open one issue, wait for assignment, and send one pull request at a time. |
Description
The results grid now provides Copy Cell and Copy Row as JSON through the existing context-menu primitive. A Copy rows menu copies the loaded, filtered and sorted result rows as JSON, YAML or CSV without downloading a file or fetching more pages.
Type of Change
Changes Made
Testing
bun run test:components --pass-with-no-tests -t 'ResultsGrid|results-grid/StatsBar': 80 matching tests passed, 0 failed, including real Radix context/dropdown menus. Added the existing Happy DOMDOMRectto the test environment for context-menu positioning.bun run test:unit --isolate --pass-with-no-tests -t 'result clipboard serialization': 7 passed, 0 failed, covering nulls, long Unicode/multiline text, binary, dates, bigint, cycles, CSV quoting and formula neutralization.format,lint,typecheck,knip,readme:check,chart:check,channels:showcase:check,security:check, productionbuild,build:libandattw.bun run test/ coverage and E2E were not completed: this Windows host lacks Helm/chart dependencies, Docker is unavailable, and existing SQLite cleanup tests encounter Windows file-lock errors. Official Linux CI must verify the full suite and 100% line-coverage gate.Environment: Windows, Node.js 24.18.1, Bun 1.4.2. Both builds ran from a clean checkout of the submitted commit with real local dependencies.
Checklist
Additional Notes
AI-assisted implementation and test execution using Codex. Clipboard masking is the existing client-side display policy; this change does not alter database execution or access controls.