Closed ragesoss closed 4 years ago
Hi, can I be assigned this issue? I am an Outreachy applicant. Looking to getting started as soon as possible. @ragesoss
Go for it. We don't typically assign issues, but please post again if you stop working on it.
Great. Thanks.
I think this bug was introduced with https://github.com/WikiEducationFoundation/WikiEduDashboard/pull/3772
When you load a course page, it briefly shows the fallback text for a missing i18n message in the navbar instead of the appropriate Articles/Items/Pages text. This is most apparent if you do a hard refresh, for example on https://dashboard.wikiedu.org/courses/McMaster_University/Selected_Topics_in_the_Sociology_of_Education_(Winter)
This is because the
wiki_string_prefix
value isn't available until thecourse
data is received from the server; the navbar renders before any course data is received, based on the initial default state of thecourse
reducer in Redux.The right solution here is probably to not render the navbar at all until course data is received.