- Rule tester (POST /api/filters/test): evaluates an unsaved rule
read-only against the newest matching mails in the source folder,
using an IMAP SEARCH on the first text condition to narrow candidates.
Shows matches, near misses with the failing condition, and whether
any candidate had an attachment at all (would have caught the
Klarmobil and it-moench misconfigurations immediately).
- Per-rule match_count / last_match_at (new migration), incremented by
the scheduler on every match and shown in the list.
- PATCH /api/filters/{id}/enabled toggles a rule without resetting its
processed state (a full PUT re-evaluates every mail for that rule).
- New filter list: cards with enable switch, priority, condition and
action chips, match stats, and warnings (display name in from/to,
"am (exakt)" date, duplicates, empty values, invalid regex, move
without folder). Quick filters for active/inactive/warnings/never
matched; copy-as-template; remembered account selection.
- Edit dialog: wider layout, live warnings, integrated test panel,
sensible defaults for new rules (from + date after Jan 1 + move).
- Light global refresh: nav with active item, page background, cards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
64 lines
1.0 KiB
CSS
64 lines
1.0 KiB
CSS
/* Anpassungen über PicoCSS hinaus */
|
|
|
|
:root {
|
|
--app-bg: #f6f7f9;
|
|
--app-border: #e3e6ea;
|
|
}
|
|
|
|
body {
|
|
background: var(--app-bg);
|
|
}
|
|
|
|
nav.container-fluid {
|
|
background: #fff;
|
|
border-bottom: 1px solid var(--app-border);
|
|
padding-top: 0.25rem;
|
|
padding-bottom: 0.25rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
nav .brand {
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
nav .brand span {
|
|
color: var(--pico-primary);
|
|
}
|
|
|
|
nav a.active {
|
|
color: var(--pico-primary);
|
|
font-weight: 600;
|
|
box-shadow: inset 0 -2px 0 var(--pico-primary);
|
|
border-radius: 0;
|
|
}
|
|
|
|
main.container article {
|
|
border: 1px solid var(--app-border);
|
|
box-shadow: none;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 2rem;
|
|
padding: 1rem 0;
|
|
text-align: center;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
table .small, button.small {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
#status-message {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
border-radius: 0.25rem;
|
|
background: var(--pico-muted-border-color);
|
|
}
|
|
|
|
dialog article {
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
}
|