Web: Display Epson V700 colony detection CSV as a paginated table - #76
Merged
Conversation
…ve the JPG preview Renders the `*_colonies.csv` produced by the Epson V700 colony detection pipeline (PR #75) as a 10-rows-per-page table above the JPG in RunReportSection. CSV bytes are fetched client-side via the existing presigned-download redirect so they flow browser → S3 directly. Column headers are derived from the CSV so the schema can evolve without UI changes. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
*_colonies.csvproduced by the Epson V700 colony detection pipeline (Epson V700 Scanner: Add plate detection and colony phenotyping pipeline #75) as a 10-rows-per-page table above the JPG preview inRunReportSection./api/v1/files/:id/download302-presigned-redirect, so they flow browser → S3 directly with zero Vercel Fast Origin Transfer.tabular-nums.web/components/runs/colony-data-table.tsxwith loading skeleton, error panel + Retry, and a per-mountuseRef<Map>cache so re-mounts don't refetch. Memoizescolumns,numericColumns, andpageRows.RunReportSectionstays an RSC; CSVs are folded intototalCountso the section header and empty-state placeholder remain accurate.Test plan
*_colonies.csvprocessed file: table appears above the JPG, 10 rows per page, prev/next paginates, "Open as CSV" downloads the raw file.RunReportSection(e.g. tape-station): unchanged.make check-allpasses.Made with Cursor