0.50.0: Umsetzung der UX-Prüfung (Übersicht, Menü, Einstellungen, Projekte, Liquidität, Handy)
Some checks failed
Prüfung / tests (push) Has been cancelled
Prüfung / container (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-11-08 14:40:57 +00:00
parent cfa656e98f
commit 3f64143ee1
22 changed files with 570 additions and 163 deletions

View File

@@ -4,12 +4,12 @@ import { STANDARDWOCHE as W } from "../src/domain/kalender.js";
describe("Aufgaben wie in V70 gruppiert", () => {
const a = (id: string, faellig_am: string | null, extra = {}) => ({ id, text: id, faellig_am, ...extra });
it("überfällig, diese Woche bis Sonntag, langfristig; erledigte fallen weg", () => {
it("überfällig, nächste 7 Tage, später; erledigte fallen weg", () => {
// Mittwoch, 21.10.2026
const g = aufgabenGruppen([a("alt", "2026-10-20"), a("so", "2026-10-25"), a("mo", "2026-10-26"), a("ohne", null), a("fertig", "2026-10-21", { erledigt_am: "x" }), a("lang", "2026-10-22", { langfristig: true })], "2026-10-21");
expect(g.ueberfaellig.map((x) => x.id)).toEqual(["alt"]);
expect(g.dieseWoche.map((x) => x.id)).toEqual(["so"]);
expect(g.langfristig.map((x) => x.id)).toEqual(["lang", "mo", "ohne"]);
expect(g.naechste7.map((x) => x.id)).toEqual(["so", "mo"]);
expect(g.spaeter.map((x) => x.id)).toEqual(["lang", "ohne"]);
});
});