From 175a222afbb79043eebb05abd513e12d04966d09 Mon Sep 17 00:00:00 2001 From: Raymond Cheng Date: Thu, 26 Sep 2024 16:57:35 -0700 Subject: [PATCH] feat: using new metric IDs from sqlmesh (#2250) --- .../app/artifacts/[source]/[...name]/page.tsx | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/apps/frontend/app/artifacts/[source]/[...name]/page.tsx b/apps/frontend/app/artifacts/[source]/[...name]/page.tsx index c5ee4b109..0f68f8b03 100644 --- a/apps/frontend/app/artifacts/[source]/[...name]/page.tsx +++ b/apps/frontend/app/artifacts/[source]/[...name]/page.tsx @@ -79,18 +79,33 @@ async function getCodeProps(artifactId: string) { ]; const metricChoices = [ { - label: "Active Developers", - value: "x2DaEzZwvlBELMm0uontbOLjS1aEg-UOMDsjL9A9Hl8=", + label: "Active Developers (30d)", + value: "0x9o4M40uii5KDWi3B5OQLk97SgpZw81aDpL53a/g+c=", selected: true, }, { - label: "Parttime Developers", - value: "V_3j9dJk7TriUvlv--1S0VzkzEg3UMjQyUr8gk-dj2E=", + label: "Parttime Developers (30d)", + value: "j639+oJeAtYFJvaMjF9JHGfw7U/2u3L9XlErnrLKLhQ=", selected: false, }, { - label: "Fulltime Developers", - value: "Nx_6k7abdZnb8RbnjKSQS__cdqayTX2VtBOvrGWjGDs=", + label: "Fulltime Developers (30d)", + value: "vlFMX++GcaW2nPGuwTs+PMXFqlr/s3tnTzG1n7gXyx8=", + selected: false, + }, + { + label: "Commits", + value: "Oh9Xi1a2ovZScVN77o1ye4sInynC4t3yQoWvvHdqkdQ=", + selected: true, + }, + { + label: "Forks", + value: "tx4sCflOBp/pKjncprKr9FGuhTgeaj3hnpIzTON650g=", + selected: false, + }, + { + label: "Stars", + value: "SrsN3Wc2CSLRktIZB+RqPXGoH4o7nj7s23tm+skPZzw=", selected: true, }, ];