feat(analytics): enrich empty-catalog signal with vehicle/category names #84

Merged
root merged 1 commits from dev into main 2026-06-03 14:19:27 +03:00
Owner

parts_panel_viewed carried only opaque vehicle_id/category_id, so the
'0 parça' empty-catalog breakdown (and its rate-spike alert) couldn't say
WHICH vehicle/category was empty — useless for prioritising catalog backfill.

  • parts-panel: add vehicle_label + category_name to parts_panel_viewed, and
    fire a new empty_catalog_cta_clicked (with the same context) from the
    empty-state button — a demand/abandonment signal per vehicle+category.
  • schema-viewer: forward the two optional props to PartsPanel.
  • vehicle category route: pass the existing vehicleLabel + data.name.

Best-effort labels (undefined on routes not yet threaded); parts_count
unchanged so existing insight/alert keep working.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

parts_panel_viewed carried only opaque vehicle_id/category_id, so the '0 parça' empty-catalog breakdown (and its rate-spike alert) couldn't say WHICH vehicle/category was empty — useless for prioritising catalog backfill. - parts-panel: add vehicle_label + category_name to parts_panel_viewed, and fire a new empty_catalog_cta_clicked (with the same context) from the empty-state button — a demand/abandonment signal per vehicle+category. - schema-viewer: forward the two optional props to PartsPanel. - vehicle category route: pass the existing vehicleLabel + data.name. Best-effort labels (undefined on routes not yet threaded); parts_count unchanged so existing insight/alert keep working. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
root added 1 commit 2026-06-03 14:19:21 +03:00
feat(analytics): enrich empty-catalog signal with vehicle/category names
Some checks failed
QA Gate (P0/P1) / Test affected app (pull_request) Has been cancelled
c7fad362a5
parts_panel_viewed carried only opaque vehicle_id/category_id, so the
'0 parça' empty-catalog breakdown (and its rate-spike alert) couldn't say
WHICH vehicle/category was empty — useless for prioritising catalog backfill.

- parts-panel: add vehicle_label + category_name to parts_panel_viewed, and
  fire a new empty_catalog_cta_clicked (with the same context) from the
  empty-state button — a demand/abandonment signal per vehicle+category.
- schema-viewer: forward the two optional props to PartsPanel.
- vehicle category route: pass the existing vehicleLabel + data.name.

Best-effort labels (undefined on routes not yet threaded); parts_count
unchanged so existing insight/alert keep working.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
root merged commit 0decda8845 into main 2026-06-03 14:19:27 +03:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/sase.tr#84