IGVF-2753 Add downstream analysis files to file-set file download options#1036
Conversation
Code Review — IGVF-2753-recursive-downloadReviewed by GitHub Copilot (Claude Sonnet 4.6) Files Changed
SummaryThis PR adds a recursive/downstream file-download option to the measurement-set page. It introduces a new
|
Code Review: IGVF-2753-recursive-download
SummaryI do not have any actionable code-review findings for the current branch. The batch-download changes are internally consistent across the UI, controller selection, and measurement-set page integration:
FindingsNo blocking bugs, regressions, or missing integration changes were identified in the reviewed diff. Residual RiskThere is still some verification risk because the new I also could not fully validate with the workspace typecheck task because the configured fallback command failed in this environment with Merge RecommendationBased on the code reviewed, I recommend merging this branch. |
There was a problem hiding this comment.
Pull request overview
Adds a new file-set batch download option that can include downstream analysis files, and updates the UI/typing around search list rendering.
Changes:
- Add a 3rd batch-download option that appends
?include_downstream=trueto the@@all-filesendpoint. - Introduce a reusable
<RadioCardGroup>UI component and use it for batch-download option selection. - Tighten typings in search list item components and adjust tests accordingly.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| styles/globals.css | Adds CSS variables intended for radio-card styling (light/dark). |
| pages/measurement-sets/[id].js | Adds the batch download actuator to measurement set headers. |
| lib/batch-download/fileset-controller.ts | Adds includeDownstream flag and conditionally appends include_downstream=true to download URL. |
| globals.d.ts | Expands DatabaseObject with optional name, description, summary. |
| components/search/list-renderer/search-list-item.tsx | Removes PropTypes usage and adds TS typings; fixes React children spacing logic. |
| components/search/list-renderer/index.tsx | Narrows Fallback renderer item type to DatabaseObject. |
| components/search/tests/list-renderer.test.js | Restructures/extends renderer tests (notably PseudobulkSet). |
| components/radio-card-group.tsx | New radio-card group + card implementation via context. |
| components/batch-download-fileset.tsx | Adds new download options and switches option UI to <RadioCardGroup>. |
| components/tests/radio-card-group.test.tsx | New unit tests for <RadioCardGroup> behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4a43e80 to
c9f4d9f
Compare
* Add downstream options for downloading files. * Add new radio button card component. Use them in the file-set batch-download modal. Convert search-list-item.js to Typescript. * Fix some styling and wording. * Add custom Tailwind CSS classes for the radio button cards to work with dark mode. * Add batch download to measurement-set pages. * Update PseudobulkSet list view Jest test for full coverage, and other move it outside the IndexFile Jest tests. * Add Jest tests for radio-card-group.tsx. * Small corrections from Claude Sonnet 4.6 code review. * Small correction to a comment. * Updated a couple comments. * Add batch download to PredictionSet pages.
c9f4d9f to
0db957a
Compare
No description provided.