Skip to content

fix(citations): show competitor name in select trigger instead of id - #344

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
d180:fix/competitor-select-shows-name
Jul 6, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
d180:fix/competitor-select-shows-name

Conversation

@d180

@d180 d180 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

On the Citations page → Competitor Gaps → By competitor view, the competitor
dropdown trigger was displaying the competitor's UUID instead of its name after
selection. Added a render function to SelectValue that maps the selected id
to the competitor's name — the same pattern already used by the Platform and
Topic selects on the same page.

Related issue

Closes #328

Type of change

  • fix — Bug fix

Checklist

  • Branch follows the naming convention (feature/, fix/, chore/, docs/) — see CONTRIBUTING.md
  • Commits follow Conventional Commits
  • yarn lint passes (run from web/)
  • yarn typecheck passes (run from web/)
  • yarn format:check passes (run from web/)
  • Changes are focused — one concern per PR

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.

In the meantime, two things that make review faster:

  • A short description of why the change matters, not just what it does — most of our PRs link a Fixes #... to the issue that explains the why.
  • A quick local test note if there's anything worth eyeballing in the browser.

If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.

@gkhngyk
gkhngyk merged commit 115b46c into ansvisor:main Jul 6, 2026
4 checks passed
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.

fix(citations): Competitor Gaps 'By competitor' selector shows the competitor id instead of its name

2 participants