fix(web): remove Ask suggested example queries

Merged
MS
2mo ago
+3-265

Fixes SOU-2282

Remove the Ask landing page's suggested example query row and delete its dedicated component, question data, and tests. The Ask input, toolbar, repository scope, model selector, and Ask button remain unchanged.

Validation:

  • yarn workspace @sourcebot/web lint
  • yarn workspace @sourcebot/web test --run (147 files, 1503 tests passed)
  • E2E on http://localhost:3000/chat: the Ask empty state loads with no Ask questions about: label or suggestion pills. The Ask input, repository scope, model selector, and Ask control remain visible, and the Ask mode control opens its menu. No LLM-backed query was submitted because this cloud environment has no configured language model.

Ask landing page without suggested example queries

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Summary by cubic

Fixes SOU-2282 by removing the suggested example query row from the Ask landing page, along with its component, question data, and tests. Adds a changelog entry under unreleased changes. The Ask input, toolbar, repository scope, model selector, and Ask button remain unchanged.

Summary by CodeRabbit

  • Removed
    • Removed example-question prompt options and category badges from the chat landing page.
    • Chat no longer displays randomly selected example questions for users to choose from.
    • Removed the ability to insert suggested questions directly into the chat editor through these options.
  • Documentation
    • Updated the changelog to reflect the removal of suggested example queries and moved the entry to the unreleased changes.