-
Notifications
You must be signed in to change notification settings - Fork 351
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
Move getOneCorrect... to WidgetExport #1742
Conversation
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
Size Change: -46 B (-0.01%) Total Size: 866 kB
ℹ️ View Unchanged
|
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (d5986ea) and published it to npm. You Example: yarn add @khanacademy/perseus@PR1742 If you are working in Khan Academy's webapp, you can run: ./dev/tools/bump_perseus_version.sh -t PR1742 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @khanacademy/[email protected] ### Patch Changes - [#1742](#1742) [`f383d4399`](f383d43) Thanks [@handeyeco](https://github.com/handeyeco)! - Move getOneCorrectAnswerFromRubric from React components to WidgetExports - [#1732](#1732) [`c57e114f2`](c57e114) Thanks [@catandthemachines](https://github.com/catandthemachines)! - Adding Unlimited Polygon feature flag. - [#1736](#1736) [`5e30fcde8`](5e30fcd) Thanks [@handeyeco](https://github.com/handeyeco)! - Make validator files be ts instead of tsx ## @khanacademy/[email protected] ### Patch Changes - Updated dependencies \[[`f383d4399`](f383d43), [`c57e114f2`](c57e114), [`5e30fcde8`](5e30fcd)]: - @khanacademy/[email protected] Author: khan-actions-bot Reviewers: benchristel Required Reviewers: Approved By: benchristel Checks: ⏭️ Publish npm snapshot, ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Check builds for changes in size (ubuntu-latest, 20.x), ⏭️ Publish npm snapshot, 🚫 Check builds for changes in size (ubuntu-latest, 20.x), 🚫 Check for .changeset entries for all changed files (ubuntu-latest, 20.x), 🚫 Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ gerald, 🚫 Cypress (ubuntu-latest, 20.x), ✅ gerald, ⏭️ Publish npm snapshot, 🚫 Check builds for changes in size (ubuntu-latest, 20.x), 🚫 Cypress (ubuntu-latest, 20.x), 🚫 Check for .changeset entries for all changed files (ubuntu-latest, 20.x), 🚫 Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ gerald Pull Request URL: #1735
Summary:
Rather than calling a static method on a React component, move
getOneCorrectAnswerFromRubric
to theWidgetExport
object.Issue: Prework for LEMS-2387
Test plan:
Just moving some code. There were already tests and they should keep passing.