Skip to content

Commit 18c38ba

Browse files
Changes
1 parent 65752fa commit 18c38ba

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

src/hooks/useFeatureFlags.ts

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface FeatureFlags {
4141
* External service features (advancedCAD) require separate deployment and are opt-in
4242
*/
4343
export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
44-
// WIP MODULES - Not ready for production yet
44+
// WIP MODULES - Not ready for production yet (hidden from UI, cannot be enabled)
4545
analytics: false, // WIP: Analytics module (QRM, OEE, Quality, Reliability)
4646
shipping: false, // WIP: Shipping planning module
4747
appStore: false, // WIP: App Store / Marketplace
@@ -53,6 +53,7 @@ export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
5353
issues: true,
5454
capacity: true,
5555
assignments: true,
56+
5657
// External service features - enabled for local development with eryxon3d
5758
advancedCAD: true,
5859
};
@@ -69,35 +70,17 @@ export interface FeatureFlagMeta {
6970
}
7071

7172
export const FEATURE_FLAG_METADATA: FeatureFlagMeta[] = [
72-
{
73-
key: 'analytics',
74-
labelKey: 'featureFlags.analytics.label',
75-
descriptionKey: 'featureFlags.analytics.description',
76-
icon: 'BarChart3',
77-
category: 'analytics',
78-
},
73+
// NOTE: WIP modules (analytics, shipping, appStore) are intentionally excluded
74+
// from this list so they cannot be enabled via the UI. They will be added back
75+
// when the features are ready for production.
76+
7977
{
8078
key: 'monitoring',
8179
labelKey: 'featureFlags.monitoring.label',
8280
descriptionKey: 'featureFlags.monitoring.description',
8381
icon: 'Activity',
8482
category: 'analytics',
8583
},
86-
{
87-
key: 'shipping',
88-
labelKey: 'featureFlags.shipping.label',
89-
descriptionKey: 'featureFlags.shipping.description',
90-
icon: 'Truck',
91-
category: 'operations',
92-
},
93-
// WIP MODULES
94-
{
95-
key: 'appStore',
96-
labelKey: 'featureFlags.appStore.label',
97-
descriptionKey: 'featureFlags.appStore.description',
98-
icon: 'Store',
99-
category: 'admin',
100-
},
10184
{
10285
key: 'operatorViews',
10386
labelKey: 'featureFlags.operatorViews.label',

0 commit comments

Comments
 (0)