Skip to content

Commit 6794aa9

Browse files
Changes
1 parent ca23da6 commit 6794aa9

File tree

5 files changed

+49
-20
lines changed

5 files changed

+49
-20
lines changed

src/components/AdminLayout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,13 @@ export default function AdminLayout({ children }: AdminLayoutProps) {
266266

267267
// Integrations - Developer tools, APIs, and external connections
268268
const integrationsNavItems = [
269-
{
269+
// WIP: App Store - hidden until ready
270+
...(featureFlags.appStore ? [{
270271
path: "/admin/integrations",
271272
label: t("navigation.appStore"),
272273
icon: Store,
273274
exact: true,
274-
},
275+
}] : []),
275276
{
276277
path: "/admin/config/api-keys",
277278
label: t("navigation.apiKeys"),

src/hooks/useFeatureFlags.ts

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ export interface FeatureFlags {
1919
// parts: true (always on)
2020
// operations: true (always on)
2121

22-
// Toggleable feature groups
23-
analytics: boolean; // Analytics section: QRM, OEE, Quality, Reliability, Jobs Analytics
22+
// WIP MODULES (not ready for production)
23+
analytics: boolean; // WIP: Analytics section: QRM, OEE, Quality, Reliability, Jobs Analytics
24+
shipping: boolean; // WIP: Shipping module
25+
appStore: boolean; // WIP: App Store / Marketplace
26+
27+
// Active feature groups
2428
monitoring: boolean; // Monitoring section: Activity, Expectations, Exceptions
25-
shipping: boolean; // Shipping module
2629
operatorViews: boolean; // Operator views: Cell Overview, Terminal, My Activity, My Issues
27-
integrations: boolean; // Integrations: App Store, API Keys, Webhooks, MQTT, etc.
30+
integrations: boolean; // Integrations: API Keys, Webhooks, MQTT, etc.
2831
issues: boolean; // Issues tracking
2932
capacity: boolean; // Capacity planning
3033
assignments: boolean; // Assignments management
@@ -38,9 +41,13 @@ export interface FeatureFlags {
3841
* External service features (advancedCAD) require separate deployment and are opt-in
3942
*/
4043
export const DEFAULT_FEATURE_FLAGS: FeatureFlags = {
41-
analytics: true,
44+
// WIP MODULES - Not ready for production yet
45+
analytics: false, // WIP: Analytics module (QRM, OEE, Quality, Reliability)
46+
shipping: false, // WIP: Shipping planning module
47+
appStore: false, // WIP: App Store / Marketplace
48+
49+
// Active modules
4250
monitoring: true,
43-
shipping: true,
4451
operatorViews: true,
4552
integrations: true,
4653
issues: true,
@@ -83,6 +90,14 @@ export const FEATURE_FLAG_METADATA: FeatureFlagMeta[] = [
8390
icon: 'Truck',
8491
category: 'operations',
8592
},
93+
// WIP MODULES
94+
{
95+
key: 'appStore',
96+
labelKey: 'featureFlags.appStore.label',
97+
descriptionKey: 'featureFlags.appStore.description',
98+
icon: 'Store',
99+
category: 'admin',
100+
},
86101
{
87102
key: 'operatorViews',
88103
labelKey: 'featureFlags.operatorViews.label',
@@ -215,6 +230,7 @@ export function useFeatureFlags() {
215230
analytics: false,
216231
monitoring: false,
217232
shipping: false,
233+
appStore: false,
218234
operatorViews: false,
219235
integrations: false,
220236
issues: false,

src/i18n/locales/de/admin.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,16 +371,20 @@
371371
"admin": "Administration"
372372
},
373373
"analytics": {
374-
"label": "Analyse",
375-
"description": "QRM Dashboard, OEE, Qualität, Zuverlässigkeit und Auftragsanalyse"
374+
"label": "Analyse (WIP)",
375+
"description": "QRM Dashboard, OEE, Qualität, Zuverlässigkeit und Auftragsanalyse - Demnächst verfügbar"
376376
},
377377
"monitoring": {
378378
"label": "Überwachung",
379379
"description": "Aktivitätsverfolgung, Erwartungen und Ausnahmen-Posteingang"
380380
},
381381
"shipping": {
382-
"label": "Versand",
383-
"description": "Sendungsverfolgung und Liefermanagement"
382+
"label": "Versand (WIP)",
383+
"description": "Sendungsverfolgung und Liefermanagement - Demnächst verfügbar"
384+
},
385+
"appStore": {
386+
"label": "App Store (WIP)",
387+
"description": "Marktplatz für Integrationen und Erweiterungen - Demnächst verfügbar"
384388
},
385389
"operatorViews": {
386390
"label": "Bediener-Ansichten",

src/i18n/locales/en/admin.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,16 +458,20 @@
458458
"admin": "Administration"
459459
},
460460
"analytics": {
461-
"label": "Analytics",
462-
"description": "QRM Dashboard, OEE, Quality, Reliability, and Jobs Analytics"
461+
"label": "Analytics (WIP)",
462+
"description": "QRM Dashboard, OEE, Quality, Reliability, and Jobs Analytics - Coming soon"
463463
},
464464
"monitoring": {
465465
"label": "Monitoring",
466466
"description": "Activity tracking, Expectations, and Exceptions inbox"
467467
},
468468
"shipping": {
469-
"label": "Shipping",
470-
"description": "Shipment tracking and delivery management"
469+
"label": "Shipping (WIP)",
470+
"description": "Shipment tracking and delivery management - Coming soon"
471+
},
472+
"appStore": {
473+
"label": "App Store (WIP)",
474+
"description": "Marketplace for integrations and extensions - Coming soon"
471475
},
472476
"operatorViews": {
473477
"label": "Operator Views",

src/i18n/locales/nl/admin.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,16 +617,20 @@
617617
"admin": "Administratie"
618618
},
619619
"analytics": {
620-
"label": "Analyse",
621-
"description": "QRM Dashboard, OEE, Kwaliteit, Betrouwbaarheid en Opdracht Analyse"
620+
"label": "Analyse (WIP)",
621+
"description": "QRM Dashboard, OEE, Kwaliteit, Betrouwbaarheid en Opdracht Analyse - Binnenkort beschikbaar"
622622
},
623623
"monitoring": {
624624
"label": "Monitoring",
625625
"description": "Activiteiten bijhouden, Verwachtingen en Uitzonderingen inbox"
626626
},
627627
"shipping": {
628-
"label": "Verzending",
629-
"description": "Zendingen volgen en bezorgingsbeheer"
628+
"label": "Verzending (WIP)",
629+
"description": "Zendingen volgen en bezorgingsbeheer - Binnenkort beschikbaar"
630+
},
631+
"appStore": {
632+
"label": "App Store (WIP)",
633+
"description": "Marktplaats voor integraties en extensies - Binnenkort beschikbaar"
630634
},
631635
"operatorViews": {
632636
"label": "Operator Weergaven",

0 commit comments

Comments
 (0)