-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat!: Make MFE scroll content instead of iFrame when scrollToXblock is called #37152
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
Conversation
I think before we land this we should:
|
@brian-smith-tcril - the only other place |
Sounds good! This is technically a breaking change so we should probably make sure the commit message communicates that. |
b4289b4
to
0b04200
Compare
@saraburns1 I created the fast-track DEPR ticket, please feel free to edit it if there's anything you'd like to add/update! |
@brian-smith-tcril @saraburns1 scrollToXBlocks was introduced during the landing of in-context metrics, so I assume it's not being used in many places. However, it is always better to be safe than sorry. Thanks a lot for the DEPR ticket. Also please let me know if I can merge this since I tested this and it is working 😄 |
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 with incontext-metrics and it's working fine 👍🏾
- ✅ I read through the code
- ❌ I checked for accessibility issues
- ❌ Includes documentation
@farhaanbukhsh the DEPR ticket is a "fast-track" DEPR, and is marked as "Transition Already Unblocked." Feel free to merge this! |
Thanks @brian-smith-tcril and @saraburns1 for the work. 🚀 |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
Fixes openedx/openedx-aspects#316 by scrolling window to the xblock location instead of scrolling within the iFrame
Supporting information
Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.
Testing instructions
Test with openedx/frontend-app-authoring#2363
Need to enable Aspects in-context metrics (https://github.com/openedx/frontend-plugin-aspects)
Deadline
"None" if there's no rush, or provide a specific date or event (and reason) if there is one.
Other information
Include anything else that will help reviewers and consumers understand the change.