mirror of
https://ghfast.top/https://github.com/discourse/discourse-akismet.git
synced 2026-07-15 11:36:24 +08:00
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 |
||
|---|---|---|
| .. | ||
| viewing_reviewable_akismet_post_spec.rb | ||
| viewing_reviewable_akismet_post_voting_comment_spec.rb | ||
| viewing_reviewable_akismet_user_spec.rb | ||