openedx / openedx/frontend-app-authoring

Some "Pages & Resources" settings are not displayed correctly.

Open
#2,738 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

Go into a course > Pages & Resources > Progress. Leave "Progress" enabled but turn off "Enable progress graph".

Image

Then (in the same tab!) browse to Studio Home > a different course > Pages & Resources > Progress. Even if this course has "Enable progress graph" on, it will be shown as off unless you refresh the page.

The reason seems to be that the Redux state used to store some of these settings is not properly scoped to the course ID / cleared when the course ID changes.

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

Reproduce the issue through Studio Home > Pages & Resources > Progress by switching between two courses without refreshing. Start by tracing the Redux state for the Progress and Enable progress graph settings when the course ID changes; done means each course displays its own saved settings immediately after navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, redux, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.