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(availability-bar): improve availability bar dot color generation to follow logical UX/UI rules #472

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rianfloo
Copy link

@rianfloo rianfloo commented Dec 30, 2024

Description

This update refines the dot generation logic in the file availability-bar.tsx component to enhance the user experience by clearly representing GPU availability and usage.

Key Updates

• White Dots: Represent the amount of GPU available.
• Transparent Dots: Represent the amount of GPU currently rented.

Context and Reasoning

According to UI guidelines, a transparent or disabled state is typically used to represent something that is out of stock or unavailable. Using a white dot to indicate available GPUs aligns with this convention, reinforcing the expectation that these resources are available for allocation. This approach enhances both consistency and user understanding.

Before
image

After
image

@rianfloo rianfloo changed the title Improve availability bar dot generation to follow logical UX/UI rules Improve availability bar dot colors generation to follow logical UX/UI rules Dec 30, 2024
@rianfloo rianfloo changed the title Improve availability bar dot colors generation to follow logical UX/UI rules Improve availability bar dot color generation to follow logical UX/UI rules Dec 30, 2024
@rianfloo rianfloo changed the title Improve availability bar dot color generation to follow logical UX/UI rules feat(availability-bar): Improve availability bar dot color generation to follow logical UX/UI rules Dec 30, 2024
@rianfloo rianfloo changed the title feat(availability-bar): Improve availability bar dot color generation to follow logical UX/UI rules feat(availability-bar): improve availability bar dot color generation to follow logical UX/UI rules Dec 30, 2024
@HoomanDgtl
Copy link
Contributor

@aktdenis what are your thoughts on this.

@aktdenis
Copy link

aktdenis commented Jan 1, 2025

@HoomanDgtl agree with @rianfloo.

@rianfloo it's something we've considered and talked about in the past. thank you for contribution.

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.

3 participants