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

fix(ui): resource listing ignores case #194

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

lucaseck
Copy link
Contributor

@lucaseck lucaseck commented Mar 1, 2024

What was the problem/requirement? (What/Why)

When viewing the resource lists in the UI settings they were sorted alphabetically, but case sensitive with uppercase taking priority over lowercase.

e.g. With 3 farms afarm, Bfarm, cfarm the order would be:

  • Bfarm
  • afarm
  • cfarm

What was the solution? (How)

Added casefold to the display name sort key.

What is the impact of this change?

The example above is now sorted
-afarm
-Bfarm
-cfarm

How was this change tested?

Manually viewing the farm, queue and storage profiles before and after

Was this change documented?

No

Is this a breaking change?

No, this is only a UI change

@lucaseck lucaseck requested a review from a team as a code owner March 1, 2024 00:26
@lucaseck lucaseck changed the title fix(ui): resource listing ignores case WIP: fix(ui): resource listing ignores case Mar 1, 2024
@lucaseck lucaseck force-pushed the lucaseck/case_insensitive_sorting branch from 11fa6b7 to ccb05bd Compare March 1, 2024 02:32
@lucaseck lucaseck changed the title WIP: fix(ui): resource listing ignores case fix(ui): resource listing ignores case Mar 5, 2024
Signed-off-by: Lucas Eckhardt <117225985+lucaseck@users.noreply.github.com>
@lucaseck lucaseck force-pushed the lucaseck/case_insensitive_sorting branch from ccb05bd to 3f7f8c5 Compare March 5, 2024 00:17
@lucaseck lucaseck merged commit 223026a into mainline Mar 6, 2024
18 checks passed
@lucaseck lucaseck deleted the lucaseck/case_insensitive_sorting branch March 6, 2024 22:41
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