Support lowercase query string status
What does this MR do and why?
Supports valid lowercase statuses via query strings for job's filtered search.
I.E ?statuses=success
is converted to ?statuses=SUCCESS
Screenshots or screen recordings
How to set up and validate locally
- Have a project with CI and jobs with different statuses for testing.
- Visit CI/CD > Jobs
- Apply a valid query string such as
?statuses=SUCCESS
(ensure filters are applied and tokens in search reflect that) - Apply a valid lower case query string such as
?statuses=failed
- Apply an invalid query string such as
?wrong=wrong
(ensure no errors with the GraphQL query happen) - Ensure query string is updated when filtering to a new status filter
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #371558 (closed)
Edited by Payton Burdette