hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
206 stars 266 forks source link

[FEAT] - SETTINGS PAGE -> Implement Subscription and Plan Overview Page #84

Closed Ayodejioladimeji closed 2 months ago

Ayodejioladimeji commented 3 months ago

Description:

Implement a Subscription and Plan Overview page that displays the user's current subscription plan and detailed information about the plan, including benefits, project management, sharing and collaboration, management and security, and supports. The page should provide options for users to upgrade to a more powerful plan (Advanced or Premium) or cancel their subscription. Cancel and Upgrade buttons should be placed at the bottom of the screen for user action.

Acceptance Criteria:

  1. The page should display the user's current subscription plan.
  2. Detailed information about the current plan should be shown, including:
    • Current plan benefits
    • Project management
    • Sharing and collaboration
    • Management and security
    • Supports
  3. Users should be able to upgrade to Advanced or Premium plans.
  4. Users should be able to cancel their subscription.
  5. Cancel and Upgrade buttons should be clearly visible and functional.
  6. The page should be responsive across all devices (mobile, tablet, desktop).
  7. Confirmation messages should be shown for successful upgrades or cancellations.
  8. Error messages should be displayed for any issues during upgrade or cancellation processes.
  9. Unit tests should cover all key functionalities.
  10. Integration tests should ensure the page interacts correctly with the backend.

Expected Outcome:

A fully functional Subscription and Plan Overview page that displays the user's current plan details and provides options to upgrade or cancel the subscription. The page should include all required information and meet the acceptance criteria.

Purpose:

The Subscription and Plan Overview page will allow users to manage their subscription plans effectively, providing detailed information about their current plan and options to upgrade or cancel as needed.

Requirement:

  1. Design implementation as per the provided Figma designs.
  2. Integration with the backend API to fetch subscription details.
  3. Display of current subscription plan details.
  4. Options for upgrading to Advanced or Premium plans.
  5. Option to cancel the subscription.
  6. Functional Cancel and Upgrade buttons.
  7. Responsiveness across different screen sizes.
  8. Error handling and display of appropriate messages.
  9. Confirmation messages for successful actions.

Testing:

  1. Unit tests for displaying subscription details and button functionalities.
  2. Integration tests to ensure the page works seamlessly with the backend.
  3. Manual testing across different devices to ensure responsiveness.

Task:

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

SUBSCRIPTION AND PLAN OVERVIEW

Figma Link:

Emmadegreat commented 3 months ago

This issue belongs to EMF, do not come near it, if not Ogbu will kill you