openedx / openedx/frontend-app-learning

Courseware navigation buttons drastically change size depending on number of elements

Open
#1,517 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
70
Forks
335
Avg merge
1d 17h
Merged PRs (30d)
35

Description

Courseware SequenceNavigation next and previous buttons change size drastically depending on the number of elements in the navigation bar.

https://github.com/openedx/frontend-app-learning/blob/2ff8c3949ea315db8b9c90d8aa2ed198881d8add/src/courseware/course/sequence/sequence-navigation/SequenceNavigation.jsx

We made an update to our customized brand package to correct the issue.

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

Start by inspecting src/courseware/course/sequence/sequence-navigation/SequenceNavigation.jsx and reproduce how the next and previous button sizes vary with the number of navigation elements. Compare the behavior with the customized brand package mentioned in the issue. Done means the buttons no longer change size drastically across navigation-bar lengths, with the correction verified in the courseware UI.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.