facett-calendar — crate card
Reverse-engineered (from source — verify, don't trust the name)
- One-line pitch: A pure-egui Monday-first month-grid calendar facet with a date picker and marked events.
- Does: Draws a Swedish/ISO (Monday-first) month grid with month navigation and day selection; marks days with
Events whoseEventKind(e.g. deadline/SLA due, absence/leave) drives color, showing a count and the strongest color per day. Absence marking feeds the handover model.Calendarfollows the facett Facet contract (title/ui/state_json);ui()returns the selectedNaiveDate. - Key deps: egui, chrono, serde/serde_json. Optional
facettfeature. - Shape: lib, ~362 LOC single lib.rs (EventKind, Event, Calendar).
- Observed role in the workspace: Standalone widget, no in-repo consumer yet. Built in ordning; destined for facett. Pure egui + chrono.
Fill in (one line each — only the human knows these)
- Primary consumer(s):
- Why it exists (vs the obvious alternative):
- Hard constraint (airgap / no-C-deps / no-FFI / pure-Rust / etc.):
- Release cadence & independence (rides a parent? own repo someday?):
- Status (production / prototype / experimental / stubbed):
- Must-NOT-change invariant:
- Biggest known gap or TODO:
- Anything a newcomer would get wrong about it: