discourse/spec/system/page_objects
Kris cdfab46a06
UX: Show "Approve this post?" heading on rejected queued posts (#39767)
Related to the report here:
https://meta.discourse.org/t/how-to-understand-the-request-revision-feature/397258

Currently a rejected queued post shows "Yes" under the heading
"Moderator actions" because the context question was gated on `status
=== PENDING` — but that gate doesn't make sense here because there's
still the possibility of approving the content after the post is
rejected.

<img width="650" height="166" alt="image"
src="https://github.com/user-attachments/assets/9b090fb9-d028-47e9-ba32-0f51a57acc64"
/>

This adjusts the gating so that `userReviewableContextQuestion` will
render regardless of status. So now we get the correct header after the
item is rejected while suppressing it in the "scrub record" case

<img width="600" alt="image"
src="https://github.com/user-attachments/assets/adba0a43-fa18-4738-88a0-4f309ec692c7"
/>

<img width="600" alt="image"
src="https://github.com/user-attachments/assets/f8fe8631-8ffe-4a31-953e-232d97a1f05b"
/>



 Included a spec to make sure it doesn't regress.
2026-05-06 09:29:55 -04:00
..
components DEV: Improve select-kit stability in specs (#39789) 2026-05-06 14:20:38 +02:00
modals UX: Consolidate bulk tag actions into a single "Manage tags" modal (#39340) 2026-04-30 09:25:17 +08:00
pages UX: Show "Approve this post?" heading on rejected queued posts (#39767) 2026-05-06 09:29:55 -04:00
cdp.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00