0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/spec/requests/api
Martin Brennan 8faf71e3bb
FIX: Redirect upcoming change notifications to What's New when permanent (#41385)
When an upcoming change was automatically enabled, the notification
linked admins to the upcoming changes config page. But once a change
reaches permanent status it no longer appears there (that page only
lists experimental through stable) and instead surfaces on the What's
New page. So if the notification was left unread until the change became
permanent, clicking it dropped the admin on an empty filtered list.

This resolves the change's status at click time rather than baking it
into the notification. The permanent change names are now exposed to
staff via the site serializer, and the notification's link checks them:
if every referenced change is now permanent, it sends the admin to
What's New scrolled to that change's card; otherwise it keeps the
existing upcoming changes page where the still non-permanent changes
remain actionable.

To support the scroll, every What's New item now has a stable id anchor,
and the page accepts a scrollTo query param that scrolls to and briefly
highlights the matching card once the feed loads.
2026-07-03 15:28:21 +10:00
..
schemas FIX: Redirect upcoming change notifications to What's New when permanent (#41385) 2026-07-03 15:28:21 +10:00
shared DEV: Improve JSON schema failure output in API specs (#41182) 2026-06-25 15:55:40 +10:00
backups_spec.rb DEV: Restore and update request/api specs (#39483) 2026-04-23 20:13:52 +02:00
badges_spec.rb
categories_spec.rb
groups_spec.rb DEV: Fix api docs openapi spec validation errors (#35361) 2025-10-14 07:32:58 -06:00
invites_spec.rb DEV: Update api docs spec for invite enpoint (#34843) 2025-09-17 14:50:53 -05:00
multiple_invites_spec.rb
notifications_spec.rb
posts_spec.rb DEV: Update api-docs for posts locked endpoint (#35453) 2025-10-16 12:56:34 -06:00
private_messages_spec.rb
rate_limits_spec.rb DEV: API to register custom request rate limiting conditions (#30239) 2024-12-23 09:57:18 +08:00
search_spec.rb DEV: Replace JS build system with Rolldown (#35963) 2026-05-29 11:11:55 +01:00
site_spec.rb DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00
tags_spec.rb DEV: Use tag_name/tag.name instead of tag_id/tag.id where the name is actually used (#36226) 2025-12-29 13:20:06 +08:00
topics_spec.rb DEV: Fix api docs openapi spec validation errors (#35361) 2025-10-14 07:32:58 -06:00
uploads_spec.rb DEV: Restore and update request/api specs (#39483) 2026-04-23 20:13:52 +02:00
user_badges_spec.rb
users_spec.rb FIX: Reject DiscourseConnect SSO payloads when secret is blank (#40830) 2026-06-12 15:17:16 +03:00