Skip to content

feat: download participant data as CSV#34

Merged
patcon merged 3 commits intomainfrom
feat/33-download-obs-csv
Feb 27, 2026
Merged

feat: download participant data as CSV#34
patcon merged 3 commits intomainfrom
feat/33-download-obs-csv

Conversation

@patcon
Copy link
Copy Markdown
Owner

@patcon patcon commented Feb 27, 2026

Closes #33

Summary

  • Adds a "Download Data" button to the projection selector panel (below the pipeline row, alongside "Import .h5ad")
  • Both buttons share equal width so the row stays balanced on mobile
  • Clicking opens a confirmation dialog showing participant and column counts before downloading participants.csv
  • Button only appears when participant metadata is present in the loaded file

Test plan

  • Load an .h5ad file with participant metadata
  • Confirm "Download Data" button appears below the projection row
  • Confirm clicking opens the confirmation dialog with correct counts
  • Confirm CSV downloads and opens correctly in a spreadsheet app
  • Confirm button does not appear in Kedro or static (non-h5ad) mode

🤖 Generated with Claude Code

patcon and others added 3 commits February 26, 2026 21:22
Adds a download button (FileDown icon) that appears next to the Import
button when obs columns are present in a loaded h5ad file. Clicking it
opens a confirmation dialog showing participant and column counts before
generating and downloading participants.csv client-side.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…onSelector

Keeps the projection control row from getting too wide on mobile.
Import .h5ad and Download CSV buttons now live in a dedicated row at the
top of the MapProjectionSelector panel, above the pipeline dropdown and
animation controls.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- Import .h5ad and Download Data buttons sit below the pipeline row
- Both buttons use flex-1 so they split the available width equally
- Download button now shows full "Download Data" label (not icon-only)
- Removed "obs/" implementation detail from all user-facing copy

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@patcon patcon merged commit a78007e into main Feb 27, 2026
2 of 3 checks passed
@patcon patcon deleted the feat/33-download-obs-csv branch February 27, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: download obs/* participant data from h5ad as CSV

1 participant