From 50915ba4a0c22c403fffd80ae346667a5f29eac5 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Thu, 8 Jan 2026 14:28:18 -0800 Subject: [PATCH] Show when qualifications are running in Component Details --- app/web/src/newhotness/ComponentDetails.vue | 16 ++++- .../MinimizedComponentQualificationStatus.vue | 11 +++- app/web/src/newhotness/QualificationPanel.vue | 60 +++++++++---------- app/web/src/newhotness/QualificationView.vue | 10 +++- .../src/workers/types/entity_kind_types.ts | 13 +++- .../src/dependent_values.rs | 39 ++++++++++++ lib/dal-materialized-views/src/lib.rs | 1 + lib/dal/src/attribute/value.rs | 9 +++ lib/edda-server/src/materialized_view.rs | 22 ++++++- lib/si-events-rs/src/materialized_view.rs | 2 +- .../src/dependent_values.rs | 32 +++++++++- lib/si-frontend-mv-types-rs/src/reference.rs | 1 + 12 files changed, 174 insertions(+), 42 deletions(-) create mode 100644 lib/dal-materialized-views/src/dependent_values.rs diff --git a/app/web/src/newhotness/ComponentDetails.vue b/app/web/src/newhotness/ComponentDetails.vue index 6bcfc38249..d43a753c13 100644 --- a/app/web/src/newhotness/ComponentDetails.vue +++ b/app/web/src/newhotness/ComponentDetails.vue @@ -310,11 +310,15 @@ >Qualifications @@ -448,6 +452,7 @@ import { import { AttributeTree, BifrostComponent, + DependentValues, EntityKind, IncomingConnections, MgmtFuncKind, @@ -557,6 +562,13 @@ const attributeTreeQuery = useQuery({ }); const attributeTree = computed(() => attributeTreeQuery.data.value); +const dependentValuesQuery = useQuery({ + queryKey: key(EntityKind.DependentValues), + queryFn: async () => + await bifrost(args(EntityKind.DependentValues)), +}); +const dependentValues = computed(() => dependentValuesQuery.data.value); + // Determines if the component is able to have a resource. For example, for "AWS::EC2::KeyPair", // this would return 'true', but fore "AWS Region", this would return false. const hasResourceValueProps = computed(() => { diff --git a/app/web/src/newhotness/MinimizedComponentQualificationStatus.vue b/app/web/src/newhotness/MinimizedComponentQualificationStatus.vue index 468d25de11..18beeb18fd 100644 --- a/app/web/src/newhotness/MinimizedComponentQualificationStatus.vue +++ b/app/web/src/newhotness/MinimizedComponentQualificationStatus.vue @@ -1,7 +1,7 @@