Skip to content

feat(citations): show You in ink and Social in rose, and take violet out of Action Center badges - #1221

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:feature/brand-badge-colors
Oct 20, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:feature/brand-badge-colors

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Follows #1217 (chart colors) and #1220 (Mentions highlight): the last violet on Citations and Action Center goes, in line with the brand colors.

Citations

  • You (your own sources) was indigo in the category badges (source-cells.tsx), the category chart (CATEGORY_COLORS) and the URL page's Owned badge. It now uses the theme's primary — ink: black on light, near-white on dark — the way Mentions marks your brand.
  • Social moves from purple to rose (#f43f5e in the chart, rose-* in the badge), so no two categories look alike and none is violet.

Action Center

  • The In progress status badge: indigo → teal.
  • The Compete history type badge: violet → sky.

Colors only; no text, data or behavior changes.

Related issue

None. Requested by the product owner after #1217 and #1220.

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

How to test

  1. Open Citations, preset All. Pick a prompt in the filter, so the page reads raw rows rather than the daily rollups.
  2. Check the category badges in the Sources table and the category chart:
    • You is ink: black in light mode, near-white in dark mode;
    • Social is rose.
  3. Open a URL that is one of yours (/dashboard/citations/url?…). The Owned badge is ink.
  4. Open Action Center:
    • set an action to In progress: its badge is teal;
    • on the History tab, a Compete item is sky.
  5. Repeat in dark mode, and at 1024 px.

Checked locally in light and dark mode at 1440 and 1024 px.

Note: citations/page.tsx is also touched by #1218, on different lines (CATEGORY_COLORS here, the Domains tab count there). They should merge cleanly in either order.

Checklist

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

Also run: yarn test (1702 passed) and yarn build with the CI placeholder env.

🤖 Generated with Claude Code

…out of Action Center badges

The Citations category badges, the category chart and the URL page's
"Owned" badge marked your own sources in indigo; they now use the theme's
primary (ink), as Mentions marks your brand. Social moves from purple to
rose. In Action Center, the "In progress" status turns teal and the
"Compete" history type sky, so neither page shows violet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cihan-gyk

Copy link
Copy Markdown
Collaborator Author

@gkhngyk This is the last of the color passes, after #1217 and #1220. It is colors only, across 5 files:

  • Citations: "You" and "Owned" are now ink (primary), as in Mentions; Social is rose.
  • Action Center: In progress is teal, Compete is sky.

It touches citations/page.tsx like #1218 does, but on different lines, so the two should merge cleanly in either order. Could you take a look when you have a moment?

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Checked on main with #1217, #1218 and #1220: web tests pass, and the category chart's var(--primary) fill works in recharts.

@gkhngyk
gkhngyk merged commit e288fcd into ansvisor:main Oct 20, 2026
6 checks passed
gkhngyk pushed a commit that referenced this pull request Oct 20, 2026
The Similar Topics card on the Prompts page's Insights view drew its
bars in indigo, one of the last violet-blue accents after #1217, #1220
and #1221 moved the charts and badges to the brand's colors. They now
use bg-foreground/60, the gray the Mentions and Insights share bars
already use: dark gray on light, light gray on dark.

Co-authored-by: Cihan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants