openedx / openedx/frontend-app-authoring

Stop trying to check course waffle flags in content libraries

Open Beginner friendly
#3,040 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
17
Forks
218
Avg merge
9d 20h
Merged PRs (30d)
20

Description

When navigating around content libraries, the following errors appear over and over in the JS console:

GET http://studio.local.openedx.io:8001/api/contentstore/v1/course_waffle_flags/lib:foo:bar 404 (Not Found)

course-specific waffle flag overrides don't apply to libraries, so the frontend shouldn't be trying to load them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the content-library navigation code and the requests to the course_waffle_flags endpoint. Reproduce the repeated 404 in the browser console, then verify that navigating content libraries no longer requests course-specific waffle flags and that other course flag behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.