0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-ai/test/javascripts
Natalie Tay e4eea3a463
FIX: Prevent off-by-one date periods for dashboard highlights vs sections (#41315)
The AI dashboard highlight is loaded separately from the dashboard KPI
sections. When the dashboard first loads the default 30d range, the
plugin starts generating a 30d highlight. If the user quickly switches
to another range, the newer request can finish first, then the original
30d request can overwrite it. This can leave the AI highlight describing
a different period than the KPI tiles below it.

The connector also now formats `start_date` and `end_date` the same way
as the dashboard section request, so both requests use the same selected
calendar range.
2026-07-01 14:55:29 +08:00
..
acceptance FIX: Allow AI bot conversations when PM creation is restricted (#41232) 2026-06-29 11:06:39 -05:00
fixtures
integration/components FIX: Prevent off-by-one date periods for dashboard highlights vs sections (#41315) 2026-07-01 14:55:29 +08:00
unit DEV: Add a reusable SettingDefinitionField for FormKit setting fields (#41099) 2026-06-25 09:30:38 +02:00
.gitkeep