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

@ -2126,6 +2126,42 @@ abstract class AppLocalizations {
/// **'Clear log (local/dev channels only)'**
String get auditClearLogTooltip;
/// No description provided for @auditMoreTooltip.
///
/// In en, this message translates to:
/// **'More actions'**
String get auditMoreTooltip;
/// No description provided for @auditSearchHint.
///
/// In en, this message translates to:
/// **'Search events (flow, step, module, error text …)'**
String get auditSearchHint;
/// No description provided for @auditExportAction.
///
/// In en, this message translates to:
/// **'Export current view as JSONL …'**
String get auditExportAction;
/// No description provided for @auditExportNothing.
///
/// In en, this message translates to:
/// **'No events in the current view — nothing to export.'**
String get auditExportNothing;
/// No description provided for @auditExportSaved.
///
/// In en, this message translates to:
/// **'Exported {n} events to {path}'**
String auditExportSaved(int n, String path);
/// No description provided for @auditDevResetAction.
///
/// In en, this message translates to:
/// **'Development reset: clear log … (local/dev only)'**
String get auditDevResetAction;
/// No description provided for @auditClearedToast.
///
/// In en, this message translates to: