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

chore: limit the number of CTAs on the Primary Card on the Learn Tab #73

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

saeedbashir
Copy link

We need to limit the number of CTAs present on the Primary Course Card on the Learn tab to 3 as follows:

  • Start/Resume Course CTA
  • Upgrade Course CTA
  • Past Due/Upcoming Assignment Date

If the upgrade button is displayed on the Primary Course Card then we can either show the CTA for items that are Past Due or Upcoming items in the course.

If the condition exists for both buttons to exist at the same time then the Past Due items CTA should be given priority over Upcoming items CTA.

Copy link

@shafqat-muneer shafqat-muneer left a comment

Choose a reason for hiding this comment

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

I tested all the scenarios mentioned in ticket LEARNER-10144 and LGTM 👍

@saeedbashir saeedbashir merged commit 55b84f0 into 2U/develop Sep 3, 2024
3 checks passed
@saeedbashir saeedbashir deleted the saeed/limit_CTA branch September 3, 2024 02:16
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.

3 participants