-
Notifications
You must be signed in to change notification settings - Fork 359
[Dropdown] Create dropdown widget generator for testdata #3096
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
Conversation
… widget generator for testdata
…eric input widget generator for testdata
…meric-input-generator
…et generator for testdata
🗄️ Schema Change: No Changes ✅ |
🛠️ Item Splitting: No Changes ✅ |
|
Size Change: +45 B (+0.01%) Total Size: 498 kB
ℹ️ View Unchanged
|
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (c987004) and published it to npm. You Example: pnpm add @khanacademy/perseus@PR3096If you are working in Khan Academy's frontend, you can run the below command. ./dev/tools/bump_perseus_version.ts -t PR3096If you are working in Khan Academy's webapp, you can run the below command. ./dev/tools/bump_perseus_version.js -t PR3096 |
…meric-input-generator
…meric-input-generator
catandthemachines
left a comment
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.
Looks great! Thanks Nisha!
| }; | ||
|
|
||
| // Helper function to create dropdown question data | ||
| function createDropdownQuestion(config: { |
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! Less code!
Summary:
Create a generator for the Dropdown widget to make testdata easier to read and write.
Issue: https://khanacademy.atlassian.net/browse/LEMS-3771
Test plan:
pnpm jest