Skip to content

ConditionsView: render detailed condition measurements (temperature, pressure, electrochemistry, flow) #192

Description

@skearnes

Background

app/src/views/reaction-view/ConditionsView.tsx currently stubs out several measurement details, showing a count placeholder (e.g. "N recorded") or omitting fields entirely. Four TODOs mark genuine feature gaps where the schema carries data the UI doesn't yet render:

  • Temperature measurements (~line 60): measurementsList is shown only as a count — {t.measurementsList.length} recorded — instead of the individual measurements.
  • Pressure measurements (~line 89): same count-only placeholder for PressureConditions.measurementsList.
  • Electrochemistry (~line 172): current, voltage, electrodeSeparation, and measurementsList on ElectrochemistryConditions are not rendered.
  • Flow / tubing (~line 197): tubing dimensions (FlowConditions.Tubing) are not rendered.

Why this was deferred

These are real rendering features (each needs the measurement sub-message shape ported and formatted), not cosmetic cleanup, so they were split out of the frontend tidy work rather than implemented speculatively. Filing here so they're tracked rather than living only as inline TODOs.

Scope

Render each of the above with appropriate units/formatting (reuse the existing utils/conditions.ts / utils/amount.ts helpers where possible). Can be done incrementally — one condition type per PR is fine.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions