/ src / jet / dependencies / feature-flags.ts
feature-flags.ts
 1  const ENABLED_FEATURES = new Set([
 2      // Make the `ProductPageIntentController` return a `ShelfBasedProductPage` instance
 3      'shelves_2_0_product',
 4      // Enable shelf-based "Top Charts" features
 5      // 'shelves_2_0_top_charts',
 6      // Make the `RibbonBarShelf` contain an array of `RibbonBarItem`s
 7      'shelves_2_0_generic',
 8      // Enable AX Metadata
 9      'product_accessibility_support_2025A',
10  ]);
11  
12  export class WebFeatureFlags implements FeatureFlags {
13      isEnabled(feature: string): boolean {
14          return ENABLED_FEATURES.has(feature);
15      }
16  
17      isGSEUIEnabled(_feature: string): boolean {
18          return false;
19      }
20  }