Skip to content
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: save scroll position on exit from video xblock fullscreen mode #981

Conversation

ihor-romaniuk
Copy link
Contributor

@ihor-romaniuk ihor-romaniuk commented Sep 28, 2022

This merge request contains a fix for toggling video xblock full-screen mode and saving the previous window top offset position on exit from the full-screen state.

A related bug was found here https://bugs.chromium.org/p/chromium/issues/detail?id=142427 but it still reproduces.

Realised solution: Save the scroll position before the turn on the fullscreen mode and scroll to the previous position on turn off the fullscreen mode.

Dependent PR to MFE Learning:
This MR openedx/edx-platform#31053 must be merged with this MR.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Sep 28, 2022
@openedx-webhooks
Copy link

Thanks for the pull request, @ihor-romaniuk! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

❗ No coverage uploaded for pull request base (open-release/nutmeg.master@03e0f41). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                      Coverage Diff                      @@
##             open-release/nutmeg.master     #981   +/-   ##
=============================================================
  Coverage                              ?   84.15%           
=============================================================
  Files                                 ?      258           
  Lines                                 ?     4455           
  Branches                              ?     1157           
=============================================================
  Hits                                  ?     3749           
  Misses                                ?      688           
  Partials                              ?       18           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@itsjeyd
Copy link

itsjeyd commented Oct 26, 2022

@ihor-romaniuk Thank you for your contribution! Please let us know when it is ready for review.

@ihor-romaniuk
Copy link
Contributor Author

@itsjeyd It is ready for review. Thanks in advance.

@itsjeyd
Copy link

itsjeyd commented Nov 30, 2022

Thanks @ihor-romaniuk!

CC @mphilbrick211, this is ready for a status update.

@itsjeyd
Copy link

itsjeyd commented Dec 15, 2022

Hey @ihor-romaniuk, while this is waiting for review would you mind resolving the conflicts mentioned above? That way we can be sure that your changes will be up-to-date when reviewers start looking at them.

@itsjeyd itsjeyd added the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Dec 21, 2022
@ihor-romaniuk ihor-romaniuk force-pushed the romaniuk/fix/scroll-position-on-exit-from-video-fullscreen-mode branch from b83acf1 to 0ed58eb Compare December 27, 2022 14:33
@openedx-webhooks openedx-webhooks removed the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Dec 27, 2022
@ihor-romaniuk
Copy link
Contributor Author

Hi @itsjeyd. The PR was updated and ready for review.

@itsjeyd
Copy link

itsjeyd commented Jan 6, 2023

Thanks @ihor-romaniuk! I updated the status of this PR accordingly.

@mattcarter This is ready for engineering review by the Aurora team (together with openedx/edx-platform#31053).

CC @mphilbrick211

@jmakowski1123 jmakowski1123 added the product review PR requires product review before merging label Jan 10, 2023
@ProductRyan
Copy link

@ihor-romaniuk @itsjeyd - this appears to be the first of many PRs related to the same issue - I'd like to use this ticket as the primary communication place.

openedx/edx-platform#31055
openedx/edx-platform#31053
#982
#983
openedx/edx-platform#31061

Can you describe or show (video?) how the fix you are proposing works for a user? Specifically, I am looking for evidence that your change does not create any side effects that would add friction to the user experience.

@arbrandes
Copy link

This PR is not even the one to master. Does anybody mind if we move the general discussion to the issue I just created?

openedx/platform-roadmap#229

@ihor-romaniuk, do you mind replying there with the information @ProductRyan requested?

@itsjeyd
Copy link

itsjeyd commented Jan 31, 2023

@ihor-romaniuk Friendly reminder to follow up on @arbrandes's comment above.

@itsjeyd
Copy link

itsjeyd commented Feb 15, 2023

For reference, product review for this feature is happening via openedx/platform-roadmap#229.

@ihor-romaniuk
Copy link
Contributor Author

Hi @itsjeyd @arbrandes
Answer was provided there openedx/platform-roadmap#229 with other additional information.

I'm waiting for review. Thanks.

@itsjeyd
Copy link

itsjeyd commented Mar 8, 2023

Thanks for the update, @ihor-romaniuk!

@itsjeyd itsjeyd removed the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Mar 21, 2023
@ihor-romaniuk
Copy link
Contributor Author

Hi @itsjeyd. Sorry for delay. Tests were updated and it's ready for review.

@itsjeyd
Copy link

itsjeyd commented May 9, 2023

Thanks @ihor-romaniuk, I posted on the main PR (#983) to get the changes lined up for engineering review.

@itsjeyd
Copy link

itsjeyd commented May 31, 2023

Note on current status: Main PR has been added to review queue.

@itsjeyd itsjeyd assigned arbrandes and unassigned arbrandes May 31, 2023
Copy link
Contributor

@leangseu-edx leangseu-edx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@leangseu-edx leangseu-edx merged commit 72bce9e into openedx:open-release/nutmeg.master Jun 21, 2023
5 checks passed
@openedx-webhooks
Copy link

@ihor-romaniuk 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U product review PR requires product review before merging
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

7 participants