feat: F016 future availability workspace
2-panel workspace at /supply/future-availability: filterable signal list with FutureSignalCard (type/sensitivity/review badges + mandatory disclaimer) and collapsible detail panel with full evidence, review workflow (IN_REVIEW→APPROVED/REJECTED), shortlist action, and review task creation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Chip } from '@mui/material'
|
||||
|
||||
const SENSITIVITY_META: Record<string, { label: string; color: string }> = {
|
||||
PUBLIC: { label: 'Öffentlich', color: '#64748b' },
|
||||
INTERNAL: { label: 'Intern', color: '#d97706' },
|
||||
CONFIDENTIAL: { label: 'Vertraulich', color: '#c0392b' },
|
||||
RESTRICTED: { label: 'Eingeschränkt', color: '#7c3aed' },
|
||||
}
|
||||
|
||||
export function SensitivityBadge({ level }: { level: string }) {
|
||||
const meta = SENSITIVITY_META[level] ?? { label: level, color: '#64748b' }
|
||||
return (
|
||||
<Chip
|
||||
label={meta.label}
|
||||
size="small"
|
||||
sx={{ bgcolor: meta.color, color: 'white', fontWeight: 600, fontSize: 10 }}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user