mitodl/mitxpro

Course Catalog Dropdown Link

Closed this issue · 9 comments

We would like to convert the course catalog header link on the xPro site to be a dropdown that shows links to All topics, current course topics, and programs. It would also be helpful to show a count of how many courses are there for each topic, and programs

Design and Mockups:

https://invis.io/ZC135O9WWAGS

@cachob Just an FYI we have a similar kind of topics section on the catalog page #2609. We should keep this on hold as we have changed the topics model a bit in the mentioned PR and this issue should use those changes. We can also make it a part of the linked PR/issue if this is urgent.

Yes, this issue is dependent on the completion of #2609, and we are setting this as Blocked for now.

@asadali145 are we in a position to move this forward now that we have #2609 released? If so let's get this out of the Blocked status and put in flight

Yes, Removing the Blocked label.

FYI @cachob @pdpinch @arslanashraf7 Here are the things we discussed today:

  • We are going to have the same design for the courses dropdown as we have for the Profile dropdown.
  • The title of the Catalog link in the header will be changed to Courses as per the new designs.
  • All Courses dropdown item will redirect to the catalog page with all courses and programs. The Programs dropdown item will redirect to the catalog page with the Programs tab set as active.
  • Program count will not be displayed in the dropdown as that adds an extra DB query.

@cachob Do we want to display the course count for course topics with zero courses? If not then should we hide the topic name or course count?

cachob commented

@asadali145 yes I agree, these should be hidden. Does this apply to the course topics in the home and catalog page as well?

We are not hiding topics with no courses on the homepage. Learners will see an empty course list. Should we hide topics on the homepage as well?

cachob commented

Yes I think we should hide those as well