Redaktionskalender für das Redaktionsteam

- Planungen mit Art, Status (Idee → In Arbeit → Zur Freigabe → Geplant →
  Erledigt), Zuständigkeit, Erscheinungstag, Frist, Notizen und Kommentaren
- Monatsansicht mit Planungen, Meldungen (online/geplant/Entwurf) und
  Terminen; Verschieben per Ziehen & Ablegen oder im Dialog (Tastatur)
- Ideenspeicher für Planungen ohne Datum
- Board nach Status mit Ziehen & Ablegen, Listenansicht mit Tabelle
- Filter nach Person („Nur meine“), Art und erledigten Einträgen
- „Meldung daraus erstellen“ legt einen verknüpften Entwurf an
- „Meine Aufgaben“ auf der Übersicht, überfällige Fristen hervorgehoben
- Demo-Planungen im Seed

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-30 15:11:46 +00:00
parent fdb6b0e70e
commit 7da1a10af2
19 changed files with 2613 additions and 3 deletions

View file

@ -0,0 +1,33 @@
CREATE TABLE `editorial_comments` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`item_id` integer NOT NULL,
`user_id` integer,
`body` text NOT NULL,
`created_at` integer DEFAULT (unixepoch()) NOT NULL,
FOREIGN KEY (`item_id`) REFERENCES `editorial_items`(`id`) ON UPDATE no action ON DELETE cascade,
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE set null
);
--> statement-breakpoint
CREATE INDEX `editorial_comments_item_idx` ON `editorial_comments` (`item_id`);--> statement-breakpoint
CREATE TABLE `editorial_items` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`title` text NOT NULL,
`notes` text DEFAULT '' NOT NULL,
`kind` text DEFAULT 'post' NOT NULL,
`status` text DEFAULT 'idea' NOT NULL,
`assignee_id` integer,
`date` text DEFAULT '' NOT NULL,
`due_date` text DEFAULT '' NOT NULL,
`post_id` integer,
`page_id` integer,
`created_by` integer,
`created_at` integer DEFAULT (unixepoch()) NOT NULL,
`updated_at` integer DEFAULT (unixepoch()) NOT NULL,
FOREIGN KEY (`assignee_id`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE set null,
FOREIGN KEY (`post_id`) REFERENCES `posts`(`id`) ON UPDATE no action ON DELETE set null,
FOREIGN KEY (`page_id`) REFERENCES `pages`(`id`) ON UPDATE no action ON DELETE set null,
FOREIGN KEY (`created_by`) REFERENCES `users`(`id`) ON UPDATE no action ON DELETE set null
);
--> statement-breakpoint
CREATE INDEX `editorial_date_idx` ON `editorial_items` (`date`);--> statement-breakpoint
CREATE INDEX `editorial_assignee_idx` ON `editorial_items` (`assignee_id`);

File diff suppressed because it is too large Load diff

View file

@ -8,6 +8,13 @@
"when": 1790710683402,
"tag": "0000_init",
"breakpoints": true
},
{
"idx": 1,
"version": "6",
"when": 1790780351202,
"tag": "0001_redaktionskalender",
"breakpoints": true
}
]
}