2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-03 23:54:20 +08:00
discourse/spec/services/upcoming_changes
Martin Brennan 899a483d74
FIX: Make sure staff group is selected on UC page load when localized (#38140)
Followup 401f49c5fc

In the previous commit I made it so that localized staff group names
were taken into account in the UI and when selecting Staff for Enabled
for on the upcoming change page.

However, I didn't update the server side which gets the initial value
of enabled_for to be used on page load. This meant that if the staff
group name was
localized, the staff group would not be selected on page load even if it
was enabled.

c.f.
https://meta.discourse.org/t/issue-with-enabling-upcoming-changes/395881/26?u=martin
2026-03-02 12:43:09 +10:00
..
action UX: Consolidate upcoming change notifications for admins (#37976) 2026-03-02 10:48:27 +10:00
list_spec.rb FIX: Make sure staff group is selected on UC page load when localized (#38140) 2026-03-02 12:43:09 +10:00
notify_promotion_spec.rb UX: Consolidate upcoming change notifications for admins (#37976) 2026-03-02 10:48:27 +10:00
notify_promotions_spec.rb UX: Consolidate upcoming change notifications for admins (#37976) 2026-03-02 10:48:27 +10:00
toggle_spec.rb FEATURE: Disallow selecting groups for some upcoming changes (#37801) 2026-02-16 10:19:01 +10:00
track_spec.rb FEATURE: Notify admins of upcoming changes and log events (#37003) 2026-01-21 12:45:54 +10:00