diff --git a/frontend/src/pages/ProjectView.tsx b/frontend/src/pages/ProjectView.tsx index 322495b..e53eb44 100644 --- a/frontend/src/pages/ProjectView.tsx +++ b/frontend/src/pages/ProjectView.tsx @@ -323,6 +323,16 @@ export default function ProjectView() { {label: 'Silver', complexity: 'medium'}, {label: 'Bronze', complexity: 'simple'}, ], + 'sml': [ + {label: 'S', complexity: 'simple'}, + {label: 'M', complexity: 'medium'}, + {label: 'L', complexity: 'complex'}, + ], + 'small_med_large': [ + {label: 'Small', complexity: 'simple'}, + {label: 'Medium', complexity: 'medium'}, + {label: 'Large', complexity: 'complex'}, + ], }; async function saveTierMapping(tiers: Array<{label: string, complexity: string}>) { @@ -505,6 +515,33 @@ export default function ProjectView() { )} + {/* Tier Mapping - set BEFORE matching */} +
+
+ Client Tier Mapping (optional): +
+ + + + + + +
+
+ {tierMapping.tiers.length > 0 && ( +
+ {tierMapping.tiers.map((t, i) => ( + + {t.label} → {t.complexity} + + ))} +
+ )} +
+ Set this before running AI matching. The AI will extract tier labels from the client document and match each to the correct GMAL complexity variant. +
+
+ {assets.length > 0 && (

Extracted Assets ({assets.length})

@@ -666,34 +703,6 @@ export default function ProjectView() { )}
- {/* Tier Mapping */} - {matches.length > 0 && !matching && ( -
-
- Client Tier Mapping: -
- - - -
- {tierMapping.tiers.length > 0 && ( - - )} -
- {tierMapping.tiers.length > 0 && ( -
- {tierMapping.tiers.map((t, i) => ( - - {t.label} → {t.complexity} - - ))} -
- )} -
- )} - {matches.length > 0 && !matching && (