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

🐛 Broken search string when navigating from deps page (#1662) #1668

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jan 19, 2024

Resolves: https://issues.redhat.com/browse/MTA-2007
Resolves: https://issues.redhat.com/browse/MTA-2056
Backport of #1662

  • Removes the auto applied search string when direct navigating using
    the side nav. This was applying filters that were not registered within
    the application table ( & other tables). I.E when navigating from the
    dependencies page, the search string was including an
    "applications.name" filter which is just referenced as "name" within the
    applications table. Future iterations may allow us to rewrite the search
    string when navigating between pages or standardizing on a specific key
    for app names on the back end.
  • Adds the ability to parse the url string for initial search values in
    the dependencies toolbar.
  • Adds associated clear filters handler to clear the url when the
    toolbar clear button is pressed. This is necessary to overwrite the
    initial filter values. Implemented this in dependencies page &
    applications table. There may be a need to incorporate this into filter
    toolbar at some point.

Signed-off-by: ibolton336 [email protected]
Co-authored-by: Scott Dickerson [email protected]

Resolves [[Dependencies]Application inventory page shows no applications
once Accessed from
dependencies](https://issues.redhat.com/browse/MTA-2007)
Resolves https://issues.redhat.com/browse/MTA-2056

- Removes the auto applied search string when direct navigating using
the side nav. This was applying filters that were not registered within
the application table ( & other tables). I.E when navigating from the
dependencies page, the search string was including an
"applications.name" filter which is just referenced as "name" within the
applications table. Future iterations may allow us to rewrite the search
string when navigating between pages or standardizing on a specific key
for app names on the back end.
- Adds the ability to parse the url string for initial search values in
the dependencies toolbar.
- Adds associated clear filters handler to clear the url when the
toolbar clear button is pressed. This is necessary to overwrite the
initial filter values. Implemented this in dependencies page &
applications table. There may be a need to incorporate this into filter
toolbar at some point.

Signed-off-by: ibolton336 <[email protected]>
Co-authored-by: Scott Dickerson <[email protected]>
Signed-off-by: ibolton336 <[email protected]>
@ibolton336 ibolton336 force-pushed the cherry-pick-pr1662-release-0.3 branch from 6a3c334 to f1ae86d Compare January 19, 2024 22:07
@sjd78 sjd78 self-requested a review February 9, 2024 19:18
Copy link
Member

@sjd78 sjd78 left a comment

Choose a reason for hiding this comment

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

lgtm

@ibolton336 ibolton336 merged commit 6aa6f68 into release-0.3 Feb 12, 2024
7 checks passed
@ibolton336 ibolton336 deleted the cherry-pick-pr1662-release-0.3 branch February 12, 2024 20:44
ibolton336 added a commit that referenced this pull request Feb 12, 2024
Resolves: https://issues.redhat.com/browse/MTA-2007
Resolves: https://issues.redhat.com/browse/MTA-2056
Backport of #1662 

- Removes the auto applied search string when direct navigating using
the side nav. This was applying filters that were not registered within
the application table ( & other tables). I.E when navigating from the
dependencies page, the search string was including an
"applications.name" filter which is just referenced as "name" within the
applications table. Future iterations may allow us to rewrite the search
string when navigating between pages or standardizing on a specific key
for app names on the back end.
- Adds the ability to parse the url string for initial search values in
the dependencies toolbar.
- Adds associated clear filters handler to clear the url when the
toolbar clear button is pressed. This is necessary to overwrite the
initial filter values. Implemented this in dependencies page &
applications table. There may be a need to incorporate this into filter
toolbar at some point.

Signed-off-by: ibolton336 <[email protected]>
Co-authored-by: Scott Dickerson <[email protected]>

Signed-off-by: ibolton336 <[email protected]>
Co-authored-by: Ian Bolton <[email protected]>
Co-authored-by: Scott Dickerson <[email protected]>
ibolton336 added a commit that referenced this pull request Feb 12, 2024
Resolves: https://issues.redhat.com/browse/MTA-2007
Resolves: https://issues.redhat.com/browse/MTA-2056
Backport of #1662

- Removes the auto applied search string when direct navigating using
the side nav. This was applying filters that were not registered within
the application table ( & other tables). I.E when navigating from the
dependencies page, the search string was including an
"applications.name" filter which is just referenced as "name" within the
applications table. Future iterations may allow us to rewrite the search
string when navigating between pages or standardizing on a specific key
for app names on the back end.
- Adds the ability to parse the url string for initial search values in
the dependencies toolbar.
- Adds associated clear filters handler to clear the url when the
toolbar clear button is pressed. This is necessary to overwrite the
initial filter values. Implemented this in dependencies page &
applications table. There may be a need to incorporate this into filter
toolbar at some point.

Signed-off-by: ibolton336 <[email protected]>
Co-authored-by: Scott Dickerson <[email protected]>

Signed-off-by: ibolton336 <[email protected]>
Co-authored-by: Ian Bolton <[email protected]>
Co-authored-by: Scott Dickerson <[email protected]>
Signed-off-by: ibolton336 <[email protected]>
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