Skip to content

fix: update mapToStateProps to match changes in TinyMceWidget - #1133

Merged
KristinAoki merged 3 commits into
masterfrom
KristinAoki/update-mapStateToProps-attributes
Jun 27, 2024
Merged

fix: update mapToStateProps to match changes in TinyMceWidget#1133
KristinAoki merged 3 commits into
masterfrom
KristinAoki/update-mapStateToProps-attributes

Conversation

@KristinAoki

Copy link
Copy Markdown
Contributor

Description

This PR fixes pages throwing errors when the WysiwygEditor used due to the redux state variable used in the child TinyMceWidget.

Supporting information

JIRA Ticket: TNL-11665 🔒

The Updates feature in Studio (content > Updates) is giving an “unexpected application error” when course teams click the “+ New update” button. This is blocking course teams from communicating with their learners.

Testing instructions

  1. Navigate to the Course Updates page
  2. Confirm that existing updates and handouts load
  3. Click "+ New update"
  4. Confirm that editor loads
  5. Add content and click "Post"
  6. Click the edit button for an update
  7. Confirm that the editor loads
  8. Click "Cancel"
  9. Click the edit button for handouts
  10. Confirm that the editor loads
  11. Click "Cancel"
  12. Navigate to the Schedule and details page
  13. Confirm that the page loads as expected

Other information

This PR is dependent on frontend-lib-content-components #489. The package upgrade generated by #489 will be included in this PR

@KristinAoki
KristinAoki requested a review from a team as a code owner June 26, 2024 23:10
@codecov

codecov Bot commented Jun 26, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.66%. Comparing base (a4859d2) to head (e6f8f53).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1133   +/-   ##
=======================================
  Coverage   92.66%   92.66%           
=======================================
  Files         696      696           
  Lines       12368    12369    +1     
  Branches     2701     2707    +6     
=======================================
+ Hits        11461    11462    +1     
  Misses        875      875           
  Partials       32       32           

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants