Skip to content

[engine] Moderator Boost cancellation minds#4920

Ben requested to merge feat/cancel-boost-m4920 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Provide moderators with a "Cancel Boosts" button.

Testing Considerations

Bound to https://olivia2.oke.minds.io/

You may need k8s access to test - but you can first try making a Boost and checking it appears without manual intervention. Any questions DM me.

  • I can cancel a running Boost.
  • If the entity I cancel is boosted multiple times, all of its Boosts are cancelled.
  • I see the option if I have moderation permission and the entity is a boost.
  • I do not see the option if I do not have moderation permission.
  • I do not see the option if I have moderation permission but the entity isn't a boost.
  • I receive an email on cancellation.
  • If I do back out of the confirmation modal when cancelling, the Boost is not cancelled.

Deployment Considerations

Standard deployment.

Regression Scope

Mostly additive changes for Boost cancellation. Some adjustments to post menu.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

Manual, unit (karma/jasmine), unit (phpspec).

Screenshots / Screen Recording

I can cancel a running Boost.

simplescreenrecorder-2024-06-25_16.41.37

If the entity I cancel is boosted multiple times, all of its Boosts are cancelled.

simplescreenrecorder-2024-06-25_16.42.34

I see the option if I have moderation permission and the entity is a boost.

image

I do not see the option if I do not have moderation permission.

image

I do not see the option if I have moderation permission but the entity isn't a boost.

image

I receive an email on cancellation.

image

If I do back out of the confirmation modal when cancelling, the Boost is not cancelled.

simplescreenrecorder-2024-06-25_16.48.11

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports