calendar: add category-group links, fix iCal share URL, remove legend
- Link categories to user groups via new zielgruppen column on veranstaltung_kategorien (migration 017), editable in the category management UI with group checkboxes and chip display - Fix broken iCal share link by adding ICAL_BASE_URL to docker-compose and falling back to CORS_ORIGIN when ICAL_BASE_URL is unset - Remove the colored-dot legend footer from the month calendar view Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,6 +10,7 @@ export interface VeranstaltungKategorie {
|
||||
beschreibung?: string | null;
|
||||
farbe?: string | null;
|
||||
icon?: string | null;
|
||||
zielgruppen: string[];
|
||||
erstellt_von?: string | null;
|
||||
erstellt_am: Date;
|
||||
aktualisiert_am: Date;
|
||||
@@ -76,6 +77,7 @@ export const CreateKategorieSchema = z.object({
|
||||
.regex(/^#[0-9a-fA-F]{6}$/, 'Farbe muss ein gültiger Hex-Farbwert sein (z.B. #1976d2)')
|
||||
.optional(),
|
||||
icon: z.string().max(100).optional(),
|
||||
zielgruppen: z.array(z.string()).optional(),
|
||||
});
|
||||
|
||||
export type CreateKategorieData = z.infer<typeof CreateKategorieSchema>;
|
||||
|
||||
Reference in New Issue
Block a user