Repository navigation
chore(web): call the sidebar's Visibility item Brand Visibility - #1584
Merged
Merged
Conversation
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]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
7 of 12 tasks
gkhngyk
approved these changes
Oct 27, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good, with follow-ups.
What I checked:
- Where
nav.insightsshows. Every place reads it throughgetDashboardNavLabelort('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.
- the sidebar (
- 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.tsuses a fake translator (nav.${key}), so the label never reaches it. No test renders the sidebar, the mobile menu or the preview, and none readsnav.insightsor matches the item's "Visibility". I read them but didn't run them. CI's web job passed. - Docs. The three
prompts.mdxedits 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:
- 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:1629and:1632, Getting started'ssteps.visibility.openandhow[0]: "Open Visibility". Maybe also its title, "See where you stand in Visibility" (:1627), anddocs/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:8could say "(Brand Visibility in the sidebar)", asmentions.mdx:8andai-traffic-analytics.mdx:12do for theirs.- Fix: "Follow it on Brand Visibility", "Open Brand Visibility" and "head to Brand Visibility in the sidebar". No test reads these strings.
Merged
7 of 12 tasks
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.insightsis "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 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 featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow 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
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run in
web/:yarn format,yarn lint(0 errors),yarn typecheck,yarn test(4,126 tests) andyarn build. No test reads the old label.🤖 Generated with Claude Code