cell_flutter_audit 0.1.0
cell_flutter_audit: ^0.1.0 copied to clipboard
Audit trail widgets for cell_flutter: render ApplyReceipt ledgers as a filterable, exportable timeline.
Changelog #
0.1.0 #
Initial release — the audit trail UI for cell_flutter (release-ready;
publish timing is a maintainer decision). The public API of
cell_flutter_audit.dart and io.dart is stable and additive-only going
forward.
Added #
AuditTrailView— the scrollable receipt timeline: green/amber left borders (vetted/unvetted), monospace truncated ids,HH:mm:ss.SSStimestamps,tx #Nchips, collapsible payloads, red rejection cards, and the helpful empty-ledger message.AuditTrailController—ChangeNotifierover receipts: list / stream /ApplyOutcomeingestion,filterBy(command, vetted, time range),search,sortBy,loadMorepagination, andRejectionEventrecording.AuditEntryTile— the compact, embeddable row for sidebars and detail screens.AuditTrailTheme— colors, monospace fonts, spacing, and the show-id/timestamp/vetted toggles.AuditTrailExporter— JSON and CSV text export (RFC-4180 escaping);AuditTrailFileExporterincell_flutter_audit/io.dartfor dart:io platforms, keeping the main library web-safe.AuditEntry/RejectionEvent— display models that decouple the UI from the core receipt type.
Verification and documentation #
- 42 tests: controller, exporter, view, tile, and the
test/integration/audit_demo_ledger_test.dartsuite that replays the live audit demo's ledger mechanics. tool/generate_test_verification.py→TEST_VERIFICATION.md— the generated test report (mirrors thecell/cell_fluttertooling).example/lib/cell_flutter_audit_example.dart— the runnable quick-start (example/lib/main.dartis the thin pub.dev entry point).doc/INDEX.mdand generateddoc/api/— documentation index and API reference.