Skip to content

Sample color display - grid column renderer, sample detail header, storage box view, etc. - #2056

Open
cnathe wants to merge 45 commits into
developfrom
fb_sampleColor2
Open

Sample color display - grid column renderer, sample detail header, storage box view, etc.#2056
cnathe wants to merge 45 commits into
developfrom
fb_sampleColor2

Conversation

@cnathe

@cnathe cnathe commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Rationale

Surface the sample color assigned via project-level sample colors throughout the sample UI — grid columns, detail views, lineage details, editable grids, and storage capacity breakdowns — and only include the color column where the project actually has active colors defined. Also removes the experimental feature flag now that the feature is complete.

Related Pull Requests

Changes

  • Sample listing grids include ExpMaterialColor and use SAMPLE_COLOR_REQUIRED_COLUMNS for requiredColumns; added QueryInfo.showSampleColorCol and exported SAMPLE_COLOR_COLOR_COLUMN_NAME.
  • New App helpers to read hasActiveProjectColors from moduleContext, used to gate color display: getOmittedSampleTypeColumns adds SAMPLE_COLOR_REQUIRED_COLUMNS when no colors are defined in the project, and sample type system fields include ExpMaterialColor only when colors are active.
  • SampleColorRenderer: added cls, showLabel, and useSmall props plus styling updates; SampleColorInput option renderer now includes ColorIcon.
  • Sample color displayed in lineage details, and included for the aliquot editable field.
  • HorizontalBarSection and ItemsLegend handle a section header for the sample type with sample color breakdown.
  • QueryModel.flattenValuesFromRow now carries displayValue.

cnathe added 30 commits July 31, 2026 08:33
…n header" for sample type with sample color breakdown
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.

1 participant