-
Notifications
You must be signed in to change notification settings - Fork 2
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
UI Hotfixes + Tweaks #106
UI Hotfixes + Tweaks #106
Conversation
…ific types on units
Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
Issues linked to changelog: |
onChange={(value: RateLimitUnit | null) => { | ||
if (!!value) { | ||
setUnit(value); | ||
} | ||
}} |
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.
This was mostly a readability change. In the UI codebase (both here and GME), we try to be explicit when checking variable truthiness by converting it to a boolean first, like this (!!value
is the same as Boolean(value)
).
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.
Thanks for the PR, great updates! 🎉
Thanks to Nick, validated on gg portal
main
branch build following the instructions to kill4000
and run themake ui
command.need to verify creating new subscription doesn't break ui when no rate limit is set (that UNKNOWN works as expected)
Screen.Recording.2024-10-21.at.3.05.36.PM.mov
BOT NOTES:
resolves https://github.com/solo-io/solo-projects/issues/7038