Commit Graph

3 Commits

Author SHA1 Message Date
Wallace Martins
55ef141f93 ci: add GitHub Actions workflow for tests and code style 2025-12-08 07:18:10 -03:00
Wallace Martins
e3c892fbb1 feat: complete i18n support with 13 languages and bug fixes
- Add translations for: ar, de, es, fr, it, ja, ko, nl, pl, ru, tr, uk, zh_CN
- Fix raw_payload not being saved in messages
- Fix content field stored as array instead of JSON string
- Fix profilePicUrl extraction from Evolution API
- Add content preview column in messages table
- Improve message display with proper text/media handling
2025-12-07 15:48:15 -03:00
Wallace Martins
aa606930d2 feat: add WhatsappMessageResource and WhatsappWebhookResource
- Add WhatsappMessageResource to view message history
  - List view with filters by instance, direction, type, status
  - View page with message details and raw payload

- Add WhatsappWebhookResource to view webhook logs
  - List view with filters by instance, event, processed status, errors
  - View page with webhook details, error info and payload

- Update FilamentEvolutionPlugin with optional resource loading:
  - viewMessageHistory() - enable message history resource (default: false)
  - viewWebhookLogs() - enable webhook logs resource (default: false)
  - whatsappInstanceResource() - show/hide instances (default: true)

- Add translations for new resources (en/pt_BR)

- Update README with plugin options documentation

- Fix Filament v4 infolist signature (Schema instead of Infolist)
2025-12-07 12:47:06 -03:00