Skip to content

Conversation

@jadecarino
Copy link
Member

@jadecarino jadecarino commented Jan 22, 2026

Why?

Contributes to galasa-dev/projectmanagement#2485

Changes

  • Adds a persistent toolbar to the test runs table to allow users to filter table data with a search text bar.
  • The filter will update on each change of the search text, i.e., every new character typed/deleted.
  • Users can filter by fields of a run that are currently visible, i.e., if the Bundle is dev.galasa.zos and the Test Name is CICSTest, but the Bundle is not visible in the table, the filter will match on CICS but not zos.
  • Filter will search across the whole dataset in the table and collapse into the pages sizes, and also update the 'total' number in the pagination bar.
  • Table is set back to page 1 when the filter is updated to avoid this situation: a filter with 6 pages of data, the user is on page 6, and then when a new filter is added with only 2 pages of data, the user has to scroll back through 4 empty pages.

Note:

  • This is the first part of the story to make it quicker and easier to search by Run Name. Another PR will follow with a new dedicated search box that is visible at the top of the Test Runs page where users can search by Run Name only.

… the data in the table by search text

Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
…red, rather than filtering page by page

Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
@James-Cocker
Copy link
Contributor

Summary of thoughts on functionality: Condensing down the data works perfectly, however it looks like the custom search logic slightly breaks down at the datetime and tags fields as it is searching on strings that don't quite match what's visible in the table.

…setting up runFields object which was duplication

Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
…to fix performance issues

Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
Copy link
Contributor

@James-Cocker James-Cocker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@jadecarino jadecarino merged commit 47b7f11 into galasa-dev:main Jan 23, 2026
5 checks passed
@jadecarino jadecarino deleted the iss2485-search-by-runname branch January 23, 2026 22:34
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.

2 participants