discourse-ai/lib/sentiment
Keegan George 34c98de864
FIX: Exporting overall sentiment fails (#1388)
## 🔍 Overview

When exporting an Overall Sentiment report in the admin panel, the export fails with:

```ruby
Job exception: no implicit conversion of Symbol into Integer
```

This was happening because we are passing a single _Hash_ to `report.data` however, exports expect `report.data` to be an _Array of Hashes_. This update fixes this issue by wrapping the data in an array.
2025-05-30 11:58:28 -07:00
..
constants.rb FEATURE: New sentiment analysis visualization report (#1109) 2025-02-20 09:14:10 -08:00
emotion_dashboard_report.rb FEATURE: Refinements to Emotion in dashboard (#947) 2024-11-25 11:31:51 -03:00
emotion_filter_order.rb DEV: add `guardian` argument to `TopicsFilter` callback (#1206) 2025-03-24 10:33:18 +01:00
emotions.rb FEATURE: Emotion activity metrics table (#916) 2024-11-19 10:01:10 -03:00
entry_point.rb DEV: Don't classify post sentiments on creation. (#1174) 2025-03-07 14:45:10 -03:00
post_classification.rb FIX: Ensure that we shutdown thread pool (#1207) 2025-03-21 11:08:36 +08:00
sentiment_analysis_report.rb FIX: Ensure category badging present in sentiment reports (#1222) 2025-03-26 12:37:41 -07:00
sentiment_dashboard_report.rb FIX: Exporting overall sentiment fails (#1388) 2025-05-30 11:58:28 -07:00
sentiment_site_setting_json_schema.rb FEATURE: Backfill posts sentiment. (#982) 2024-12-03 10:27:03 -03:00