-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat(LEMS-2272): Add scientific notation button to the first tab of expression widget #1738
feat(LEMS-2272): Add scientific notation button to the first tab of expression widget #1738
Conversation
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
Size Change: +74 B (+0.01%) Total Size: 1.27 MB
ℹ️ View Unchanged
|
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (c733c2f) and published it to npm. You Example: yarn add @khanacademy/perseus@PR1738 If you are working in Khan Academy's webapp, you can run: ./dev/tools/bump_perseus_version.sh -t PR1738 |
@anakaren-rojas is this PR still needed? If not, can you close it? :) |
@benchristel yes, ill create a znd for it this week and then close it out |
Waiting on playtest and content approval before landing or closing |
Will have a playtest next week |
…to-basic-keypad' into LEMS-2272-add-scientific-option-to-basic-keypad
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.
This looks great! Thanks for adding this in and remember to await till holiday lockdown is over till landing in main. 😉
import type {UserEvent} from "@testing-library/user-event"; | ||
|
||
const allButtonSets = { | ||
const allButtonSets: KeypadButtonSets = { |
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.
Yay! Thanks for adding typing. <3
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/math-input@22.1.0 ### Minor Changes - [#1738](#1738) [`dbbc82f2d`](dbbc82f) Thanks [@anakaren-rojas](https://github.com/anakaren-rojas)! - add scientific notation button / toggle to basic keypad ## @khanacademy/perseus@49.2.0 ### Minor Changes - [#1990](#1990) [`37c642f24`](37c642f) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - Allow keyboards to navigate and interact with images - [#1738](#1738) [`dbbc82f2d`](dbbc82f) Thanks [@anakaren-rojas](https://github.com/anakaren-rojas)! - add scientific notation button / toggle to basic keypad ### Patch Changes - [#2061](#2061) [`d8b2f7eaf`](d8b2f7e) Thanks [@anakaren-rojas](https://github.com/anakaren-rojas)! - update terminology for angle sides - [#2071](#2071) [`bac10129b`](bac1012) Thanks [@SonicScrewdriver](https://github.com/SonicScrewdriver)! - This patch fixes our Perseus strings to ensure that they are double escaped for Lingui. - [#1952](#1952) [`617377147`](6173771) Thanks [@benchristel](https://github.com/benchristel)! - Internal: add and pass more regression tests for PerseusItem parser - [#2059](#2059) [`53ba9f5d1`](53ba9f5) Thanks [@mark-fitzgerald](https://github.com/mark-fitzgerald)! - [Dropdown] Bugfix - Text in dropdown was shifted up after adding TeX support via Renderer - Updated dependencies \[[`dbbc82f2d`](dbbc82f)]: - @khanacademy/math-input@22.1.0 ## @khanacademy/perseus-editor@17.1.0 ### Minor Changes - [#1738](#1738) [`dbbc82f2d`](dbbc82f) Thanks [@anakaren-rojas](https://github.com/anakaren-rojas)! - add scientific notation button / toggle to basic keypad ### Patch Changes - Updated dependencies \[[`d8b2f7eaf`](d8b2f7e), [`bac10129b`](bac1012), [`37c642f24`](37c642f), [`617377147`](6173771), [`dbbc82f2d`](dbbc82f), [`53ba9f5d1`](53ba9f5)]: - @khanacademy/perseus@49.2.0 - @khanacademy/math-input@22.1.0 ## @khanacademy/perseus-dev-ui@5.0.10 ### Patch Changes - Updated dependencies \[[`dbbc82f2d`](dbbc82f)]: - @khanacademy/math-input@22.1.0
Summary:
Adds scientific notation button to the first tab of expression widget when added via
button sets
in expression editorIssue: LEMS-2272
Test plan:
In Expression Widget Editor, add scientific button to first tab by toggling the
scientific
option under theButton Sets
section of the editor.Expected Behavior
Shared Keys
section and subsequent tabs of expression widget do NOT have scientific notation button in theShared Keys
sectionShared Keys
section of the widgetScreen Recording:
Screen.Recording.2024-12-27.at.14.07.12.mov