discourse-akismet/spec/system
Krzysztof Kotlarek e3bf8a98df
DEV: Remove legacy reviewable UI code (#203)
What is the problem?

The reviewable UI refresh has been fully rolled out in Discourse core
(discourse/discourse#36752), which removes the `reviewable_old_moderator_actions`
site setting, deletes the `reviewable-refresh/` component directory, and
renames the `RefreshedReview` page object to `Review`. Plugins need to be
updated to align with these changes.

What is the solution?

- Delete legacy reviewable components (`reviewable-akismet-post.gjs`,
   `reviewable-akismet-user.gjs`, `reviewable-akismet-post-voting-comment.gjs`)
   that were used by the old UI
- Move `reviewable-refresh/` components to `reviewable/` and update imports
  to reference the new canonical paths (e.g. `reviewable/post` instead of
  `reviewable-refresh/post`)
- Rename `build_legacy_combined_actions` to `build_combined_actions` and
   `build_legacy_action` to `build_action` in all three reviewable models
- Remove `build_new_separated_actions` methods that are no longer needed
- Update system tests to use `Pages::Review` instead of `Pages::RefreshedReview`
   and remove references to the deleted `reviewable_old_moderator_actions` setting
2026-02-24 13:58:39 +08:00
..
viewing_reviewable_akismet_post_spec.rb DEV: Remove legacy reviewable UI code (#203) 2026-02-24 13:58:39 +08:00
viewing_reviewable_akismet_post_voting_comment_spec.rb DEV: Remove legacy reviewable UI code (#203) 2026-02-24 13:58:39 +08:00
viewing_reviewable_akismet_user_spec.rb DEV: Remove legacy reviewable UI code (#203) 2026-02-24 13:58:39 +08:00