Skip to content

refactor(graphql): give each cell an id and a summary object - #255

Merged
CammilleCC merged 14 commits into
feat/runs-identityfrom
refactor/cell-composite
Aug 4, 2026
Merged

refactor(graphql): give each cell an id and a summary object#255
CammilleCC merged 14 commits into
feat/runs-identityfrom
refactor/cell-composite

Conversation

@CammilleCC

Copy link
Copy Markdown
Member

This PR gives some structure to the cell: it now as an ID (in the form of {database}:{proposal}:{run}:{name}) and a summary field. This helps Apollo caching the cell by ID, regardless on how many times we write it, specifically:

  • when a page loads
  • when the heavy values arrive
  • when there's live update

The new schema is as follows:

    type Cell {
      id: ID! 
      name: String!
      error: CellError
      summary: CellSummary!
    }

    type CellSummary {
      value: Any
      dtype: DamnitType!
    } 

@CammilleCC
CammilleCC merged commit 306bac0 into main Aug 4, 2026
3 checks passed
@CammilleCC
CammilleCC deleted the refactor/cell-composite branch August 4, 2026 17:39
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