Repository navigation
feat(mentions): add the Mentions sidebar item and the Mentions & Sentiment page shell - #1114
Merged
Merged
Conversation
…iment page shell Mentions & Sentiment (MS-05) gets its sidebar item, "Mentions" with a New pill and a speech-bubble icon, directly above Citations, its sibling concept. Once Topics moves into Prompts, it sits between Prompts and Citations. /dashboard/mentions has the page's title and description, its V1 tabs (Overview, Mentions, Perception; Sentiment and Fact-check stay hidden until built) and the filter bar every tab shares: date range (30 days by default, as in the mockup), AI platform, country, topic and a search over prompts, brands and phrases. Tab and filters live in the URL, so a refresh or a shared link restores the view. The tabs' figures and charts arrive with the next PRs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
@gkhngyk this is ready for review: the first of six PRs for Mentions & Sentiment (spec MENTIONS-spec.md) — the sidebar item and the page shell with its tabs and URL filters. The tabs' content arrives with the next two PRs (data layer, Overview), so please ship them together. It has one trivial conflict with #1107 in config/dashboard.ts (keep Mentions, drop Topics). |
This was referenced Oct 17, 2026
gkhngyk
approved these changes
Oct 17, 2026
8 of 12 tasks
8 of 12 tasks
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
First of six PRs for Mentions & Sentiment, following the product spec and mockup (MENTIONS-spec.md, MENTIONS-mockup.html). This one adds the sidebar item and the page shell (MS-05).
What changes
config/dashboard.ts): Mentions, with a "New" pill and a speech-bubble icon, directly above Citations, its sibling concept ("who does AI talk about?" next to "which sources does AI use?")./dashboard/mentions:mentions/_filter-bar.tsx), shared by every tab. It sits below the tabs, as the spec orders it: section first, then filters, then content.lib/mentions-filters.ts, e.g.?tab=mentions&range=7d&q=integrations), so a refresh or a shared link restores the view. Defaults are left out of the URL.en.json:nav.mentions, and a newmentionsnamespace.The plan (agreed with product)
mention_count,mention_position,competitor_mentions,sentiment), so no new LLM call.V1 decisions:
Related issue
None.
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
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): no errors; the 7 warnings are in files this PR does not touchyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run:
web:yarn test(859) andyarn buildpass.lib/mentions-filters.test.ts: defaults; reading a shared link; unknown values falling back; custom dates only for a custom range; a clean URL by default; the round trip.lib/dashboard-navigation.test.ts: Mentions sits directly above Citations and carries the New pill.🤖 Generated with Claude Code