feat(audit): free-text search, JSONL export of the view, labeled dev reset
Some checks failed
Security / Security check (push) Failing after 1s

- search field over flow/step/module/error/detail/project/id backs
  the list and the export ('current view' semantics); match logic
  is a top-level function with unit tests
- export writes one JSON object per line via the save dialog; the
  CLI stays the canonical WORM-grade export
- the bare trash icon on the audit toolbar read as 'delete
  evidence' (security-auditor finding) — the dev-only reset now
  sits in a labeled overflow menu next to the export action

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-18 00:08:51 +02:00
parent 0e53572589
commit 5aa69104e7
7 changed files with 273 additions and 7 deletions

View file

@ -1198,6 +1198,29 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get auditClearLogTooltip => 'Clear log (local/dev channels only)';
@override
String get auditMoreTooltip => 'More actions';
@override
String get auditSearchHint =>
'Search events (flow, step, module, error text …)';
@override
String get auditExportAction => 'Export current view as JSONL …';
@override
String get auditExportNothing =>
'No events in the current view — nothing to export.';
@override
String auditExportSaved(int n, String path) {
return 'Exported $n events to $path';
}
@override
String get auditDevResetAction =>
'Development reset: clear log … (local/dev only)';
@override
String auditClearedToast(int n, String channel) {
return 'Cleared $n events on channel \"$channel\". Chain reseeded with marker.';