freeCodeCamp / classroom

BSD 3-Clause "New" or "Revised" License
144 stars 121 forks source link

Activity color code is invisible on first page load #420

Closed utsab closed 1 year ago

utsab commented 1 year ago

Describe the bug When we first launch the app on Github Codespaces, the activity color-coded meter is not visible. The HTML element is present in the DOM (you can confirm by "inspecting element") but for some reason, the element is not visible.

To Reproduce Steps to reproduce the behavior:

  1. Create a class
  2. Go to the /classes page
  3. Click on "View class"
  4. See error
Screen Shot 2023-08-01 at 6 14 28 PM

Expected behavior

We should see the Activity meter:

Screen Shot 2023-08-01 at 6 14 37 PM

Additional context

Interestingly, if we drag the util/processDashboardData.js file to a different directory, update the import links, then reload the page, suddenly the activity meter is present. If you drag the file back to its original location, the activity continues to be present.