refactor: remove Schattenmarkt from all user-visible UI strings
- Pipeline.tsx: FUTURE_AVAILABILITY label → 'Future Availability' - ReminderTypeBadge: SCHATTENMARKT_RELEASE label → 'Pre-Market' - ReminderFilterBar: SCHATTENMARKT_RELEASE label → 'Pre-Market' - ReminderKpiBar: 'Schattenmarkt-Risiko' → 'Pre-Market Risiko' - ReminderDetailDrawer: section title + switch label → 'Pre-Market' - mock-data/matches: explainabilitySummary → 'Pre-Market freigegeben' - mock-data/reminders: notes → 'Pre-Market Freigabe' Internal identifiers (schattenmarktRelease field, useSchattenmarktSignals hook, signal ID prefix schattenmarkt-*) are unchanged — renaming them touches too many call sites for no user-visible gain. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -226,9 +226,9 @@ export function ReminderDetailDrawer() {
|
||||
|
||||
<Divider />
|
||||
|
||||
{/* 5. Schattenmarkt */}
|
||||
{/* 5. Pre-Market */}
|
||||
<Box>
|
||||
<SectionTitle icon={<Eye size={15} color="#64748b" />}>Schattenmarkt-Risiko</SectionTitle>
|
||||
<SectionTitle icon={<Eye size={15} color="#64748b" />}>Pre-Market Risiko</SectionTitle>
|
||||
<Box className="flex flex-col gap-2">
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
|
||||
<Box
|
||||
@@ -248,7 +248,7 @@ export function ReminderDetailDrawer() {
|
||||
control={<Switch checked={reminder.schattenmarktEnabled} size="small" readOnly />}
|
||||
label={
|
||||
<Typography variant="caption">
|
||||
Schattenmarkt aktiviert
|
||||
Pre-Market aktiviert
|
||||
</Typography>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -11,7 +11,7 @@ const TYPE_LABELS: Record<ReminderTypeType, string> = {
|
||||
INSPECTION: 'Inspektion',
|
||||
INSURANCE_RENEWAL: 'Versicherung',
|
||||
MAINTENANCE: 'Unterhalt',
|
||||
SCHATTENMARKT_RELEASE: 'Schattenmarkt',
|
||||
SCHATTENMARKT_RELEASE: 'Pre-Market',
|
||||
CUSTOM: 'Individuell',
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ export function ReminderKpiBar() {
|
||||
/>
|
||||
<KpiItem
|
||||
icon={<Eye size={18} color="#be185d" />}
|
||||
label="Schattenmarkt-Risiko"
|
||||
label="Pre-Market Risiko"
|
||||
value={insights.schattenmarktReadyCount}
|
||||
color="#be185d"
|
||||
/>
|
||||
|
||||
@@ -19,7 +19,7 @@ const CONFIG: Record<ReminderType, { Icon: LucideIcon; label: string; color: str
|
||||
INSPECTION: { Icon: ClipboardCheck, label: 'Inspektion', color: '#065f46' },
|
||||
INSURANCE_RENEWAL: { Icon: Shield, label: 'Versicherung', color: '#92400e' },
|
||||
MAINTENANCE: { Icon: Wrench, label: 'Unterhalt', color: '#374151' },
|
||||
SCHATTENMARKT_RELEASE:{ Icon: Eye, label: 'Schattenmarkt', color: '#be185d' },
|
||||
SCHATTENMARKT_RELEASE:{ Icon: Eye, label: 'Pre-Market', color: '#be185d' },
|
||||
CUSTOM: { Icon: Tag, label: 'Individuell', color: '#64748b' },
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user