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

Bed 5444 search type on tab change #1166

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

benwaples
Copy link
Contributor

@benwaples benwaples commented Feb 24, 2025

Description

Sets searchType on tab change of explore search tab and sets the initial tab on first render if searchType is one of the 3 tabs.

Motivation and Context

This PR addresses: BED-5444

Matches current functionality on tab change where we refetch the search of that tab. And allows for having the activeTab of the explore search tab header supported via deep linking.

How Has This Been Tested?

added unit tests and manual tests

Enable deepLinking browser mocks to test manually

Screenshots (optional):

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

@benwaples benwaples self-assigned this Feb 24, 2025
@benwaples benwaples added enhancement New feature or request user interface A pull request containing changes affecting the UI code. labels Feb 24, 2025
@benwaples benwaples marked this pull request as ready for review February 24, 2025 21:21
@@ -0,0 +1,214 @@
// Copyright 2023 Specter Ops, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new files should reflect the year they were created for this license

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Woah nice catch! This is because I c/p from the OG file. Ill get this updated. Thanks!

@@ -0,0 +1,225 @@
// Copyright 2023 Specter Ops, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: new files should reflect the year they were created for this license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user interface A pull request containing changes affecting the UI code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants