Skip to content

feat: use discount info endpoint for streak discount information #1763

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

NawfalAhmed
Copy link
Member

Description

This PR aims to introduce an override for streak discount information based on an env variable DISCOUNT_CODE_INFO_URL

Copy link

codecov bot commented Jul 17, 2025

Codecov Report

Attention: Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.

Project coverage is 90.28%. Comparing base (b050535) to head (4f60da9).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...ared/streak-celebration/StreakCelebrationModal.jsx 85.71% 3 Missing ⚠️
src/index.jsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1763      +/-   ##
==========================================
- Coverage   90.46%   90.28%   -0.19%     
==========================================
  Files         344      344              
  Lines        5812     5824      +12     
  Branches     1360     1403      +43     
==========================================
  Hits         5258     5258              
- Misses        537      549      +12     
  Partials       17       17              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

1 participant