Skip to content

feat(shopping): show provider logos instead of raw platform slugs in product tables #398

Closed

Description

@gkhngyk

Problem

On /dashboard/shopping, the Competitors tab (and the Own Products tab — they share the same table component) renders the platform column as raw scraper slugs in plain badges, e.g. copilot-web:

Meanwhile the Card-eligible Prompts tab on the same page already does this right (~line 589): it renders provider logos via AIProviderAvatar + resolveAIProvider(p), and its detail view (~line 654) pairs the avatar with getAIProviderDisplayName(...).

Same page, two different presentations of the same concept.

Proposal

Apply the card-eligible prompts tab's system to the product tables:

  • In ProductTable's platforms cell, replace the slug badges with AIProviderAvatar icons (resolveAIProvider(plat)), matching the ~line 589 pattern (h-5 w-5 border, wrapped in a small flex row).
  • In ProductAppearancesDrawer, replace the slug badge with the avatar + getAIProviderDisplayName(...) pair, matching the ~line 654 pattern.
  • The helpers are already imported in this file (lines 85–86), so no new imports beyond getAIProviderDisplayName if missing in scope.

Acceptance criteria

  • Competitors and Own Products tables show provider logos instead of raw slugs like copilot-web
  • The appearances drawer shows logo + human-readable provider name
  • Rendering matches the card-eligible prompts tab (same avatar component and sizing)
  • Unknown/unmapped platforms still render something sensible (whatever resolveAIProvider falls back to)

Activity

  1. added
    enhancement
    good first issue
    on Jul 10, 2026
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