iachat/app/builders/v2/reports
Rodribm10 3897db325e feat(reports): aba "Novas × Retorno" no Inbox Report
Mede por inbox/período: leads novos (1ª conversa do contato em qualquer
inbox da rede), retorno (conversa anterior resolved há >24h) e outras
(conversa anterior open ou resolved <24h). Categorias somadas batem com
o conversations_count nativo do report — bucket "outras" garante o
fechamento.

- Novo builder V2::Reports::InboxLeadsSummaryBuilder com CTE única
- Endpoint GET /api/v2/accounts/:id/reports/inbox_leads_summary
- Tabs no InboxReportsShow (Visão Geral | Novas × Retorno)
- Componente InboxLeadsReport com 3 metric cards + barras empilhadas
- API client + Pinia (state/getters/actions/mutations)
- i18n en + pt_BR
- RSpec do builder cobrindo classificação e isolamento por inbox

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 20:22:43 -03:00
..
conversations feat: Improve Report API performance (#9476) 2024-05-22 17:34:24 -07:00
timeseries fix: resolution count does not have account scope (#12370) 2025-09-04 18:04:00 +05:30
agent_summary_builder.rb feat(v4): Update team, agent summary builder to include resolution metrics (#10607) 2024-12-20 19:16:56 +05:30
base_summary_builder.rb feat: single query for reporting event stats (#12664) 2025-10-16 16:08:26 -07:00
bot_metrics_builder.rb feat: Add backend APIs for the bot metrics (#9031) 2024-03-01 08:20:20 -08:00
channel_summary_builder.rb feat: Add an API to support querying metrics by ChannelType (#13255) 2026-01-12 23:18:47 -08:00
first_response_time_distribution_builder.rb fix: Increase the parallelism config to fix flaky tests, revert bad commits (#13410) 2026-01-30 12:49:31 -08:00
inbox_label_matrix_builder.rb feat: Add inbox-label matrix report endpoint (#13394) 2026-01-29 13:32:59 -08:00
inbox_leads_summary_builder.rb feat(reports): aba "Novas × Retorno" no Inbox Report 2026-04-25 20:22:43 -03:00
inbox_summary_builder.rb feat: single query for reporting event stats (#12664) 2025-10-16 16:08:26 -07:00
label_summary_builder.rb fix: wrong resolution count in timeseries reports (#12261) 2025-09-03 15:47:16 +05:30
outgoing_messages_count_builder.rb feat: Add standalone outgoing messages count API endpoint (#13419) 2026-02-04 19:36:50 +05:30
team_summary_builder.rb feat(v4): Update team, agent summary builder to include resolution metrics (#10607) 2024-12-20 19:16:56 +05:30