This PR updates the hover background for the top navigation buttons that are shown when the left side navigation is enabled. The hover background is updated to match the hover background of other existing IconButton components, see DiscussionNotificationTrigger.jsx, on the page.
This PR updates the unit title plugin to include all the elements that are part of the unit title, which includes the unit title, bookmark button, and navigation buttons (if left sidebar navigation is enabled).
This commit fixes a bug that prevents the fetchExamAccessToken hook in the useExamAccess hook from running. This occurs when the value of isExam returned by the useIsExam hook changes from false to true. Because the dependency array of the useEffect hook within the useExamAccess hook was ['id'], the useEffect hook would not rerun on changes to isExam. The fix is to add isExam to the dependency array.
When using the right new-sidebar with the left sidebar navigation, the icon for the right sidebar changed whenever the left sidebar was open. The icon change is supposed to indicate to users that the right sidebar is open. It is confusing to users when the left sidebar navigation is open and the right sidebar icon is filled instead of outlined.
* feat: extend CourseOutlineSidebarTriggerSlot props
* feat: Remove courseId from CourseOutlineSidebarTriggerPlugin props
* feat: update useContextId to use courseware data along with coursehome
* feat: extend useCourseOutlineSidebar values with sequenceStatus
This PR fixes the following accessibility issues:
1. Header used for screenreader only text
2. Element focus when expanding and dismissing welcome message
3. Bookmark button using wrong ARIA attributing while processing bookmark status
* feat: move unit next button slot to plugins folder
* feat: update unit navigation at top to use next unit plugin
* fix: remove 2u plugin specific code
* fix(deps): update dependency @openedx/paragon to v22.13.0
* fix: update use of useWindowSize() to reflect accurate data types
* chore: allow slightly larger bundle size for new paragon :/
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: add functionality to see unit draft preview
* fix: course redirect unit to sequnce unit redirect
* fix: not showing preview when masquerading
* feat: in preview fetch draft branch of sequence metadata
* feat: add functionality to see unit draft preview
* feat: add tests for course link redirects
* fix: course redirect unit to sequnce unit redirect
* fix: test coverage
* feat: platform & react-unit-test-utils major version update, updated jest to v29
* feat: updated frontend-build to v14 along with respective edx packages
* refactor: bumped package versions, updated snapshots for failing tests
* fix: code refactors to resolve failing tests
* refactor: added code comment in jest config