Skip to content

Prompts: move the Prompt Suggestions card to the top of the All Prompts tab #461

Closed

Description

@gkhngyk

Problem

The Prompt Suggestions card (SuggestionsCard) lives on the Prompts page's Insights tab, where it's easy to miss. Suggestions are "prompts you could track" — they belong next to the list they would join, on the All Prompts tab, which is becoming the prompt management hub (see #460's Add prompt button). Internal feedback asked for exactly this.

Fix

In web/src/app/[locale]/(dashboard)/dashboard/prompts/page.tsx:

Acceptance criteria

  • The All Prompts tab shows the Prompt Suggestions card above the table; the Insights tab no longer renders it.
  • Adding a suggestion still inserts it into the tracked list below and refreshes it.
  • /dashboard/prompts?tab=all#prompt-opportunities scrolls to the card, including on a cold page load.
  • The Insights tab's remaining sections (volumes, similar topics, high-opportunity prompts) render unchanged.

Getting started

See CONTRIBUTING.md for setup. From web/, yarn lint, yarn typecheck and yarn format:check must pass. Comment here to claim the issue before opening a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions