Repository navigation
fix: [UIE-9111] - DBaaS - Database landing page shows error state after plans column is sorted. #12729
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
smans-akamai
merged 3 commits into
linode:develop
from
smans-akamai:UIE-9111-dbaas-landing-sort-crashing-fix
Aug 20, 2025
Merged
fix: [UIE-9111] - DBaaS - Database landing page shows error state after plans column is sorted. #12729
Changes from all commits
Commits
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 | ||
| --- | ||
|
|
||
| DBaaS Landing page shows filter error state after sorting by "Plan" column in table ([#12729](https://github.com/linode/manager/pull/12729)) |
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.
Does this need to stay "plan"?
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.
@corya-akamai On line 126, you'll see
Planwhich is the text that gets displayed in the column header cell. I left that as is so we still seePlanin the UI.The
labelproperty is what gets passed up and eventually used in x-filter. You can see the onClick forTableSortCellhere where it gets used.https://github.com/linode/manager/blob/develop/packages/manager/src/components/TableSortCell/TableSortCell.tsx#L46
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.
However I also see it used for the
aria-labelin TableSortCell here:https://github.com/linode/manager/blob/develop/packages/manager/src/components/TableSortCell/TableSortCell.tsx#L69
@mjac0bs Though "type" and "plan" refer to the same field, does the
aria-labelneed to mirror the actual text we're seeing in the UI?If so, then I'll need to reach out to UX to see if we want to make this change to the actual text that gets displayed.
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.
As Sam said, it does need to be consistent with the actual filter on the backend and this statement in the PR description isn't correct/maybe was not removed as intended:
As for the aria-label, I think you're fine - there are plenty of other spots that handle the Plan/Type column with the aria-text slightly differing. (you can see them by searching
active={orderBy === 'type'}).