Automatiska ID, nya registertyper och ID-register

- Löpande ID per bok och typ enligt idöversikten (KI, FI, BI, DI, LI, UI, FD, RI,
  RD, SI, REI, PI, SCI, KD-R_/KD-E_), prefix samlade i src/lib/ids.ts
- Nya typer: Fordon, Skiss, Research, Referens, Appar, Hemsidor (grupp Register)
- Sida med ID-register med sök och filter
- Migration 0003_auto_ids med backfill av befintliga poster
- ID visas i listor, postsidor, kartpanel och scheman
- README och Register/-mallar

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-22 22:31:50 +02:00
1 parent 0b65494cf5
commit 8a0e93f559
32 files changed
+664 -48

No files matched your search

@@ -301,6 +301,13 @@ export default async function SchedulesPage({
<Link href={`/books/${bookId}/entity/${p.id}`} className="text-reset">
{p.name}
</Link>
<div className="mt-1">
{[...new Set(rowShifts.map((s) => s.scheduleCode).filter(Boolean))].map((code) => (
<span key={code} className="badge me-1">
{code}
</span>
))}
</div>
</td>
{DAYS.map((d) => (
<td key={d} className="bm-week-cell">