feat(component): stripped-down React component package for Option 4#233
Draft
inodb wants to merge 6 commits intocBioPortal:mainfrom
Draft
feat(component): stripped-down React component package for Option 4#233inodb wants to merge 6 commits intocBioPortal:mainfrom
inodb wants to merge 6 commits intocBioPortal:mainfrom
Conversation
Agent-Logs-Url: https://github.com/cBioPortal/cbioportal-cell-explorer/sessions/66773ffb-0221-4d4a-8b26-1f23ef8f2cd4 Co-authored-by: inodb <1334004+inodb@users.noreply.github.com>
Agent-Logs-Url: https://github.com/cBioPortal/cbioportal-cell-explorer/sessions/0e8c044e-bf38-444f-a030-150764b16902 Co-authored-by: inodb <1334004+inodb@users.noreply.github.com>
Lets the host (e.g. cBioPortal) pass a {patientId: value} mapping plus
a reference obs column (e.g. donor_id) to color cells by data that only
lives in the host's database — clinical attributes, ID-based groupings,
etc. The mapping is expanded to cell-level via the obs column join key,
stored as a virtual obs column, and appears in the color-by dropdown
alongside native zarr columns.
- schema: add MappedColumnSchema and optional mappedColumns field
- store: add mappedColumnData Map + registerMappedColumns action; teach
selectObsColumn to resolve virtual columns without going to zarr
- applyConfig: register mapped columns in phase 3a (before color-by)
- openDataset: preserve already-registered mapped-column labels when the
async obsColumns() fetch completes, fixing a race where the fetch
overwrote the label list
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Introduces @cbioportal-cell-explorer/component — a thin wrapper around the highperformer viewer that exposes a single <CellExplorer> React component with a minimal props surface (url, filterConfig). Designed for embedding in cbioportal-frontend per option 4 of cBioPortal/cbioportal#12126. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
inodb
added a commit
to inodb/cbioportal-frontend
that referenced
this pull request
Apr 24, 2026
…z for Netlify Replaces the file:../cbioportal-cell-explorer/... sibling-path dep with a committed pnpm-pack tarball at vendor/cbioportal-cell-explorer-component-0.0.1.tgz. The sibling-path form only resolved on a local multi-worktree checkout — Netlify's deploy preview only has this repo, so pnpm install would fail. The tarball is produced from the same source as cBioPortal/cbioportal-cell-explorer#233; refresh it with: pnpm -F @cbioportal-cell-explorer/component pack --pack-destination …/cbioportal-frontend/vendor/ Prototype workflow — will be replaced by a real npm dep once the component package is published. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
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
Introduces
@cbioportal-cell-explorer/component— a thin wrapper around thehighperformerviewer exposing a single<CellExplorer>React component with a minimal props surface (url,filterConfig). Designed for embedding in cbioportal-frontend per option 4 of cBioPortal/cbioportal#12126.packages/component/MappedColumnSpec,CellExplorerFilterConfig,CellExplorerProps)pnpm-lock.yamlupdated; no changeset yet (prototype)The standalone
packages/app/is unchanged — the component will be wired in later so upstream CI keeps exercising it.Blocked on
Companion PR
Status
Draft — prototype quality. No npm publish yet; consumer uses a vendored
pnpm packtarball locally.Test plan
pnpm buildthe component packagepnpm packtarballmsk_spectrum_tme_2022) and renders UMAP cells🤖 Generated with Claude Code