Skip to content

chore(web): call the sidebar's Visibility item Brand Visibility - #1584

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:chore/brand-visibility-label
Oct 27, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
cihan-gyk:chore/brand-visibility-label

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

The sidebar's Visibility item is now Brand Visibility. Product Visibility (Shopping) sits beside it, and "Visibility" alone read as if it covered both. The user asked for it.

  • web/messages/en.json: nav.insights is "Brand Visibility". The sidebar, and the onboarding preview that reads the same key, show it.
  • docs/guides/prompts.mdx: three mentions of "the Visibility page's Opportunities" now say "the Brand Visibility page's Opportunities".

Left as they are, since they name the Visibility metric (the AI Visibility Score), not the page:

  • the KPI and column labels;
  • the Action Center's categories;
  • Reports.

The page's own title ("Answer Engine Insights") is unchanged too.

Like #1122 (AI Referral Traffic), it's the label only: the route (/dashboard/insights) stays.

Related issue

None. User request.

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

Open the app. In the sidebar under Analytics, the first item reads Brand Visibility and still opens /dashboard/insights.

Checked in the browser at 1024 px, light and dark.

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

Also run in web/: yarn format, yarn lint (0 errors), yarn typecheck, yarn test (4,126 tests) and yarn build. No test reads the old label.

🤖 Generated with Claude Code

Product Visibility (Shopping) sits beside it, so the brand's page says
whose visibility it shows. Label only, as ansvisor#1122: the route and the
Visibility metric's labels stay; the Prompts guide's three mentions of the
page follow.

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

mintlify Bot commented Oct 27, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 0ae4e23.

Approve preview

@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.

Looks good, with follow-ups.

What I checked:

  • Where nav.insights shows. Every place reads it through getDashboardNavLabel or t('insights'), so all of them now say "Brand Visibility":
    • the sidebar (sidebar.tsx:359), including the collapsed sidebar's tooltip and the locked state;
    • the mobile menu (mobile-nav.tsx:111);
    • the onboarding preview: its sidebar item (dashboard-preview.tsx:109) and its page heading (:122).
    • Nothing else uses the key. There are no breadcrumbs, and no page metadata names the page. The page's own title stays "Answer Engine Insights", and the route stays.
  • It fits. At 13 px, "Brand Visibility" is about 100 px wide, well within the 240 px sidebar beside the icon, even with the locked state's plan badge. If it ever overflowed, the row would truncate it.
  • Tests. dashboard-navigation.test.ts uses a fake translator (nav.${key}), so the label never reaches it. No test renders the sidebar, the mobile menu or the preview, and none reads nav.insights or matches the item's "Visibility". I read them but didn't run them. CI's web job passed.
  • Docs. The three prompts.mdx edits name the page. The mentions of the metric are right to stay.
  • Merge. One commit on 55b49e7 (main), so it merges as is.
  • Before the API deploy. Web only, one string. Nothing depends on the API.

Follow-up:

  1. A few places still name the page "Visibility" or "Insights", so the sidebar and these now disagree:
    • web/messages/en.json:149, actionCenter.firstRun.link: "Follow it on Visibility". It links to /dashboard/insights (first-run-note.tsx:93-96).
    • en.json:1629 and :1632, Getting started's steps.visibility.open and how[0]: "Open Visibility". Maybe also its title, "See where you stand in Visibility" (:1627), and docs/guides/action-center.mdx:26, which repeats it.
    • docs/quickstart.mdx:24: "head to Insights in the sidebar". This was already stale before this PR.
    • docs/guides/answer-engine-insights.mdx:8 could say "(Brand Visibility in the sidebar)", as mentions.mdx:8 and ai-traffic-analytics.mdx:12 do for theirs.
    • Fix: "Follow it on Brand Visibility", "Open Brand Visibility" and "head to Brand Visibility in the sidebar". No test reads these strings.

@gkhngyk
gkhngyk merged commit cde67ba into ansvisor:main Oct 27, 2026
7 checks passed
gkhngyk pushed a commit that referenced this pull request Oct 27, 2026
…Visibility or Insights (#1596)

* chore(web): call the page Brand Visibility where the copy still said Visibility or Insights

A follow-up from #1584. These places now use the sidebar's name:
- the Action Center's first-run link;
- Getting started's step title and its open line;
- the docs' quickstart and Action Center guide;
- the Answer Engine Insights guide.

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

* style(web): let Prettier wrap Getting started's longer how list

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

---------

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