-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: only one in-course experience sidebar can be open at a time failing #1519
Conversation
Thanks for the pull request, @jciasenza! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo 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:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by 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:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ 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 ☔ View full report in Codecov by Sentry. |
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.) |
Hello itsjeyd, it would already be finished so that you can approve it and be Merged ! |
@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 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
- ✅ I tested this on Tutor development environment and I verified it works right.
- ✅ I read through the code
- ❌ I checked for accessibility issues
- ❌ Includes documentation
- ❌ I made sure any change in configuration variables is reflected in the corresponding client's
configuration-secure
repository.
Thanks You!!!
Obtener Outlook para Android<https://aka.ms/AAb9ysg>
…________________________________
From: Farhaan Bukhsh ***@***.***>
Sent: Saturday, November 30, 2024 12:28:21 PM
To: openedx/frontend-app-learning ***@***.***>
Cc: Juan Carlos Iasenza ***@***.***>; Mention ***@***.***>
Subject: Re: [openedx/frontend-app-learning] fix: only one in-course experience sidebar can be open at a time failing (PR #1519)
Merged #1519<#1519> into master.
—
Reply to this email directly, view it on GitHub<#1519 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BHTWIG35N55BC6UXRM3OYX32DHKRLAVCNFSM6AAAAABR333ORGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGQ4DCMZTGA2DANQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@farhaanbukhsh - This PR puts in a fix that we don't want. The issue was the test wasn't clear - the learner absolutely should be able to expand multiple sections/subsections in the left sidebar. I think the test explaining that the user shouldn't be able to open 2 sidebars at once was confused. The user should not be able to open the LEFT and RIGHT sidebar at the same time, but should be able to expand and collapse anything they need to in the left-sidebar nav. Can we please revert this PR? cc: @mariajgrimaldi |
@crathbun428 sure I can do that and I think it's a bit of my fault as well I got a bit confused with the behaviour as well. Also the original requirement would need to have a product review as well since it affects the user interaction. I will revert this commit @jciasenza . |
If I have also misinterpreted the request, there is no problem with reverting the change, sorry !!! |
Description
openedx/wg-build-test-release#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