docs: update PDF embed instructions#1432
Conversation
|
Thanks for the pull request, @Kelketek! This repository is currently maintained by 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 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. DetailsWhere 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. |
|
|
||
| #. In the **Name** field, enter the name for the new component. This will be | ||
| displayed above the component as a title. | ||
| You may optionally specify a specific URL for your PDF by selecting |
There was a problem hiding this comment.
Just a small nit, but there is a variant of specify 3 times in this sentence; dropping one feels less of a tongue twister. ;)
| You may optionally specify a specific URL for your PDF by selecting | |
| You may optionally specify a URL for your PDF by selecting |
f0c89b0 to
1a4e730
Compare
|
@sarina Since you reviewed the initial version, would you be up for reviewing this update now that the UI has been updated? |
| The new component is added to the unit with a default example PDF embedded. | ||
| .. image:: /_images/educator_references/pdf_editor.png | ||
| :alt: The PDF embed component in Studio. | ||
| :width: 400 |
| :alt: The PDF embed component in Studio. | ||
| :width: 400 | ||
|
|
||
| .. image:: /_images/educator_references/pdf_embed.png |
There was a problem hiding this comment.
Can you please delete this outdated image as part of this PR?
There was a problem hiding this comment.
This image isn't out of date-- only the authoring interface has changed, so the image at the top of the article is still good, and refers to the same file.
|
@sarina I've addressed one note and responded to another. Please take another look. Thanks! |
|
Thanks, could you ping me when all my comments are addressed? |
|
@sarina As far as I can tell, all of your notes are addressed. You asked for me to remove the width constraint on one of the images, which I have done. And you asked for me to remove an image, but that image is not out of date as it is of the unchanged learner interface, and so I do not want to remove it. The image was previously used twice in the article, and now is only used once at the top. Was there anything else you needed? |
|
|
||
| The new component is added to the unit with a default example PDF embedded. | ||
| .. image:: /_images/educator_references/pdf_editor.png | ||
| :alt: The PDF embed component in Studio. |
There was a problem hiding this comment.
This alt text isn't very descriptive. With alt text, you should convey what is being visually represented so that a screenreader user can understand why you're including this image at all. Sometimes this ends up being pretty long and that's okay!
Eg, "The PDF embed component in Studio modal dialogue has a field to provide a file upload. It has a checkbox to show the PDF download link, and optional fields to provide the source document, as explained in the following steps in this tutorial"
There was a problem hiding this comment.
Added your description, since it looked good to me.
| the PDF embed block. | ||
|
|
||
| The new component is added to the unit with a default example PDF embedded. | ||
| .. image:: /_images/educator_references/pdf_editor.png |
There was a problem hiding this comment.
Nit: this file should be in educator_how-tos folder not educator_references
There was a problem hiding this comment.
Done. I've moved the other image as well.
sarina
left a comment
There was a problem hiding this comment.
Great, sorry about the confusion and thanks for the changes!
|
@sarina The CI choked-- can you restart it? Thanks! |


Description
This PR updates the PDF block creation instructions to reflect the revised interface that will be landing alongside the block in Verawood.
Supporting information
openedx/frontend-app-authoring#2916
Internal ticket: https://tasks.opencraft.com/browse/BB-10743
Testing instructions
Follow the setup instructions here to build and serve the documentation. Verify that the page works and looks right. You should find it here:
http://127.0.0.1:8000/educators/how-tos/course_development/exercise_tools/add_embedded_pdf.html
Rendered doc
https://docsopenedxorg--1432.org.readthedocs.build/en/1432/educators/how-tos/course_development/exercise_tools/add_embedded_pdf.html