-
Notifications
You must be signed in to change notification settings - Fork 16
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: ui.meter #1032
feat: ui.meter #1032
Conversation
key: str | None = None, | ||
) -> Element: | ||
""" | ||
Meters visually represent a quantity or achievement, with their progress driven by user actions instead of system actions. |
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 know this is almost verbatim what React Spectrum says, but it seems odd. What do they mean by user actions instead of system actions? The first example they have is for "Storage Space".
It's fine to leave it, but I wouldn't be mad if you re-worded it to make sense (ditto in the docs). Something like:
Meters visually represent a quantity or achievement, displaying progress on a bar with a label.
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.
Agreed I wasn't sure what system actions meant either. Wanted to see if it made sense to @dsmmcken and @margaretkennedy . For now I will change to your suggestion though
Closes #939
IMPORTANT: Variant prop is not working. Need to upgrade to newer version of spectrum. Covered in this web-client-ui PR