Commit Graph

112 Commits

Author SHA1 Message Date
Cauê Faleiros
3cd4bfc426 Optimize products list analytics loading
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 54s
2026-06-22 15:30:54 -03:00
Cauê Faleiros
3568e48ce9 Add Tiny ERP order metadata ingestion 2026-06-22 15:02:38 -03:00
Cauê Faleiros
0874238fc6 Optimize client details with opaque tokens
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m20s
2026-06-22 11:00:42 -03:00
Cauê Faleiros
3c74fa7210 Refine RFV segment descriptions
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 40s
2026-06-22 10:22:40 -03:00
Cauê Faleiros
9953dd3149 Calibrate RFV frequency scoring
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m14s
2026-06-22 10:12:41 -03:00
Cauê Faleiros
c35f8f8a51 Fix client detail customer identity
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m17s
2026-06-18 16:31:22 -03:00
Cauê Faleiros
1af624aa77 Calibrate RFV customer lifecycle segments
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m30s
2026-06-18 15:51:35 -03:00
Cauê Faleiros
7764933fd9 Limit RFV history query to period buyers
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m2s
2026-06-17 15:26:24 -03:00
Cauê Faleiros
3a907b0743 Fix RFV period buyers with historical scoring
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m34s
2026-06-17 15:07:59 -03:00
Cauê Faleiros
10c69457ba Rollback analytics to ed1f129b07
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m5s
2026-06-17 12:13:48 -03:00
Cauê Faleiros
aedfedca76 Fix analytics date fallback and RFV scoring
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m7s
2026-06-17 12:04:58 -03:00
Cauê Faleiros
f88ae2d491 Keep client data visible when RFV fails
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m24s
2026-06-17 11:23:46 -03:00
Cauê Faleiros
ce72231560 Score RFV clients without phone
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m46s
2026-06-17 09:59:57 -03:00
Cauê Faleiros
ed1f129b07 Show all clients in clients page
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 56s
2026-06-16 16:24:10 -03:00
Cauê Faleiros
37067751c7 Add period metrics to client details
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 54s
2026-06-16 16:07:37 -03:00
Cauê Faleiros
c8d475808b Add super admin user management
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m46s
2026-06-16 15:46:04 -03:00
Cauê Faleiros
f811d3c0ab Rename visible RFM labels to RFV
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m26s
2026-06-15 16:44:25 -03:00
Cauê Faleiros
9a58b2a271 Improve RFM recency labels
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m28s
2026-06-15 15:55:33 -03:00
Cauê Faleiros
ae73a543b6 Fix RFM period date display
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m31s
2026-06-15 14:46:14 -03:00
Cauê Faleiros
b416154868 Clarify RFM period metrics
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m29s
2026-06-15 13:16:26 -03:00
Cauê Faleiros
fdec698954 Show recent client orders by default
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m4s
2026-06-12 15:08:26 -03:00
Cauê Faleiros
c40fd71b95 Paginate client order history
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s
2026-06-12 14:53:28 -03:00
Cauê Faleiros
68a79838a2 Use RFM summaries for clients list
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m31s
2026-06-12 14:36:22 -03:00
Cauê Faleiros
ba27a342f8 Refine RFM page table UX
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m27s
2026-06-12 12:29:40 -03:00
Cauê Faleiros
fe8d0ff105 Add RFM segmentation analytics
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m12s
2026-06-12 11:22:57 -03:00
Cauê Faleiros
b886b357d7 perf: load dashboard metrics from analytics API
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 50s
2026-05-28 11:59:56 -03:00
Cauê Faleiros
f4cf4366ee perf: avoid blocking page render on data refresh
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 41s
2026-05-28 11:46:11 -03:00
Cauê Faleiros
e2d0e94080 add campaign observability page
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 43s
2026-05-28 11:07:46 -03:00
Cauê Faleiros
72ded82ec7 extract frontend analytics helpers
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m12s
2026-05-27 15:58:12 -03:00
Cauê Faleiros
8c2590c56a refactor backend and persist stock campaign queue
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m32s
2026-05-27 15:00:23 -03:00
Cauê Faleiros
1f8baabf69 style: remove dynamic color coding from stock column to match table styling
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m26s
2026-05-25 11:35:15 -03:00
Cauê Faleiros
c47a64d831 feat: display available stock balance on products page based on n8n inventory updates 2026-05-25 11:26:00 -03:00
Cauê Faleiros
4ce1e9aedb style: remove WhatsApp link from client phone number
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m24s
2026-05-22 13:57:13 -03:00
Cauê Faleiros
174bb4841e feat: display customer phone number on client details page with WhatsApp quick link 2026-05-22 12:10:10 -03:00
Cauê Faleiros
9e52b2e44f feat: safely implement database idempotency, fallback IDs, and WhatsApp marketing export
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m30s
2026-05-22 10:54:54 -03:00
Cauê Faleiros
c77da0a9d0 feat: translate CSV export headers to pt-BR and format currency values
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m3s
2026-05-20 10:33:03 -03:00
Cauê Faleiros
ceecbc354d feat: add CSV export functionality to Clients and Products pages 2026-05-20 10:27:04 -03:00
Cauê Faleiros
2d85d2dcd5 feat: add date filter to clients page to analyze purchasing behavior within specific timeframes
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 50s
2026-05-15 11:46:26 -03:00
Cauê Faleiros
fbd35d65af feat: make charts and legends clickable to navigate to product details
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m2s
2026-05-11 16:49:06 -03:00
Cauê Faleiros
d4fad9f6c1 style: replace insertion timestamp with original purchase date in client details 2026-05-08 15:33:48 -03:00
Cauê Faleiros
e66a90d583 feat: parse and display n8n order ID instead of data do pedido in client details 2026-05-08 10:58:36 -03:00
Cauê Faleiros
7959e18210 style: unify filter UI, add custom to-from date picker, and ensure all buttons use pointer cursors
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m10s
2026-05-07 16:05:22 -03:00
Cauê Faleiros
df5f60e540 style: unify filter UI, add custom to-from date picker, and ensure all buttons use pointer cursors 2026-05-07 15:18:32 -03:00
Cauê Faleiros
b048c963dd feat: hide auto-refresh controls outside of dashboard and update refresh UI design 2026-05-07 15:07:44 -03:00
Cauê Faleiros
b986eafb98 feat: replace SSE with Grafana-style client polling and rich date presets 2026-05-07 14:52:45 -03:00
Cauê Faleiros
3bb46cff1a fix: stabilize color mapping by using persistent global hash and add SSE heartbeat
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m18s
2026-05-07 14:08:38 -03:00
Cauê Faleiros
44028d3b41 feat: add pagination to Clients and Products pages to improve performance with large datasets
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m9s
2026-05-07 12:44:35 -03:00
Cauê Faleiros
9e20dc997a feat: implement consistent 20-color mapping for visible products across dashboard charts
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 55s
2026-05-06 18:23:53 -03:00
Cauê Faleiros
a7bdd07c09 feat: implement consistent color mapping for products across charts
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m4s
2026-05-06 17:44:49 -03:00
Cauê Faleiros
c15de19180 feat: display revenue as currency in PieChart tooltip
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m12s
2026-05-06 17:24:11 -03:00