Skip to content

[engine] Boost cancellation minds#5010

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

Ticket(s) / Related Merge Requests

Summary of Changes

Add Boost cancellation option to Boost console for standard users.

Testing Considerations

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

  • I can cancel my own Boost when in a pending state.
  • Pending Boosts are refunded (cancelled / refunded in Stripe).
  • I can cancel my own Boost when in an approved / running state.
  • Approved / running Boosts are NOT refunded (cancelled / refunded in Stripe).
  • Boosts in other states have no cancel button.
  • I see an appropriate confirmation modal on cancellation.
  • Approve and reject Boost functionality still functions correctly in queue.
  • Moderator Boost cancellation still shows appropriate modal.

Deployment Considerations

Standard deployment.

Regression Scope

  • Boost cancellation.
  • Boost admin console.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

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

Screenshots / Screen Recording

I can cancel my own Boost when in a pending state - Pending Boosts are refunded.

simplescreenrecorder-2024-07-22_18.29.31

I can cancel my own Boost when in an approved / running state - Approved / running Boosts are NOT refunded.

simplescreenrecorder-2024-07-22_18.30.17

Boosts in other states have no cancel button.

image

Approve and reject Boost functionality still functions correctly in queue.

simplescreenrecorder-2024-07-22_18.27.06

Moderator Boost cancellation still shows appropriate modal.

simplescreenrecorder-2024-07-22_18.27.49

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

Loading