openedx / frontend-app-learner-dashboard

Learner Dashboard MFE
GNU Affero General Public License v3.0
6 stars 87 forks source link

Don't show Programs button if programs are not configured #372

Open arbrandes opened 4 months ago

arbrandes commented 4 months ago

Description

On a bare installation one sees the Programs button even though no programs are configured in the backend:

image

The result is a 404 if you click it:

image

Expected behavior

If no programs are configured in the backend, the button should simply not show.

Implementation

While we could implement this as a config variable, ideally the frontend would detect whether programs are enabled and render the button based on that.

justinhynes commented 4 months ago

Thanks for the report! Aperture will track this internally as https://2u-internal.atlassian.net/browse/APER-3565. We will discuss this ticket in our next grooming session.

arbrandes commented 1 week ago

Both SUPPORT_URL and Programs links are fixed in master. We just need backports, now. @dcoa may be able to help, there. :)