From 73389308127b4936f86303dd55cfc63bddc6f4bd Mon Sep 17 00:00:00 2001 From: Ruben Nic Date: Tue, 30 Jan 2024 14:27:45 -0500 Subject: [PATCH] Launch HVD (#2290) * remove enable_hvd flag * Remove enable_hvd flag --- config/base.json | 3 +-- config/development.json | 4 +--- config/hvd-preview.json | 4 +--- config/preview.json | 4 +--- config/project-preview.json | 4 +--- src/pages/validated-designs/[...slug]/index.tsx | 7 ------- src/pages/validated-designs/index.tsx | 7 ------- 7 files changed, 5 insertions(+), 28 deletions(-) diff --git a/config/base.json b/config/base.json index 5873889db9..0d0d8a7a64 100644 --- a/config/base.json +++ b/config/base.json @@ -35,7 +35,6 @@ }, "flags": { "enable_datadog": true, - "enable_io_beta_cta": true, - "enable_hvd": false + "enable_io_beta_cta": true } } diff --git a/config/development.json b/config/development.json index 3c3467330f..c56ea35d42 100644 --- a/config/development.json +++ b/config/development.json @@ -9,7 +9,5 @@ "learn": { "max_static_paths": 1 }, - "flags": { - "enable_hvd": true - } + "flags": {} } diff --git a/config/hvd-preview.json b/config/hvd-preview.json index 34a85646b5..d62659bcdb 100644 --- a/config/hvd-preview.json +++ b/config/hvd-preview.json @@ -9,7 +9,5 @@ "learn": { "max_static_paths": 0 }, - "flags": { - "enable_hvd": true - } + "flags": {} } diff --git a/config/preview.json b/config/preview.json index e27c580613..0f2599d408 100644 --- a/config/preview.json +++ b/config/preview.json @@ -8,7 +8,5 @@ "unifiedIndexName": "staging_DEVDOT_omni" } }, - "flags": { - "enable_hvd": true - } + "flags": {} } diff --git a/config/project-preview.json b/config/project-preview.json index 6685de7948..aa3cc2bb6c 100644 --- a/config/project-preview.json +++ b/config/project-preview.json @@ -10,7 +10,5 @@ "learn": { "max_static_paths": 0 }, - "flags": { - "enable_hvd": false - } + "flags": {} } diff --git a/src/pages/validated-designs/[...slug]/index.tsx b/src/pages/validated-designs/[...slug]/index.tsx index f80b5e3c00..a73bd240e4 100644 --- a/src/pages/validated-designs/[...slug]/index.tsx +++ b/src/pages/validated-designs/[...slug]/index.tsx @@ -34,13 +34,6 @@ export async function getStaticPaths() { } export async function getStaticProps(context) { - /** @TODO remove this conditional after release */ - if (__config.flags.enable_hvd === false) { - return { - notFound: true, - } - } - const categoryGroups = getHvdCategoryGroups() if (!categoryGroups) { return { diff --git a/src/pages/validated-designs/index.tsx b/src/pages/validated-designs/index.tsx index d013ddef59..b00ac1d02c 100644 --- a/src/pages/validated-designs/index.tsx +++ b/src/pages/validated-designs/index.tsx @@ -7,13 +7,6 @@ import { getHvdCategoryGroups } from 'views/validated-designs/server' import ValidatedDesignsLandingView from 'views/validated-designs' export async function getStaticProps() { - /** @TODO remove this conditional after release */ - if (__config.flags.enable_hvd === false) { - return { - notFound: true, - } - } - const categoryGroups = getHvdCategoryGroups() if (!categoryGroups) { return {