Introduces a new "workspace folder" Chip (documented here Search in Giant) which allows a user to search inside a specific folder in a workspace.
at the moment, a "workspace folder" chip can be removed but not created or edited
Adds a "search in folder" item to the context menu when a user right clicks on a folder in the workspace view. This links to the search view with a "workspace folder" chip pre-populated.
Changes to the /search endpoint to handle this new chip type. Most of the logic to filter by the blobs in a folder was introduced in https://github.com/guardian/pfi/pull/811 and is repurposed here.
How to test
[x] tested in CODE
How can we measure success?
Users will be able to search inside a folder inside a workspace.
Potential future changes
We could add the ability to create and edit workspace folder chips directly from the search page with a typeahead of workspace and folder names.
This is looking great, would be good to do a playground test just to check for any url weirdness on a proper domain but otherwise code is looking good to me
What does this change?
How to test
How can we measure success?
Users will be able to search inside a folder inside a workspace.
Potential future changes
Example
https://github.com/guardian/giant/assets/17057932/5ae08934-3080-4b0f-ae9c-8f93f3db68fd