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

Attributes: Min and max values #494

Merged

Conversation

Innders
Copy link
Member

@Innders Innders commented Jun 3, 2024

Description of changes

Instead of gt, ge, lt, le values use min and max.

When type=float give the option to toggle >, ≥, <, ≤.

Technical details

The returned attribute can not have both ge and gt at the same time (same for lt and le).

Additional context

image

@Innders Innders requested a review from martastain June 3, 2024 13:31
@Innders Innders self-assigned this Jun 3, 2024
@Innders Innders added the type: enhancement Improvement of existing functionality or minor addition label Jun 3, 2024
@Innders Innders linked an issue Jun 3, 2024 that may be closed by this pull request
@BigRoy
Copy link
Contributor

BigRoy commented Jun 3, 2024

Could you share a screenshot of the tooltip? Is the "Currently" value the the example value or the default value?

And I assume this also changes/fixes the UX for the integer attributes?

@Innders
Copy link
Member Author

Innders commented Jun 3, 2024

share a screenshot of the tooltip

image

And I assume this also changes/fixes the UX for the integer attributes?

Integer is the same except those buttons are hidden because it will always be ≥ or ≤

@BigRoy
Copy link
Contributor

BigRoy commented Jun 3, 2024

≥ or ≤

Are you making smileys!?
Anyway, visually looks good to me.

@Innders Innders merged commit 404dc67 into develop Jun 5, 2024
@Innders Innders deleted the 479-Attributes-Make-greater-than-fields-more-human-friendly branch June 5, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attributes: Make greater than fields more human friendly
2 participants