-
Notifications
You must be signed in to change notification settings - Fork 23
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
Show unit types on frontend components #3331
base: main
Are you sure you want to change the base?
Show unit types on frontend components #3331
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@michaeldickens is attempting to deploy a commit to the Quantified Uncertainty Team on Vercel. A member of the Team first needs to authorize it. |
a04e152
to
0865846
Compare
Thoughts on this PR:
|
Note: The base should be
type-checking
but that branch only exists on my fork, not onquantified-uncertainty/squiggle
. The actual diff for this PR is: https://github.com/quantified-uncertainty/squiggle/pull/3331/files/88342c0d4186264e5c7eddad5594b12c5cdbfadc..f8a27ba36221ca116d5a3ca85604e5a6bd6a725fThis PR sets explicit and inferred unit types onto variables as decorators and displays unit types on the
SquigglePlayground
component.The UI currently looks like this:
With expanded display:
With multiple variables: