197 files
This commit is contained in:
@@ -29,7 +29,11 @@ export interface HistoryContext {
|
||||
readingDelta?: (entry: HistoryEntry) => number | null;
|
||||
}
|
||||
|
||||
const _FILTER_TYPES = ["completed", "skipped", "missed", "reset", "triggered"] as const;
|
||||
// Every HistoryEntryType is filterable (drift audit 2026-08: the repair-flow
|
||||
// types were missing, so their entries could not be isolated). Chips only
|
||||
// render for types present in the task's history, so the two rare ones cost
|
||||
// nothing on normal tasks.
|
||||
const _FILTER_TYPES = ["completed", "skipped", "missed", "reset", "triggered", "trigger_replaced", "trigger_removed"] as const;
|
||||
|
||||
export function renderHistoryFilters(task: MaintenanceTask, ctx: HistoryContext) {
|
||||
const L = ctx.lang;
|
||||
|
||||
Reference in New Issue
Block a user