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/scroll position on exit from video fullscreen mode maple #982

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#31055 must be merged with this MR.

@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 28, 2022

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 🎉

Comparison is base (eac884b) 84.01% compared to head (8018989) 84.03%.

Additional details and impacted files
@@                      Coverage Diff                      @@
##           open-release/maple.master     #982      +/-   ##
=============================================================
+ Coverage                      84.01%   84.03%   +0.02%     
=============================================================
  Files                            226      226              
  Lines                           3986     3991       +5     
  Branches                        1015     1018       +3     
=============================================================
+ Hits                            3349     3354       +5     
  Misses                           615      615              
  Partials                          22       22              
Impacted Files Coverage Δ
src/courseware/course/sequence/Unit.jsx 85.00% <100.00%> (+1.00%) ⬆️

☔ 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's ready for review. Thanks in advance.

@itsjeyd
Copy link

itsjeyd commented Jan 6, 2023

Hi @mattcarter, could we please get this PR lined up for engineering review by the Aurora team?

@itsjeyd itsjeyd added the product review PR requires product review before merging label Jan 6, 2023
@itsjeyd
Copy link

itsjeyd commented Jan 6, 2023

@ProductRyan Since the corresponding edx-platform PR (openedx/edx-platform#31055) has been flagged for product review, I'm tentatively flagging this PR for product review as well.

If that's not necessary, please let me know.

CC @mphilbrick211

@itsjeyd
Copy link

itsjeyd commented Jan 11, 2023

Hey @jmakowski1123, you might already be aware of this PR but I'll CC you here (and on a few other PRs) just in case.

@itsjeyd
Copy link

itsjeyd commented Jan 17, 2023

For reference, going forward the primary communication place for PRs related to this issue will be #981 (as mentioned here).

@itsjeyd
Copy link

itsjeyd commented Jan 31, 2023

@ihor-romaniuk While #981 is going through product review, it might make sense to address failing codecov checks on this PR and #983. That way the changes would be ready for engineering review right after they get approval from product.

@itsjeyd itsjeyd added the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Jan 31, 2023
@jmakowski1123
Copy link

jmakowski1123 commented Jan 31, 2023

@mphilbrick211 I'm going to remove the "product review" label from this issue as the scope for this ticket is on code checks. Product review is underway on #981

@itsjeyd
Copy link

itsjeyd commented Feb 15, 2023

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

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

itsjeyd commented Apr 13, 2023

@ihor-romaniuk Just a quick heads-up, I'm updating labels on this PR again to indicate that it's waiting for additional changes addressing codecov failures.

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

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

@itsjeyd itsjeyd removed the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label May 9, 2023
@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.

@leangseu-edx
Copy link
Contributor

Why is package-lock.json change? I think you should revert the file.

@itsjeyd itsjeyd added the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Jun 22, 2023
@itsjeyd
Copy link

itsjeyd commented Jun 27, 2023

Hey @ihor-romaniuk, a friendly reminder to address @leangseu-edx's comment above so we can get this backport merged :)

@ihor-romaniuk ihor-romaniuk force-pushed the fix/scroll-position-on-exit-from-video-fullscreen-mode-maple branch from b17bb67 to 8018989 Compare July 6, 2023 08:54
@ihor-romaniuk
Copy link
Contributor Author

Hi @leangseu-edx @itsjeyd
Everything was fixed. Please take a look one more.

@itsjeyd
Copy link

itsjeyd commented Jul 11, 2023

Thanks @ihor-romaniuk, looks like we should be able to get this over the line very soon.

@itsjeyd itsjeyd added waiting for eng review PR is ready for review. Review and merge it, or suggest changes. and removed waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. labels Jul 11, 2023
@itsjeyd itsjeyd requested a review from leangseu-edx July 11, 2023 15:24
@itsjeyd
Copy link

itsjeyd commented Jul 18, 2023

Hey @leangseu-edx, friendly ping about having a quick look at this PR. It's a backport of another PR (#983) that you recently reviewed and merged.

@leangseu-edx
Copy link
Contributor

Hey @leangseu-edx, friendly ping about having a quick look at this PR. It's a backport of another PR (#983) that you recently reviewed and merged.

This is a pair pr with openedx/edx-platform#31055. Due to the other pr if failing, I am uncomfortable merging it.

@itsjeyd
Copy link

itsjeyd commented Jul 19, 2023

@leangseu-edx OK I see, thanks for the info.

@itsjeyd itsjeyd added blocked by other work PR cannot be finished until other work is complete waiting for eng review PR is ready for review. Review and merge it, or suggest changes. and removed waiting for eng review PR is ready for review. Review and merge it, or suggest changes. labels Jul 26, 2023
@ihor-romaniuk
Copy link
Contributor Author

Closed due to outdated edx version and no need for these changes.
Related MR also closed openedx/edx-platform#31055.

@openedx-webhooks
Copy link

@ihor-romaniuk Even though your pull request wasn’t 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
blocked by other work PR cannot be finished until other work is complete 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.

6 participants