You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Course search panel on the Competency Management page doesn't match the Paragon components and tokens in the design #836
The design builds the course search panel from Paragon components with specific properties and spacing tokens. In the points below, the implementation uses the same Paragon components but with different properties, or hard-coded values in place of the tokens. The values from the design were read from the Figma properties panel.
The "Start Date" button uses different Button properties than the design.
Design: Paragon Button, color Tertiary, size Small, the date_range icon before the label. The button keeps the same style when a date range is selected.
Implementation: variant="outline-primary", which switches to a filled variant="primary" once dates are selected. The button has the default size and the calendar icon after the label (iconAfter={Calendar}).
Expected: variant="tertiary", size="sm", iconBefore={Calendar}, with the same variant whether or not dates are selected.
The pagination below the course list uses the default size.
Design: Paragon Pagination, size Small, with a 1px gray/100 border above it.
Expected: size="small" and a top border using --pgn-color-gray-100.
The gap between the search field and the "Start Date" button is 16px.
Design: the gap is 8px.
Expected: gap={2} on the toolbar Stack instead of gap={3}.
Several styles in src/taxonomy/competency-management/course-search/CourseSearchBrowse.scss are hard-coded, although Paragon has tokens with exactly the same values. Replacing them doesn't change how the page looks, but keeps the page in sync if the theme changes.
Where
Current value
Paragon token
$block-shadow (line 23), used by the course and section cards (&__group, line 160) and the subsection card (&__subsection, line 204)
"Start Date" button: tertiary, sm, icon before the label, same style once dates are picked
Done
2
Pagination: size="small" and a --pgn-color-gray-100 top border
Done, but the spacing under the border needs a fix (see below)
3
8px gap between the search field and the "Start Date" button
Done
4
Hard-coded values in CourseSearchBrowse.scss replaced with Paragon tokens
Done, all five replacements are in the deployed CSS
Remaining fix: the pagination buttons sit directly on the top border
The top border is set on the pagination container (.course-search-browse__pagination), and that container has padding-top: 0. The list inside it has margin-top: 0, so there is 0px between the border and the page buttons, and the buttons touch the line. In the design there is space between the border and the pagination row.
Expected: the pagination row has vertical space under its top border, as in the design.
Activity
dvarenikqaconsultant commentedon Oct 9, 2026
Environment: Master Sandbox, https://apps.master.openedx.io/authoring/taxonomy/45/competencies
Retested on Master Sandbox after openedx/frontend-app-authoring#3279 was deployed.
tertiary,sm, icon before the label, same style once dates are pickedsize="small"and a--pgn-color-gray-100top borderCourseSearchBrowse.scssreplaced with Paragon tokensRemaining fix: the pagination buttons sit directly on the top border
The top border is set on the pagination container (
.course-search-browse__pagination), and that container haspadding-top: 0. The list inside it hasmargin-top: 0, so there is 0px between the border and the page buttons, and the buttons touch the line. In the design there is space between the border and the pagination row.Expected: the pagination row has vertical space under its top border, as in the design.
Figma

UPD: moved it to a separete issue #859