-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Mafs to v0.19.0 (Domain-restricted functions) (#1451)
## Summary: With this upgrade, Mafs now supports domain restrictions when plotting functions. Once this upgrade is in place, locked functions will have domain restrictions as an option. Issue: LEMS-2140 ## Test plan: 1. Launch Storybook (yarn start) 1. Navigate to Perseus => Widgets => Interactive Graph => Locked Functions * [Minimum domain](http://localhost:6006/?path=/story/perseus-widgets-interactive-graph-locked-functions--domain-restricted-min): Starts at x=-5 and plots all values greater (i.e. to the right). * [Maximum domain](http://localhost:6006/?path=/story/perseus-widgets-interactive-graph-locked-functions--domain-restricted-max): Ends at x=5 and plots all values less than (i.e. to the left). * [Combined restrictions](http://localhost:6006/?path=/story/perseus-widgets-interactive-graph-locked-functions--domain-restricted-both): Starts at x=-5 and ends at x=5 and plots values in between. ## Expected Outcomes: **Minimum domain:** ![Minimum domain](https://github.com/user-attachments/assets/2227accd-067a-40f9-b1cc-55bc53ddee86) **Maximum domain:** ![Maximum domain](https://github.com/user-attachments/assets/888c19ad-8ce6-4b3c-97be-89e7a4adfa69) **Combined restrictions:** ![Combined restrictions](https://github.com/user-attachments/assets/bdac1da4-c226-44f8-b7df-d556cd34ddea) Author: mark-fitzgerald Reviewers: benchristel, nishasy Required Reviewers: Approved By: benchristel, nishasy Checks: ✅ codecov/project, ✅ codecov/patch, ✅ Upload Coverage (ubuntu-latest, 20.x), ✅ Publish npm snapshot (ubuntu-latest, 20.x), ✅ Cypress (ubuntu-latest, 20.x), ✅ Jest Coverage (ubuntu-latest, 20.x), ✅ Check builds for changes in size (ubuntu-latest, 20.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 20.x), ✅ gerald Pull Request URL: #1451
- Loading branch information
1 parent
7e71f8e
commit 9bc4812
Showing
6 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@khanacademy/perseus": minor | ||
--- | ||
|
||
Upgrade Mafs Dependency to v0.19.0 for Domain Restricted Functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters