diff --git a/.env.example b/.env.example index fa69ec1..1a2fdb5 100644 --- a/.env.example +++ b/.env.example @@ -6,5 +6,5 @@ AI_API_KEY= AI_BASE_URL= HTTP_ADDR=:8080 # Local demo: keep events in processing long enough to see PENDING → PROCESSING in the app. -DEMO_PROCESS_DELAY_MS=5000 +DEMO_PROCESS_DELAY_MS=2500 diff --git a/README.md b/README.md index 04ab9bd..bf1f8dc 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ fvm flutter run --dart-define=API_BASE=http://127.0.0.1:8080 # Android emulator: API_BASE=http://10.0.2.2:8080 ``` -In the app: sign in as `demo-user-1@walletops.local` / `ops-secret-1` → **Events → Run live demo → confirm**. Watch each webhook move **PENDING → PROCESSING → PROCESSED** (compose holds processing ~5s so the queue is readable). Open an event for pipeline steps → **Explain**. Check **Rules** for the demo alert rule the worker matches. +In the app: sign in as `demo-user-1@walletops.local` / `ops-secret-1` → **Events → Run live demo → confirm**. Watch each webhook move **PENDING → PROCESSING → PROCESSED** (compose holds processing ~2.5s so the queue is readable). Open an event for pipeline steps → **Explain**. Check **Rules** for the demo alert rule the worker matches. `POST /v1/demo/simulate` (auth) inserts fresh pending events for the journey; partner HMAC ingest remains `POST /v1/webhooks/events`. diff --git a/demos/recordings/latest-screenshots b/demos/recordings/latest-screenshots index af672f2..8fb0c7c 120000 --- a/demos/recordings/latest-screenshots +++ b/demos/recordings/latest-screenshots @@ -1 +1 @@ -screenshots-20260720T102022Z \ No newline at end of file +screenshots-20260720T103049Z \ No newline at end of file diff --git a/demos/recordings/latest.mp4 b/demos/recordings/latest.mp4 index f0a8607..aa59371 120000 --- a/demos/recordings/latest.mp4 +++ b/demos/recordings/latest.mp4 @@ -1 +1 @@ -walletops-demo-20260720T102022Z.mp4 \ No newline at end of file +walletops-demo-20260720T103049Z.mp4 \ No newline at end of file diff --git a/demos/recordings/screenshots-20260720T103049Z/01-login.png b/demos/recordings/screenshots-20260720T103049Z/01-login.png new file mode 100644 index 0000000..70dfcb5 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/01-login.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/02-events.png b/demos/recordings/screenshots-20260720T103049Z/02-events.png new file mode 100644 index 0000000..bd2bb0d Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/02-events.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/03-rules-list.png b/demos/recordings/screenshots-20260720T103049Z/03-rules-list.png new file mode 100644 index 0000000..93d6e23 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/03-rules-list.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/04-rules-detail.png b/demos/recordings/screenshots-20260720T103049Z/04-rules-detail.png new file mode 100644 index 0000000..93ddb08 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/04-rules-detail.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/05-events-ready.png b/demos/recordings/screenshots-20260720T103049Z/05-events-ready.png new file mode 100644 index 0000000..bd2bb0d Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/05-events-ready.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/06-demo-confirm.png b/demos/recordings/screenshots-20260720T103049Z/06-demo-confirm.png new file mode 100644 index 0000000..dfc73ae Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/06-demo-confirm.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/07-demo-started.png b/demos/recordings/screenshots-20260720T103049Z/07-demo-started.png new file mode 100644 index 0000000..452d852 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/07-demo-started.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/08-demo-processing.png b/demos/recordings/screenshots-20260720T103049Z/08-demo-processing.png new file mode 100644 index 0000000..e77ce20 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/08-demo-processing.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/09-demo-complete.png b/demos/recordings/screenshots-20260720T103049Z/09-demo-complete.png new file mode 100644 index 0000000..11a628c Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/09-demo-complete.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/10-event-detail.png b/demos/recordings/screenshots-20260720T103049Z/10-event-detail.png new file mode 100644 index 0000000..fdcd72b Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/10-event-detail.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/11-event-pipeline-matched-rule.png b/demos/recordings/screenshots-20260720T103049Z/11-event-pipeline-matched-rule.png new file mode 100644 index 0000000..79f7342 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/11-event-pipeline-matched-rule.png differ diff --git a/demos/recordings/screenshots-20260720T103049Z/13-rules-after-demo.png b/demos/recordings/screenshots-20260720T103049Z/13-rules-after-demo.png new file mode 100644 index 0000000..2619a74 Binary files /dev/null and b/demos/recordings/screenshots-20260720T103049Z/13-rules-after-demo.png differ diff --git a/demos/recordings/walletops-demo-20260720T103049Z.mp4 b/demos/recordings/walletops-demo-20260720T103049Z.mp4 new file mode 100644 index 0000000..cb773f9 Binary files /dev/null and b/demos/recordings/walletops-demo-20260720T103049Z.mp4 differ diff --git a/demos/screenshots/02-events.png b/demos/screenshots/02-events.png index ef85e31..bd2bb0d 100644 Binary files a/demos/screenshots/02-events.png and b/demos/screenshots/02-events.png differ diff --git a/demos/screenshots/03-rules-list.png b/demos/screenshots/03-rules-list.png index 1aa7571..93d6e23 100644 Binary files a/demos/screenshots/03-rules-list.png and b/demos/screenshots/03-rules-list.png differ diff --git a/demos/screenshots/04-rules-detail.png b/demos/screenshots/04-rules-detail.png index cc2af27..93ddb08 100644 Binary files a/demos/screenshots/04-rules-detail.png and b/demos/screenshots/04-rules-detail.png differ diff --git a/demos/screenshots/05-events-ready.png b/demos/screenshots/05-events-ready.png index ef85e31..bd2bb0d 100644 Binary files a/demos/screenshots/05-events-ready.png and b/demos/screenshots/05-events-ready.png differ diff --git a/demos/screenshots/06-demo-confirm.png b/demos/screenshots/06-demo-confirm.png index 0c99864..dfc73ae 100644 Binary files a/demos/screenshots/06-demo-confirm.png and b/demos/screenshots/06-demo-confirm.png differ diff --git a/demos/screenshots/07-demo-started.png b/demos/screenshots/07-demo-started.png index 25845ea..452d852 100644 Binary files a/demos/screenshots/07-demo-started.png and b/demos/screenshots/07-demo-started.png differ diff --git a/demos/screenshots/08-demo-processing.png b/demos/screenshots/08-demo-processing.png index 89fdf2d..e77ce20 100644 Binary files a/demos/screenshots/08-demo-processing.png and b/demos/screenshots/08-demo-processing.png differ diff --git a/demos/screenshots/09-demo-complete.png b/demos/screenshots/09-demo-complete.png index 1e38f88..11a628c 100644 Binary files a/demos/screenshots/09-demo-complete.png and b/demos/screenshots/09-demo-complete.png differ diff --git a/demos/screenshots/10-event-detail.png b/demos/screenshots/10-event-detail.png index 0bef803..fdcd72b 100644 Binary files a/demos/screenshots/10-event-detail.png and b/demos/screenshots/10-event-detail.png differ diff --git a/demos/screenshots/11-event-pipeline-matched-rule.png b/demos/screenshots/11-event-pipeline-matched-rule.png index a3a0a44..79f7342 100644 Binary files a/demos/screenshots/11-event-pipeline-matched-rule.png and b/demos/screenshots/11-event-pipeline-matched-rule.png differ diff --git a/demos/screenshots/13-rules-after-demo.png b/demos/screenshots/13-rules-after-demo.png index f91b279..2619a74 100644 Binary files a/demos/screenshots/13-rules-after-demo.png and b/demos/screenshots/13-rules-after-demo.png differ diff --git a/demos/walletops-demo-walkthrough.mp4 b/demos/walletops-demo-walkthrough.mp4 index cf7f9b5..cb773f9 100644 Binary files a/demos/walletops-demo-walkthrough.mp4 and b/demos/walletops-demo-walkthrough.mp4 differ diff --git a/docker-compose.yml b/docker-compose.yml index 59b8803..8df8e51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,7 +26,7 @@ services: AI_PROVIDER: mock AI_API_KEY: "" HTTP_ADDR: ":8080" - DEMO_PROCESS_DELAY_MS: "5000" + DEMO_PROCESS_DELAY_MS: "2500" ports: - "8080:8080" depends_on: diff --git a/mobile/lib/features/events/presentation/cubit/events_cubit.dart b/mobile/lib/features/events/presentation/cubit/events_cubit.dart index 263fe8d..7882e60 100644 --- a/mobile/lib/features/events/presentation/cubit/events_cubit.dart +++ b/mobile/lib/features/events/presentation/cubit/events_cubit.dart @@ -14,8 +14,8 @@ class EventsCubit extends Cubit { final DemoRepository _demo; Timer? _liveTimer; - static const _betweenEventsPause = Duration(milliseconds: 1500); - static const _terminalWait = Duration(seconds: 30); + static const _betweenEventsPause = Duration(milliseconds: 700); + static const _terminalWait = Duration(seconds: 25); Future load({String? status, bool updateFilter = false}) async { final filter = updateFilter ? status : (status ?? state.filter); diff --git a/mobile/lib/features/events/presentation/events_page.dart b/mobile/lib/features/events/presentation/events_page.dart index 3396052..ec33938 100644 --- a/mobile/lib/features/events/presentation/events_page.dart +++ b/mobile/lib/features/events/presentation/events_page.dart @@ -193,7 +193,7 @@ class EventsPage extends StatelessWidget { const _ConfirmStep( index: '2', title: 'Inject 3 webhooks', - detail: '~5s processing hold + short pause between each', + detail: '~2.5s processing hold + short pause between each', ), const _ConfirmStep( index: '3',