-
Notifications
You must be signed in to change notification settings - Fork 407
fix: [UIE-10285] - Advanced Config field tooltip error #13465
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
Merged
hana-akamai
merged 2 commits into
linode:develop
from
hana-akamai:UIE-10285-advanced-config-field-tooltip-error
Mar 17, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@linode/manager": Fixed | ||
| --- | ||
|
|
||
| Database Advanced Config field tooltip error ([#13465](https://github.com/linode/manager/pull/13465)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
Allow any value and let user agent round to the nearest value https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number#step
Uh oh!
There was an error while loading. Please reload this page.
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.
Does every numeric field for advanced configuration not accept floats? If so, then would this cause it to round behind the scenes every time or only in certain cases? As an alternative, would it make sense to provide an inline error when floats are provided to the input like we do with some of the other validation?
Since this would apply the change to all the number and integer fields in the config response I was curious about the behavior.
Uh oh!
There was an error while loading. Please reload this page.
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.
It looks like it does throw this type of validation error when I reduce the value for
group_concat_max_lento900719925474099.6so maybe this is an issue with the size of the number and the validation?From the schema, it looks like the
integerfields are set up to throw validation errors for floats whileNumberfields won't. Would this rounding behavior only get applied to theintegerfields?Uh oh!
There was an error while loading. Please reload this page.
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 couldn't find any
numberconfig fields forMySQLclusters, so I tested this with one inPostgreSQL.I used
shared_buffers_percentagethat has the highest max value I could find at60and decimal values were being provided as expected. I'm not sure why the integer validation isn't being applied in the original case, but this doesn't seem to effect the behavior fornumberfieldsThere 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.
@smans-akamai seems like the integer validation isn't being applied in the original case because
9007199254740991is the maximum safe integer value in JavaScript. So very large values are throwing the validation off. Don't think there's anything we can really do about thatThere 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 see! This sounds like a limitation issue then. I'm not sure how we can address this, but the updated rounding behavior does seem to prevent the tooltip error for the issue.