Skip to content

Fix: When clicking "Download Handout", the handout (image) overlays the video area, and the download does not start automatically.#37108

Merged
feanil merged 1 commit intoopenedx:masterfrom
haftamuk:ESHE-37081
Nov 20, 2025
Merged

Fix: When clicking "Download Handout", the handout (image) overlays the video area, and the download does not start automatically.#37108
feanil merged 1 commit intoopenedx:masterfrom
haftamuk:ESHE-37081

Conversation

@haftamuk
Copy link
Copy Markdown
Contributor

@haftamuk haftamuk commented Aug 2, 2025

Description

This pull request will enable learners to be able to click "Download Handout" link available in a video component and initiate a direct download on image attachments(image handouts). The "download" attribute is added in the anchor element to perform a direct download.

Learners exploring courses with video component and an image handout attached to it will be able to click the "Download Handout" link to initiate a direct download.

Supporting information

Testing instructions

Deadline

None

Other information

None

@haftamuk haftamuk requested a review from a team as a code owner August 2, 2025 01:32
@haftamuk haftamuk changed the title When clicking "Download Handout", the handout (image) overlays the video area, and the download does not start automatically. Fix: When clicking "Download Handout", the handout (image) overlays the video area, and the download does not start automatically. Aug 2, 2025
@Cup0fCoffee
Copy link
Copy Markdown
Contributor

@haftamuk The changes look good, I verified that they do fix the issue.

Can you please:

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Aug 6, 2025
@openedx-webhooks
Copy link
Copy Markdown

Thanks for the pull request, @haftamuk!

This repository is currently maintained by @openedx/wg-maintenance-edx-platform.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

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

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 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:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 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.

Details
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:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

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

@github-project-automation github-project-automation Bot moved this to Needs Triage in Contributions Aug 6, 2025
@mphilbrick211 mphilbrick211 moved this from Needs Triage to Needs Tests Run or CLA Signed in Contributions Aug 6, 2025
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Aug 6, 2025
@e0d
Copy link
Copy Markdown
Contributor

e0d commented Aug 6, 2025

@haftamuk it looks like there are some branch conflicts that need to be resolved here. Can you have a look?

@e0d e0d removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Aug 6, 2025
@e0d e0d moved this from Needs Tests Run or CLA Signed to Waiting on Author in Contributions Aug 6, 2025
@Cup0fCoffee
Copy link
Copy Markdown
Contributor

I think the conflicts will be resolved once the changes are rebased onto master branch, because currently the branch is based on release/teak (because the local tutor is more stable with release branch than with master).

@haftamuk haftamuk force-pushed the ESHE-37081 branch 2 times, most recently from 5866ce5 to f4348a1 Compare August 7, 2025 11:45
@haftamuk
Copy link
Copy Markdown
Contributor Author

haftamuk commented Aug 7, 2025

@e0d I have rebased the changes on top of master and have resolved the conflicts. Is there anything else I can do to get this reviewed?

@e0d
Copy link
Copy Markdown
Contributor

e0d commented Aug 7, 2025

@haftamuk Your branch is behind the base. I've pulled in changes from master as a merge commit which will update your branch and cause the tests to be re-run.

@haftamuk
Copy link
Copy Markdown
Contributor Author

haftamuk commented Aug 7, 2025

@haftamuk Your branch is behind the base. I've pulled in changes from master as a merge commit which will update your branch and cause the tests to be re-run.

Ok. Great thank you.

@mphilbrick211
Copy link
Copy Markdown

Hi @haftamuk! Is this pull request still in progress?

@haftamuk
Copy link
Copy Markdown
Contributor Author

@mphilbrick211 Can you point me in to the next directions, I am thinking it is complete. Kindly let me know why is it not merged yet?

@Cup0fCoffee
Copy link
Copy Markdown
Contributor

Cup0fCoffee commented Sep 29, 2025

@haftamuk can you please rebase onto the target branch and squash your commits, so that your git history is clean and passes the linter checks? It might take a while before an upstream reviewer can take a look at your PR. Making sure your PR can pass all checks will reduce the back and forth required, once someone finds the time to look at the PR.

Also, can you please link the issue id in PR description? Edit: I see that you linked it in the commit (which is good!), just linking it in the PR description as well makes it easier to find and navigate between the PR and the issue.

@haftamuk haftamuk force-pushed the ESHE-37081 branch 2 times, most recently from 7cda2d1 to 44f1b32 Compare September 29, 2025 13:19
@haftamuk
Copy link
Copy Markdown
Contributor Author

@haftamuk can you please rebase onto the target branch and squash your commits, so that your git history is clean and passes the linter checks? It might take a while before an upstream reviewer can take a look at your PR. Making sure your PR can pass all checks will reduce the back and forth required, once someone finds the time to look at the PR.

Also, can you please link the issue id in PR description? Edit: I see that you linked it in the commit (which is good!), just linking it in the PR description as well makes it easier to find and navigate between the PR and the issue.

Thank you for the followup
I have rebased it on master and squashed my commits. The PR shows 8 commits from other contributors(I am not sure how to deal with that), but I only had one original(meaningful) commit and the second amend commit. I have squashed this two, but the other commits remain. Let me know If I should do cleaning on those!

I have edited the PR description to contain the Issue link.
Thank you.

@Cup0fCoffee
Copy link
Copy Markdown
Contributor

@haftamuk Yeah, you should remove those other commits from your branch. I'm not sure how they ended up in your branch, so not sure what's the best way to remove it.

@haftamuk
Copy link
Copy Markdown
Contributor Author

@haftamuk Yeah, you should remove those other commits from your branch. I'm not sure how they ended up in your branch, so not sure what's the best way to remove it.

It is clean now! The change in this PR is really simple.

@Cup0fCoffee
Copy link
Copy Markdown
Contributor

@haftamuk Awesome, thank you!

@haftamuk haftamuk force-pushed the ESHE-37081 branch 2 times, most recently from d43ebfd to 7b3d962 Compare October 7, 2025 18:57
@mphilbrick211 mphilbrick211 moved this from Waiting on Author to Needs Tests Run or CLA Signed in Contributions Oct 8, 2025
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 8, 2025
@e0d
Copy link
Copy Markdown
Contributor

e0d commented Oct 16, 2025

@haftamuk
Your branch is behind the base. I've pulled in changes from master as a merge commit which will update your branch and cause the tests to be re-run.

@e0d e0d removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 16, 2025
@mphilbrick211 mphilbrick211 moved this from Needs Tests Run or CLA Signed to Waiting on Author in Contributions Oct 16, 2025
@mphilbrick211 mphilbrick211 moved this from Waiting on Author to Ready for Review in Contributions Nov 13, 2025
@mphilbrick211 mphilbrick211 added the needs reviewer assigned PR needs to be (re-)assigned a new reviewer label Nov 13, 2025
@feanil
Copy link
Copy Markdown
Contributor

feanil commented Nov 20, 2025

@haftamuk this looks good, cane you rebase the code and fix the conflict? Then I can merge it.

…ideo

 After applying a "download" property on html5 anchor tag, Download Handout
link in a video component initiates a direct download instead of overlaying
over the video.

Fixed issue: openedx#37081
@haftamuk
Copy link
Copy Markdown
Contributor Author

@haftamuk this looks good, cane you rebase the code and fix the conflict? Then I can merge it.

@feanil I did resolved the conflict and rebased the PR
Kindly have a look

Thank you

@feanil feanil merged commit 8611e61 into openedx:master Nov 20, 2025
49 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for Review to Done in Contributions Nov 20, 2025
@openedx-webhooks openedx-webhooks removed the needs reviewer assigned PR needs to be (re-)assigned a new reviewer label Nov 20, 2025
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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants