discourse-ai/config
Isaac Janzen cd0cfc0bfc
DEV: Group PMs by date (#1287)
# Preview

https://github.com/user-attachments/assets/3fe3ac8f-c938-4df4-9afe-11980046944d

# Details

- Group pms by `last_posted_at`. In this first iteration we are group by `7 days`, `30 days`, then by month beyond that. 
- I inject a sidebar section link with the relative (last_posted_at) date and then update a tracked value to ensure we don't do it again. Then for each month beyond the first 30days, I add a value to the `loadedMonthLabels` set and we reference that (plus the year) to see if we need to load a new month label.
- I took the creative liberty to remove the `Conversations` section label - this had no purpose
- I hid the _collapse all sidebar sections_ carrot. This had no purpose. 
- Swap `BasicTopicSerializer` to `ListableTopicSerializer` to get access to `last_posted_at`
2025-04-25 13:20:18 -05:00
..
locales DEV: Group PMs by date (#1287) 2025-04-25 13:20:18 -05:00
eval-llms.yml FEATURE: silent triage using ai persona (#1193) 2025-03-17 15:14:09 +11:00
routes.rb FEATURE: Bot Conversation Homepage (#1273) 2025-04-22 10:22:03 -05:00
settings.yml FEATURE: display more places where AI is used / Chat streamer (#1278) 2025-04-24 16:22:19 +10:00