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

fix: [WS-4468] update learning type experiment filter #4340

Conversation

bseverino
Copy link
Member

@bseverino bseverino commented Apr 26, 2024

Internal ticket: https://2u-internal.atlassian.net/browse/WS-4468

Update fields for the learning type experiment filter based on product specs, plus some code cleanup:

  • Courses
  • Certificates (includes "Degree" Certificates, Professional Certificates, Licenses, and XSeries)
  • Executive Education
  • Pathways to Degrees (includes MicroBachelors and MicroMasters)
  • Boot Camps
  • Bachelor’s
  • Master’s
  • Doctorate

@bseverino bseverino force-pushed the bseverino/WS-4468-update-learning-type-experiment branch 2 times, most recently from f117a6f to 8f41fc4 Compare April 26, 2024 21:52
@bseverino bseverino marked this pull request as ready for review April 26, 2024 21:58
Comment on lines 71 to 73
return product_map[product_type]
except KeyError:
return product_type
Copy link
Contributor

Choose a reason for hiding this comment

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

this can be re-written to product_map.get(product_type, product_type)


product_map = {
'Boot Camp': _('Boot Camps'),
'Executive Education': _('Exec Ed'),
Copy link
Contributor

Choose a reason for hiding this comment

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

should it be Exec Ed? Wouldn't the complete Executive Education make sense?

Copy link
Member Author

Choose a reason for hiding this comment

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

I double checked with product, they requested this label specifically

Copy link
Member Author

Choose a reason for hiding this comment

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

Just got a request to change it back to Executive Education

@bseverino bseverino force-pushed the bseverino/WS-4468-update-learning-type-experiment branch 2 times, most recently from 08ff179 to bb00e04 Compare May 6, 2024 13:31
@bseverino bseverino force-pushed the bseverino/WS-4468-update-learning-type-experiment branch from bb00e04 to fd92d30 Compare May 13, 2024 19:17
@bseverino
Copy link
Member Author

Flagging this again, should be ready to be merged but CI seems to be stuck

@bseverino bseverino force-pushed the bseverino/WS-4468-update-learning-type-experiment branch from fd92d30 to 5459ff8 Compare May 14, 2024 21:33
@bseverino bseverino force-pushed the bseverino/WS-4468-update-learning-type-experiment branch from 5459ff8 to 70d899c Compare May 20, 2024 13:35
@AfaqShuaib09 AfaqShuaib09 merged commit a4f0cd6 into openedx:master May 20, 2024
26 checks passed
@bseverino bseverino deleted the bseverino/WS-4468-update-learning-type-experiment branch May 20, 2024 17:38
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.

4 participants