Skip to content

UX: Group multiple consecutive web search cards into a single collapsible container #764

Description

@403errors

When a query triggers multiple sequential web searches, the UI generates a separate UI card for every single query executed. As seen in the attached screenshot, this creates significant visual clutter, unnecessarily stretches the vertical length of the chat history, and disrupts the overall user experience.

Solution
Instead of rendering individual cards for every search, consecutive web searches should be batched or grouped into a single, unified "Web Search" container.

  • The parent container can show an aggregated status (e.g., "Searching the web... (4 queries)").
  • Expanding the container should reveal the list of individual search queries executed.

Steps to reproduce

  1. Enter a complex prompt that requires multi-hop verification or multiple separate search terms.
  2. Observe the chat output rendering individual, repetitive "Web search" cards stacked vertically.

Visual Evidence
Image

Suggested UX Improvements

  • Collapsible Accordion: Wrap all concurrent/consecutive searches into one accordion component.
  • Compact Styling: If keeping them separate, reduce the padding, margins, and border footprints for consecutive cards so they look like a single connected timeline or list.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions