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: bump frontend-lib-content-components to 2.5.1 #1174

Conversation

KristinAoki
Copy link
Member

@KristinAoki KristinAoki commented Jul 19, 2024

Settings

TUTOR_GROVE_WAFFLE_FLAGS:
  - name: contentstore.new_studio_mfe.use_new_updates_page
    everyone: true

Description

This is a backport to include the resolution of frontend-lib-content-components #476

This upgrade includes the following version updates:

  • 2.5.1
  • 2.5.0
  • 2.4.4
  • 2.4.3
  • 2.4.2
  • 2.4.1
  • 2.40
  • 2.3.2
  • 2.3.1
  • 2.3.0
  • 2.2.0

See frontend-lib-content-components tagged releases for more information on individual tags.

Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (open-release/redwood.master@b66238c). Learn more about missing BASE report.

Additional details and impacted files
@@                      Coverage Diff                       @@
##             open-release/redwood.master    #1174   +/-   ##
==============================================================
  Coverage                               ?   92.32%           
==============================================================
  Files                                  ?      708           
  Lines                                  ?    12540           
  Branches                               ?     2690           
==============================================================
  Hits                                   ?    11577           
  Misses                                 ?      926           
  Partials                               ?       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kdmccormick kdmccormick added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Jul 19, 2024
@open-craft-grove
Copy link

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

Copy link
Member

@kdmccormick kdmccormick left a comment

Choose a reason for hiding this comment

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

Thanks @KristinAoki , just a couple notes. I'll test this with the PR sandbox in the meantime.

src/generic/WysiwygEditor.jsx Outdated Show resolved Hide resolved
@@ -48,18 +52,32 @@ const courseUpdatesInitialValues = (requestType) => {
};

const renderComponent = ({ requestType }) => render(
<IntlProvider locale="en">
Copy link
Member

Choose a reason for hiding this comment

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

Are these course-updates changes necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, because of the changes to the editor props. The editors for the course updates page use the same Tiny MCE editors

Copy link
Member

Choose a reason for hiding this comment

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

gotcha, ty

Co-authored-by: Kyle McCormick <[email protected]>
@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@kdmccormick kdmccormick self-requested a review July 19, 2024 20:00
@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove
Copy link

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@kdmccormick
Copy link
Member

Quick tip, when bumping a package several version, you can link to whole set of changes by writing the URL https://github.com/openedx/REPO/compare/OLDVERSION...NEWVERSION

openedx/frontend-lib-content-components@v2.1.11...v2.5.1

Copy link
Member

@kdmccormick kdmccormick left a comment

Choose a reason for hiding this comment

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

I tested all three editors, and this looks good to me. Thanks Kristin!

I also verified the image paste and insert fix fix that this PR will bring in 🚀

I am going to edit your commit message when I merge to explain that we are backporting this bump in order to remove the feedback link.

@kdmccormick kdmccormick merged commit d80a681 into open-release/redwood.master Jul 23, 2024
6 checks passed
@kdmccormick kdmccormick deleted the KristinAoki/backport-frontend-lib-content-components-upgrade-2.5.1 branch July 23, 2024 14:44
bra-i-am pushed a commit to eduNEXT/frontend-app-course-authoring that referenced this pull request Aug 9, 2024
The primary purpose of this version bump backport is to remove the 2U feedback form
link from the editors (openedx/frontend-lib-content-components#476),
but several other improvements will also be pulled in:

* Fix the Text editor so that when an image is added, it is added at the cursor,
  instead of the beginning of the component.
* Improve editor load time by reducing API calls and switching some calls to be lazy.
* Align controls better in the group feedback component.
* Add validation for start & stop date fields.
* Fix image handling bugs in both the raw & visual text editors.

Full changelog: openedx/frontend-lib-content-components@v2.1.11...v2.5.1

Co-authored-by: Kyle McCormick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-sandbox open-craft-grove should create a sandbox environment from this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants