PrefectHQ / graphs

Large scale graphs designed for Prefect
Apache License 2.0
9 stars 1 forks source link

Use the is_latest flag with artifacts to indicate if viewing a stale versions. #463

Open brandonreid opened 5 months ago

brandonreid commented 5 months ago

When adding the artifacts layer to the graph, an is_latest boolean field was added to the data.

is_latest is true on keyed artifacts that are the latest instance in the set, and false for keyed artifacts that are not the latest. It is also always true on non-keyed artifacts. Therefore, rather than highlighting that an artifact is the latest, we'll indicate when an artifact is stale and in the drawer/pop out, link to the latest version.