mitodl / micromasters

Portal for learners and course teams to access MITx Micromasters® programs
https://mm.mit.edu
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Remove message about coupon pricing from dashboard #5297

Closed annagav closed 1 year ago

annagav commented 1 year ago

What are the relevant tickets?

Fix #5293

What's this PR do?

Removes pricing messages from course list card Removes financial aid messages from course list card.

How should this be manually tested?

Create coupons for course, and go to the dashboard, there should be not messages about coupons. You would need to create a Coupon and UserCoupon.

Before:

Screen Shot 2023-01-31 at 4 00 27 PM

After:

Screen Shot 2023-01-31 at 3 56 17 PM
codecov-commenter commented 1 year ago

Codecov Report

Merging #5297 (a803ada) into master (53a8688) will decrease coverage by 4.13%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master    #5297      +/-   ##
==========================================
- Coverage   97.75%   93.62%   -4.13%     
==========================================
  Files         301      501     +200     
  Lines       14109    23010    +8901     
  Branches        0      967     +967     
==========================================
+ Hits        13792    21543    +7751     
- Misses        317     1360    +1043     
- Partials        0      107     +107     
Impacted Files Coverage Δ
static/js/components/dashboard/CourseListCard.js 86.36% <100.00%> (-9.64%) :arrow_down:
...tic/js/components/dashboard/CourseListCard_test.js 89.81% <100.00%> (-3.76%) :arrow_down:
mail/factories.py 100.00% <0.00%> (ø)
seed_data/utils.py 71.42% <0.00%> (ø)
exams/signals.py 100.00% <0.00%> (ø)
certificates/views.py 94.69% <0.00%> (ø)
mail/permissions.py 100.00% <0.00%> (ø)
micromasters/utils.py 97.95% <0.00%> (ø)
search/util.py 94.59% <0.00%> (ø)
... and 193 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.