Skip to content
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

Merged
merged 7 commits into from
Dec 5, 2024
Merged

feat: ui.meter #1032

merged 7 commits into from
Dec 5, 2024

Conversation

ethanalvizo
Copy link
Contributor

@ethanalvizo ethanalvizo commented Nov 22, 2024

Closes #939

IMPORTANT: Variant prop is not working. Need to upgrade to newer version of spectrum. Covered in this web-client-ui PR

@ethanalvizo ethanalvizo self-assigned this Nov 22, 2024
@ethanalvizo ethanalvizo marked this pull request as ready for review November 26, 2024 21:52
mofojed
mofojed previously approved these changes Nov 27, 2024
key: str | None = None,
) -> Element:
"""
Meters visually represent a quantity or achievement, with their progress driven by user actions instead of system actions.
Copy link
Member

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.

Copy link
Contributor Author

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

mofojed
mofojed previously approved these changes Nov 29, 2024
@ethanalvizo ethanalvizo merged commit 6730aa9 into deephaven:main Dec 5, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui.meter
3 participants