Skip to content

feat(docs): tag filter in search and tag display on request pages (BRU-4028) - #60

Open
sundram-bruno wants to merge 3 commits into
usebruno:mainfrom
sundram-bruno:feat/bru-4028-docs-tag-filter
Open

feat(docs): tag filter in search and tag display on request pages (BRU-4028)#60
sundram-bruno wants to merge 3 commits into
usebruno:mainfrom
sundram-bruno:feat/bru-4028-docs-tag-filter

Conversation

@sundram-bruno

@sundram-bruno sundram-bruno commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

JIRA: BRU-4028

Readers can now filter the search palette by tags: the folder dropdown is replaced with a multi-select Tags filter that narrows results to items carrying every selected tag, working alongside the text query and method chips. Tags inherited from ancestor folders count for filtering, and collections without tags show no filter at all.

Request pages (HTTP, GraphQL and gRPC) now display the request's tags in a Tags section below the code snippet; folder and overview pages show their tags too once the data carries them. Tags are read from both the info block and legacy root-level fields, so hand-edited collections work.

Screen.Recording.2026-08-26.at.6.43.22.PM.mov

…U-4028)

Replaces the search palette's folder dropdown with a multi-select tag
filter (a record must carry every selected tag) and shows an item's tags
on the request, folder and overview pages. Tags are read from both the
info block and legacy root-level fields, and requests inherit their
ancestor folders' tags for filtering.

Also fixes descender clipping in shared dropdown options and adds the
missing vertical gap between stacked right-column sections.
Trim and dedupe tags at the source so hand-edited files cannot produce
duplicate chips or whitespace-distinct filter entries. Mark the tag
filter listbox as multi-select for assistive technology, style the
overview tag row, and replace the order-dependent tag trigger locator
with a derived test id. Tag page tests get their own describe and POM
locator, and the search suite now covers tag-filtered typed queries and
the Clear all reset.
@sundram-bruno
sundram-bruno force-pushed the feat/bru-4028-docs-tag-filter branch from 25d2930 to 5903a09 Compare August 25, 2026 20:46
Comment thread packages/bruno-api-docs/e2e/components/search/search.component.ts Outdated
Comment thread packages/bruno-api-docs/src/components/Search/TagFilter/TagFilter.spec.tsx Outdated
Comment thread packages/bruno-api-docs/src/components/Tags/StyledWrapper.ts Outdated
Comment thread packages/bruno-api-docs/src/utils/schemaHelpers.ts Outdated
Comment thread packages/bruno-api-docs/src/components/Search/searchIndex.ts
Comment thread packages/bruno-api-docs/src/pages/Folder/Folder.tsx
Request pages now display tags inherited from ancestor folders as muted
chips with an inherited-count badge, matching how inherited auth and
headers are presented. Tag casts follow the string[] contract the Bruno
app saves, the tag menu and trigger expose derived test ids, the tag
filter listbox is announced as multi-select, and the new specs render
through useRenderToDom.

Also fixes two surfaced bugs: graphql requests were absent from search
records entirely (own nav page type was never indexed), and the gRPC
page swallowed tags when the request had no other configuration. The
testbench now covers chained inheritance, mixed own/inherited chips,
own-over-inherited dedupe, tagged websockets and collection-level tags.
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