openedx / frontend-app-learning

Front-end for the Open edX course experience, implemented using React and Paragon.
GNU Affero General Public License v3.0
46 stars 207 forks source link

fix: only one in-course experience sidebar can be open at a time failing #1519

Open jciasenza opened 1 week ago

jciasenza commented 1 week ago

Description

https://github.com/openedx/wg-build-test-release/issues/404

Release Sumac

Expected behavior Only one sidebar can be opened at a time. When I expand a second sidebar while the opposite sidebar is open, the second sidebar expands while the other collapses.

Actual behavior When I expand a second sidebar while the opposite sidebar is open, the second sidebar still open.

Steps to reproduce Given I am a user enrolled in a course on an in-course experience page on an instance with the courseware.enable_navigation_sidebar is enabled. When I expand a second sidebar while the opposite sidebar is open, the second sidebar still open.

Solution: The sidebars will open one at a time. Video Screen1731859298625.webm

How Has This Been Tested? And Testing OK

If something needs to be modified, let me know, thank you!!! Atte Juan Carlos (Aulasneo)

Developer Checklist

Test suites passing Documentation and test plan updated, if applicable Received code-owner approving review

openedx-webhooks commented 1 week ago

Thanks for the pull request, @jciasenza!

What's next?

Please work through the following steps to get your changes ready for engineering review:

:radio_button: Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

:radio_button: Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

:radio_button: Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

:radio_button: Let us know that your PR is ready for review:

Who will review my changes?

This repository is currently maintained by @openedx/committers-frontend-app-learning. Tag them in a comment and let them know that your changes are ready for review.

Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

:bulb: As a result it may take up to several weeks or months to complete a review and merge your PR.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.25%. Comparing base (c20c767) to head (96505c1). Report is 14 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1519 +/- ## ======================================= Coverage 89.25% 89.25% ======================================= Files 318 318 Lines 5563 5565 +2 Branches 1379 1341 -38 ======================================= + Hits 4965 4967 +2 Misses 583 583 Partials 15 15 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

itsjeyd commented 1 week ago

Hey @jciasenza, thank you for this contribution! We've got a green build so I'm marking the changes as ready for review. (Let me know if you were planning to work on them some more, though.)

jciasenza commented 1 week ago

Hello itsjeyd, it would already be finished so that you can approve it and be Merged !

itsjeyd commented 1 week ago

@jciasenza Thanks for confirming! As you can see above I already requested a review from the maintainers of this repo. They'll take it from here 🙂