HomePhabricator

[dagit] Use parent snapshot ID to determine current-ness of snapshot

Description

[dagit] Use parent snapshot ID to determine current-ness of snapshot

Summary:
In cases where a snapshot is a child of a parent snapshot, use that information to determine whether to tag the snapshot as "current". That is, if a parent snapshot is the current state of the pipeline, it should be labeled as "current".

  • Add nullable parentSnapshotId to PipelineSnapshot in GraphQL
  • Break apart PipelineNav
    • Query for parent snapshot in snapshot pipeline nav, with a brief loading state and a set width to avoid making the tabs jump

Test Plan: View snapshot pages for different pipelines, verify that the "current"/"snapshot" tag shows up correctly.

Reviewers: alangenfeld, max, sandyryza

Reviewed By: alangenfeld

Differential Revision: https://dagster.phacility.com/D4789

Details

Provenance
dishAuthored on Thu, Oct 15, 12:11 AM
Reviewer
alangenfeld
Differential Revision
D4789: [dagit] Use parent snapshot ID to determine current-ness of snapshot
Parents
R1:8b247e964d87: making dagster grpc requirements much more friendly (#3085)
Branches
Unknown
Tags
Unknown