-
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
Rough out UserInput type #1639
Open
handeyeco
wants to merge
51
commits into
main
Choose a base branch
from
LEMS-2328/type-get-user-input
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+657
−414
Open
Rough out UserInput type #1639
Changes from 48 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
b148d3a
categorizer
handeyeco 17cc0ac
dropdown
handeyeco ad19c03
remove dead code
handeyeco 523c23c
cs program
handeyeco 574ac1c
expression
handeyeco 1fb16ab
grapher
handeyeco b53ae37
iframe
handeyeco 8c850e4
Merge branch 'main' into LEMS-2328/type-get-user-input
handeyeco 666e962
input number
handeyeco e40d631
label image
handeyeco a8a50bd
matcher
handeyeco 0d1f1c2
matrix
handeyeco ab140d9
number-line
handeyeco 45a69cb
numeric-input
handeyeco 6133957
orderer
handeyeco 7d34ff3
plotter
handeyeco 7f6b22d
sorter
handeyeco a88dacd
table
handeyeco d91b1e7
rough out some of the complex types
handeyeco ada3dcd
type interactive-graph
handeyeco 9c88e03
merge main
handeyeco 8b98029
categorizer rubric
handeyeco bef2f4a
cs rubric
handeyeco b192ffb
dropdown rubric
handeyeco 82416bc
explanation rubric...
handeyeco c1d1024
expression rubric
handeyeco 33b4d89
Merge branch 'main' into LEMS-2328/type-get-user-input
handeyeco c6fa948
graded group
handeyeco 242df16
grapher rubric
handeyeco 86a91d9
group weirdness
handeyeco ac9bb19
input number rubric
handeyeco 7e54302
interaction rubric
handeyeco 14eab2e
interactive-graph rubric
handeyeco 7b7ed76
label image rubric
handeyeco 1affd52
matcher rubric
handeyeco 5c83c47
matrix rubric
handeyeco 0654631
forgot something
handeyeco 9909c83
molecule rubric
handeyeco 3b5dc9a
number line rubric
handeyeco 4b9deb4
numeric-input rubric
handeyeco 445f2fd
orderer rubric
handeyeco 30db17e
passage rubrics
handeyeco f759c05
phet rubric
handeyeco 3d582ad
radio rubric
handeyeco 4800998
sorter rubric
handeyeco 320dccf
table rubric
handeyeco 0072a57
some cleanup
handeyeco 55c40f2
merge main
handeyeco 228d785
merge main
handeyeco ad58a01
cleanup
handeyeco dcb4699
changeset
handeyeco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
21 changes: 0 additions & 21 deletions
21
packages/perseus/src/mixins/__tests__/widget-prop-denylist.test.ts
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I have a hunch that my request will lead down a rabbit hole of fighting TypeScript, but would it be possible to make this
Widget
type generic so that theUserInput
type would be a generic type? That way, thenumeric-input
could only legally returnPerseusNumericInputUserInput
.If 5 min of trying doesn't work, we can push that out, but it's been a thought I've often had as I worked with this
Widget
type. (the same goes for return type ofgetSerializedState
)