Skip to content

Add HPC related filters to search page#469

Merged
hholb merged 3 commits into
stagingfrom
hholb/hpc-search-filters
Nov 5, 2025
Merged

Add HPC related filters to search page#469
hholb merged 3 commits into
stagingfrom
hholb/hpc-search-filters

Conversation

@hholb

@hholb hholb commented Nov 5, 2025

Copy link
Copy Markdown
Member

Resolves: #465

This PR add filters to the search page to allow filtering gardens by whether they have HPC functions or not (as well as modal functions), and if any HPC functions are associated with an endpoint, gardens can be filtered by endpoint as well.

Screen.Recording.2025-11-05.at.12.48.24.PM.mov

All of the new filtering logic lives client-side. I figure in this case it was easier and cleaner to do this on the client since sending a new search request just to filter by function type is a bit overkill when we can easily pull out gardens with hpc or modal functions easily once we get the results of the text search. This does mean I had to add some logic to update the facet counts we get from the backend once the local filtering has been applied, but its not too much work.

Testing

Manually

@hholb hholb marked this pull request as ready for review November 5, 2025 19:54

@WillEngler WillEngler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's ship it!

@hholb hholb merged commit f05bbfa into staging Nov 5, 2025
1 check passed
@hholb hholb deleted the hholb/hpc-search-filters branch November 5, 2025 19:56
WillEngler pushed a commit to Garden-AI/garden-frontend-staging that referenced this pull request Nov 5, 2025
* add function type to search filters

* add HPC endpoints to search filters

* pull client-side filter logic out into helpers Garden-AI/garden-frontend@f05bbfa
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.

Beef up search filters for HPC functions/endpoints

2 participants