Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] - SETTINGS PAGE - Implement Subscription Cancelled Feedback Modal #160

Closed
9 tasks
crystal4000 opened this issue Jul 19, 2024 · 0 comments · Fixed by #298
Closed
9 tasks

[FEAT] - SETTINGS PAGE - Implement Subscription Cancelled Feedback Modal #160

crystal4000 opened this issue Jul 19, 2024 · 0 comments · Fixed by #298
Assignees

Comments

@crystal4000
Copy link

Description:

Implement a feedback modal for when a user cancels their subscription. The modal should provide two options: Reactivate Subscription, which reactivates the current cancelled subscription, and Go to Dashboard, which navigates the user to their dashboard.

Acceptance Criteria:

  1. The modal should appear immediately after a user cancels their subscription.
  2. The modal should contain a message informing the user that their subscription has been cancelled.
  3. The modal should have two buttons: Reactivate Subscription and Go to Dashboard.
  4. Clicking "Reactivate Subscription" should call the API to reactivate the user's subscription.
  5. Clicking "Go to Dashboard" should navigate the user to their dashboard.
  6. The modal should be responsive across all devices (mobile, tablet, desktop).
  7. The modal should follow the design specifications from the Figma design.
  8. Unit tests should cover the functionality of both buttons.
  9. Integration tests should ensure correct API calls and navigation.

Expected Outcome:

A feedback modal that appears after a user cancels their subscription, providing options to reactivate their subscription or go to their dashboard. The modal should function correctly, be responsive, and meet all acceptance criteria.

Purpose:

To provide users with immediate feedback and options after cancelling their subscription, enhancing the user experience and offering a quick way to reactivate if the cancellation was accidental.

Requirement:

  1. Design implementation as per the provided Figma designs.
  2. Integration with the backend API for reactivating subscriptions.
  3. Navigation to the dashboard when the appropriate button is clicked.
  4. Responsiveness across different screen sizes.

Task:

  • Set up the feedback modal component.
  • Display a message informing the user of their subscription cancellation.
  • Add "Reactivate Subscription" and "Go to Dashboard" buttons.
  • Integrate with the backend API for reactivating subscriptions.
  • Implement navigation to the dashboard.
  • Ensure the modal is responsive across all devices.
  • Write unit tests for button functionality and API integration.
  • Conduct integration tests with the backend.
  • Perform manual testing for responsiveness and accessibility.

Picture of the corresponding component/page of the ticket from the Figma:

Dialog card (1)

Figma Link:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants