konveyor / tackle2-ui

Tackle (2nd generation) UI component.
Apache License 2.0
8 stars 43 forks source link

:bug: Use exact match for filtering by application name #1966

Closed rszwajko closed 5 months ago

rszwajko commented 5 months ago

Exact match ensures that active item is on page.

Example usage: /applications?activeItem=6&filters={"name":["bookserver-app"]}

Resolves: #1974

rszwajko commented 5 months ago

Before - contains-type matching

Screenshot from 2024-06-18 14-54-21

After - exact match

Screenshot from 2024-06-18 14-54-07

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.22%. Comparing base (b654645) to head (1c15dd1). Report is 177 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1966 +/- ## ========================================== + Coverage 39.20% 42.22% +3.01% ========================================== Files 146 170 +24 Lines 4857 5450 +593 Branches 1164 1325 +161 ========================================== + Hits 1904 2301 +397 - Misses 2939 3133 +194 - Partials 14 16 +2 ``` | [Flag](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/1966/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | Coverage Δ | | |---|---|---| | [client](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/1966/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `42.22% <ø> (+3.01%)` | :arrow_up: | | [server](https://app.codecov.io/gh/konveyor/tackle2-ui/pull/1966/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=konveyor#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.