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: implement coupons' functionaries #109

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

wayneleon1
Copy link
Contributor

@wayneleon1 wayneleon1 commented Jul 19, 2024

Description:
This pull request implements the coupon functionalities on the frontend side of our project, enabling vendors to create and manage coupons effectively. With this feature, vendors can offer discounts to their customers by generating and controlling coupon codes.

Acceptance Criteria:

  • A form is provided for vendors to create new coupons, including fields for( Coupon code,Discount Percentage ,Expiration date,Applicable Products)
  • Vendors can view a list of their created coupons with details such as:( Coupon code,Discount percentage ,Expiration date,Applicable Products)
  • Vendors can edit or delete existing coupons.
  • The coupon management section is styled to match the overall design of the project using Tailwind CSS.
  • The feature is responsive and performs well across different devices and screen sizes.

Screenshots:
Screenshot 2024-07-23 at 17 36 28
Screenshot 2024-07-23 at 17 37 01
Screenshot 2024-07-23 at 17 37 17

@wayneleon1 wayneleon1 linked an issue Jul 19, 2024 that may be closed by this pull request
5 tasks
Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for dynamite-frontend ready!

Name Link
🔨 Latest commit e7cf414
🔍 Latest deploy log https://app.netlify.com/sites/dynamite-frontend/deploys/66a100598692fc0008fcc884
😎 Deploy Preview https://deploy-preview-109--dynamite-frontend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@wayneleon1 wayneleon1 self-assigned this Jul 19, 2024
@wayneleon1 wayneleon1 force-pushed the coupons-functionalities-#103 branch 8 times, most recently from b645bf4 to 594546f Compare July 22, 2024 21:12
@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2024

Codecov Report

Attention: Patch coverage is 96.00000% with 15 lines in your changes missing coverage. Please review.

Project coverage is 75.85%. Comparing base (a81ebd7) to head (e7cf414).

Files Patch % Lines
src/features/Coupons/CouponsFeature.ts 95.28% 9 Missing ⚠️
.eslintrc.cjs 0.00% 3 Missing ⚠️
src/components/dashBoard/BestSellingProducts.tsx 80.00% 1 Missing ⚠️
src/components/dashBoard/DashboardSideNav.tsx 98.80% 1 Missing ⚠️
src/pages/TwoFactorAuthForm.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #109      +/-   ##
===========================================
+ Coverage    75.45%   75.85%   +0.39%     
===========================================
  Files          105      106       +1     
  Lines        11616    11876     +260     
  Branches       709      741      +32     
===========================================
+ Hits          8765     9008     +243     
- Misses        2849     2866      +17     
  Partials         2        2              

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

@wayneleon1 wayneleon1 force-pushed the coupons-functionalities-#103 branch 8 times, most recently from 10e7171 to 7f82856 Compare July 24, 2024 11:50
@wayneleon1 wayneleon1 requested review from 13XAVI, Dawaic6, EddyShimwa, jkarenzi and dushimeemma and removed request for 13XAVI and Dawaic6 July 24, 2024 11:56
@wayneleon1 wayneleon1 added Ready for TTL Review the PR is ready to be reviewed by the TTL/Manager and removed WIP labels Jul 24, 2024
@wayneleon1 wayneleon1 force-pushed the coupons-functionalities-#103 branch from 7f82856 to 1e0c699 Compare July 24, 2024 12:00
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
@wayneleon1 wayneleon1 force-pushed the coupons-functionalities-#103 branch from 1e0c699 to e7cf414 Compare July 24, 2024 13:23
Copy link
Collaborator

@ambroisegithub ambroisegithub left a comment

Choose a reason for hiding this comment

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

I looks good for merge!!!

@dushimeemma dushimeemma merged commit 5104bd9 into develop Jul 24, 2024
6 checks passed
niyobern pushed a commit that referenced this pull request Jul 25, 2024
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
niyobern pushed a commit that referenced this pull request Jul 25, 2024
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
niyobern pushed a commit that referenced this pull request Jul 25, 2024
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
niyobern pushed a commit that referenced this pull request Jul 25, 2024
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
niyobern pushed a commit that referenced this pull request Jul 26, 2024
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
niyobern pushed a commit that referenced this pull request Jul 26, 2024
implement coupons table

fix build & lint error's

fix testing errors

rebase from develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Front-End 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.

Implement coupon's functionalities
6 participants