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

Add isFeatured to the product entity and Update Swagger Doc #134

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

bertrandshema
Copy link
Contributor

@bertrandshema bertrandshema commented Jul 3, 2024

While creating the product entity, we forgot to include the isFeatured column. This column is essential for highlighting featured products in our application landing page. This Pr add that column to the product entity and update the swagger doc

Tasks:

  • Add isFeatured column to the product entity in the database schema.
  • Update the ORM/Entity class to include the isFeatured field.
  • Ensure the isFeatured column is a boolean type, defaulting to false.
  • Update the product creation and update APIs to handle the isFeatured field.
  • Modify the frontend to support setting and displaying the isFeatured status for products.
  • Test the changes to ensure the isFeatured functionality works correctly.

Screenshot:

Screenshot_3-7-2024_143427_localhost

@bertrandshema bertrandshema linked an issue Jul 3, 2024 that may be closed by this pull request
6 tasks
@bertrandshema bertrandshema force-pushed the feat-add-isfeatured-column-#132 branch from 68fc0c8 to eb25daa Compare July 3, 2024 12:32
@bertrandshema bertrandshema self-assigned this Jul 3, 2024
@bertrandshema bertrandshema added backend Good for newcomers WIP Work In Progress labels Jul 3, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.35%. Comparing base (60a10d5) to head (eb25daa).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #134   +/-   ##
========================================
  Coverage    87.34%   87.35%           
========================================
  Files           65       65           
  Lines         1675     1676    +1     
  Branches       179      179           
========================================
+ Hits          1463     1464    +1     
  Misses         189      189           
  Partials        23       23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@EddyShimwa EddyShimwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

@wayneleon1 wayneleon1 added Ready for TTL Review the PR is ready to be reviewed by the TTL/Manager and removed WIP Work In Progress labels Jul 5, 2024
@dushimeemma dushimeemma merged commit 2285769 into develop Jul 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Good for newcomers Ready for TTL Review the PR is ready to be reviewed by the TTL/Manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: Add isFeatured Column to Product Entity
6 participants