Skip to content

docs(help): align 58 Help articles with the product and approve them - #1896

Merged
gkhngyk merged 4 commits into
ansvisor:mainfrom
cihan-gyk:docs/help-align-with-product
Oct 31, 2026
Merged

gkhngyk merged 4 commits into
ansvisor:mainfrom
cihan-gyk:docs/help-align-with-product

Conversation

@cihan-gyk

Copy link
Copy Markdown
Collaborator

Summary

Every Help article outside Chat and Settings (58) was checked against main, line by line:

  • the screen's labels (en.json);
  • the routes;
  • role and plan gates;
  • the numbers the code uses.

Whatever no longer matched was fixed, and all 58 are approved (approved: true, last_checked 2026-10-31), so Chat's Help answers can use them. The owner (Cihan) decided to approve them with these fixes. web/src/lib/help/approved-articles.json is regenerated (yarn test -u src/lib/help).

The audit found 20 articles ready, 35 needing small fixes and 1 needing a larger rewrite (Query Fan-outs). None was out of date. The 12 Chat and Settings articles get their own PR once the open Chat PRs merge.

What changed, by area

  • Action Center:
    • the Highest Priority card doesn't filter;
    • New content and Product Visibility are listed as send points;
    • no action number is promised on every page;
    • the KPI preset set;
    • the Broken AI links rule;
    • the Waiting Approval and Failed task statuses;
    • the first tracking time as the app says it.
  • Getting started:
    • Explore the demo on the plan step;
    • the first-results e-mail goes only where e-mail is set up;
    • the setup time is softened.
  • Reports:
    • the AI Traffic weekly digest in Daily Pulse;
    • a report is saved without a summary when one can't be written, and deleted with the bin icon;
    • the Looker Studio connector reads Ansvisor Cloud.
  • Competitors: only admins and managers add, suggest and remove.
  • Content:
    • the Webflow site pick;
    • Send to Editor opens New content;
    • which filters stay in the address;
    • Open in Plan;
    • Page quality: to-dos, Next step, the team byline and the Export review;
    • New content's route and the no-subscription case;
    • "Rewrite, cited passages too";
    • sources are docs only.
  • Site Audit:
    • AI Recommendations sit under the score;
    • the copy icons;
    • no plan-limit sentence;
    • auto-audit is off without a monthly limit;
    • Audit pages on AI Referral Traffic;
    • the template rule (fail or warn on two-thirds of pages);
    • the Site trust card and the score-change badge.
  • Prompts:
    • Query Fan-outs rewritten: By prompt, High frequency, engine chips and engines that don't share, + to track, Times searched, Sourced prompts, Intent, the 7d default;
    • role notes;
    • the Positions column, now an average with a hover breakdown;
    • Plan & usage cards;
    • bulk import labels;
    • suggestion sources and buttons;
    • Estimate badge rules;
    • demand matching and its KPI title;
    • Top mover and Biggest gap;
    • Who does it before the overlap step.
  • Visibility:
    • where the summary line sits;
    • Generate Brief runs on an opportunity;
    • the score's places;
    • guide numbers that aren't product behaviour are marked as typical, not guarantees.
  • Citations, Mentions, AI Traffic:
    • Total Citations counts every citation across the tracked results;
    • the Institutional source type;
    • the cited-URL route;
    • Biggest gap;
    • the Country column;
    • who sees Suggest content;
    • resending while an action is open;
    • monthly log-record limits;
    • Bing and ChatGPT Shopping as sources;
    • dashed lines only on vs Google clicks;
    • the weekly e-mail rule;
    • Brand Settings › Tracking;
    • the From AI visits line;
    • Connect and Install button labels.

Overlaps checked: git merge-file shows no conflict with #1887 (both competitors articles, with updated aligned) or with the open W2-10 and W2-17 branches (action-center articles).

Follow-ups once these merge

Related issue

None.

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. In web/: npx vitest run src/lib/help. The validator and the approved-articles snapshot pass.
  2. Spot-check a few articles against the app, for example:
    • Prompts › Query Fan-outs;
    • Content › Page quality;
    • Action Center › Tasks (Waiting Approval / Failed).
  3. With the new Chat on, ask "How do I see query fan-outs?". The answer comes "From Help: Query fan-outs".

Checklist

  • Branch follows the naming convention
  • Commits follow Conventional Commits
  • yarn lint passes (0 errors; 7 old warnings in files this PR doesn't touch)
  • yarn typecheck passes
  • yarn format:check passes
  • Changes are focused — one concern per PR
  • Help article updated under help/ (or no user-visible change)

npx vitest run src/lib/help: 12/12. Every section stays at 150 words or fewer; the longest changed one is 146. The web CI job may show the date-dependent chat-menu.test.tsx "Done · 08:02" failure that #1876 fixes.

🤖 Generated with Claude Code

cihan-gyk and others added 3 commits October 31, 2026 17:16
Checked every Help article outside Chat and Settings against main and
fixed what no longer matched, then approved all 58 (approved: true,
last_checked 2026-10-31; updated 2026-10-31 where the text changed).
approved-articles.json is regenerated so Chat answers from them.

- action-center: Highest Priority card doesn't filter; New content and
  Product Visibility as send points; no action number promised; KPI
  preset set; Broken AI links rule; Waiting Approval and Failed tasks;
  first-tracking time as the app says it; First tracking queued.
- getting-started: Explore the demo on the plan step; first-results
  e-mail only where e-mail is set up; setup time softened.
- reports: AI Traffic weekly digest in Daily Pulse; reports saved
  without a summary and deleted with the bin icon; Looker Studio
  connector reads Ansvisor Cloud.
- competitors: only admins and managers add, suggest and remove.
- content: Webflow site pick; Send to Editor opens New content; which
  filters stay in the address; Open in Plan; Page quality to-dos, Next
  step, byline and Export review; New content's route and no-subscription
  case; Rewrite, cited passages too; sources are docs only.
- site-audit: AI Recommendations under the score; copy icons; no plan
  limit sentence; auto-audit off without a monthly limit; Audit pages on
  AI Referral Traffic; template rule (fail or warn); Site trust card;
  score change badge.
- prompts: Query Fan-outs rewritten (By prompt, High frequency, engine
  chips and not shared engines, + to track, Times searched, Sourced
  prompts, Intent, 7d default); role notes; Positions column; Plan &
  usage cards; bulk import labels; suggestion sources and buttons;
  Estimate badge rules; demand matching and KPI title; Top mover and
  Biggest gap; Who does it before the overlap.
- visibility: summary line below the filters; Generate Brief on an
  opportunity; mention counting; Topics show the score; docs-only
  guidance numbers marked as typical, not product behavior.
- citations: Total Citations wording; Institutional sources; cited URL
  article opens the Citations page.
- mentions: Biggest gap among the brand-shape competitors; Country
  column; net sentiment gap; resend while open; Suggest content roles.
- ai-traffic: Logpush/Vercel record limit; Bing and ChatGPT Shopping;
  dashed lines only on vs Google clicks; digest recipients rule; roles
  on AI Traffic pages; Brand Settings label; From AI visits line;
  Connect/Install buttons.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ources strip, regenerate the approved snapshot

- Tracked Prompts: admins and managers can share their columns as the
  brand's view; Reset to the brand's view goes back to it.
- First results: the snippet's Code and its active state sit beside
  Tracking snippet in the Data sources strip, not on a card.
- approved-articles.json regenerated after merging main (Competitors now
  right under Reports).

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

Approving, with 2 fixes on top: commit 96cd9af (on top of a merge of main, 9ee6c0f).

I checked the 58 articles against main after wave 4 (#1868–#1893): labels in en.json, routes, role and plan gates, and the numbers the code uses. The changed claims all hold, including the Query Fan-outs rewrite, the KPI presets, the Broken AI links rule, the template rule, auto-audit on unlimited plans, Institutional sources and the Webflow site pick.

Main merged in with no conflicts. Both competitors articles keep #1887's "right under Reports" and your role line.

Fixes:

  • Tracked Prompts › Choose your columns: "nobody else's table changes" was wrong. Admins and managers can tick Share with everyone on the brand to make their columns the brand's view, and Reset to the brand's view goes back to it.
  • First results › tracking snippet: Code and the active state sit beside Tracking snippet in the Data sources strip. There is no Tracking snippet card. This now matches Connect AI traffic sources.
  • approved-articles.json is regenerated: after the merge, Competitors reads "right under Reports".

Tests: npx vitest run src/lib/help passes 12/12, and src/lib/chat/help-answer.test.ts + engine.test.ts pass 147/147. Prettier isn't run on help/ (it flags every file on main too), so I didn't reformat anything.

Your follow-up list still stands. #1888/#1893 send e-mails only to the people who can see the brand, but everyone has All brands until brand access gets its UI, so today's wording stays true.

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

Merging in order with the other approved PRs. This head merges current main; its tree is what main will be after this squash, checked with the full server and web suites, tsc, lint, format and next build.

@gkhngyk
gkhngyk merged commit cb25e7f into ansvisor:main Oct 31, 2026
4 of 5 checks passed
gkhngyk added a commit that referenced this pull request Nov 1, 2026
)

* feat(settings): add the white label kit and a brand's client logo (00429)

Agencies can keep their own brand for what they send clients. Settings ›
White label holds the workspace's kit: a logo (PNG, SVG or JPG, 1 MB), a
main color, a company name and a report footer, with a preview. Brand
settings › General gets the client's logo for the brand's report cover.

- Plans: white_label on Growth as well as Enterprise (web and server);
  Starter sees the section locked, with the way to Growth. Self-host
  doesn't list it, as its plan has no white label to upgrade to.
- 00429: white_label_kits (members read, Admins write, who changed it
  stamped from the session), brands.client_logo_path (follows the brands
  policies) and the private white-label-logos bucket (no member policy:
  the app gives one-time upload and short-lived signed addresses).
- Server actions answer { ok, failure }, check assertWritable first and
  validate with Zod; an uploaded logo must be in the workspace's (or the
  brand's) folder and be what its type says, and an SVG that could run
  something is refused and deleted.
- The kit is used only when the plan has white_label and the kit has a
  company name or a logo (kitInUse); nothing uses it yet.
- Help: help/settings/white-label.md (approved: false); docs: a White
  label section in the Reports guide.

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

* feat(reports): show and download reports with the white label kit

With a kit in use (the plan has white_label and the kit has a company
name or a logo), a brand's report carries the agency's brand instead of
Ansvisor's; without one, nothing changes.

- PDF: the company as author and creator, the kit's footer line (or none)
  instead of "Generated with Ansvisor · www.ansvisor.com", the kit's color
  on the rule, bars and trend line (text set in it darkened until it reads
  on white, WCAG AA), and a cover with the agency's logo or name,
  "Prepared for {brand}" and the brand's client logo.
- Report page: the same cover above the report; the PDF is named
  "{company-slug}_{brand}_report_{date}.pdf" instead of "ansvisor_…".
- getReportBranding(brandId) gives the kit with the logos as data URLs, so
  the browser can draw the PDF while the bucket stays private; an SVG logo
  is drawn onto a canvas as a PNG for the PDF. A kit that can't be read
  makes no PDF (the page asks to try again), so a file in Ansvisor's look
  never goes to a client by mistake.
- Help and the Reports guide say where the kit appears.

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

* feat(settings): offer white label on a self-hosted install too

The owner's decision (2026-10-31): a self-hosted install has every
feature, white label included, so the White label section and the
brand's Client logo show there as on Growth and Enterprise. The cloud
plans don't change: Growth and Enterprise have it, Starter doesn't.

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

* fix(settings): keep unsaved kit fields on a logo change, and show logos on white paper

- Settings › White label: uploading or removing a logo refreshed the whole
  form from the server, so a name, color or footer typed but not saved
  was lost. A logo change now updates only the logo and the kit's state;
  what is typed stays, and Save still takes it.
- The logo boxes in Settings › White label and Brand settings › Client
  logo were muted on a dark theme, so a dark logo couldn't be seen. They
  are white paper in both themes, as the report and its Preview are.
- Tests follow the self-hosted decision (the section and the Client logo
  card show there too); the Reports guide names self-hosted installs.

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

* docs(help): refresh the approved Help articles for the white label PDF line

Generate visibility reports was approved on main (#1896) after this branch
added its white label sentence to Download a PDF, so the copy Chat answers
from (approved-articles.json) is refreshed with it.

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

* test(settings): name the white-label kit as Account data in the brand-access and demo-guard lists

white_label_kits (00429) has no brand_id: one kit per organization, shared
by its brands. Both coverage tests now list it with why; a brand's client
logo lives on brands, whose policies already refuse a demo brand's writes.

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

---------

Co-authored-by: Cihan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Gökhan Geyik <[email protected]>
gkhngyk added a commit that referenced this pull request Nov 1, 2026
…kit, and list it on Growth again (#1926)

* feat(settings): add the white label kit and a brand's client logo (00429)

Agencies can keep their own brand for what they send clients. Settings ›
White label holds the workspace's kit: a logo (PNG, SVG or JPG, 1 MB), a
main color, a company name and a report footer, with a preview. Brand
settings › General gets the client's logo for the brand's report cover.

- Plans: white_label on Growth as well as Enterprise (web and server);
  Starter sees the section locked, with the way to Growth. Self-host
  doesn't list it, as its plan has no white label to upgrade to.
- 00429: white_label_kits (members read, Admins write, who changed it
  stamped from the session), brands.client_logo_path (follows the brands
  policies) and the private white-label-logos bucket (no member policy:
  the app gives one-time upload and short-lived signed addresses).
- Server actions answer { ok, failure }, check assertWritable first and
  validate with Zod; an uploaded logo must be in the workspace's (or the
  brand's) folder and be what its type says, and an SVG that could run
  something is refused and deleted.
- The kit is used only when the plan has white_label and the kit has a
  company name or a logo (kitInUse); nothing uses it yet.
- Help: help/settings/white-label.md (approved: false); docs: a White
  label section in the Reports guide.

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

* feat(reports): show and download reports with the white label kit

With a kit in use (the plan has white_label and the kit has a company
name or a logo), a brand's report carries the agency's brand instead of
Ansvisor's; without one, nothing changes.

- PDF: the company as author and creator, the kit's footer line (or none)
  instead of "Generated with Ansvisor · www.ansvisor.com", the kit's color
  on the rule, bars and trend line (text set in it darkened until it reads
  on white, WCAG AA), and a cover with the agency's logo or name,
  "Prepared for {brand}" and the brand's client logo.
- Report page: the same cover above the report; the PDF is named
  "{company-slug}_{brand}_report_{date}.pdf" instead of "ansvisor_…".
- getReportBranding(brandId) gives the kit with the logos as data URLs, so
  the browser can draw the PDF while the bucket stays private; an SVG logo
  is drawn onto a canvas as a PNG for the PDF. A kit that can't be read
  makes no PDF (the page asks to try again), so a file in Ansvisor's look
  never goes to a client by mistake.
- Help and the Reports guide say where the kit appears.

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

* feat(exports): name downloads and Word authors after the white label kit

With a kit in use, what the pages download carries the agency's name
instead of Ansvisor's; without one, every name stays as it was.

- File names: the "ansvisor_" (or "ansvisor-") word becomes the company's
  slug on the Prompts, Topics, Insights, Citations, Competitors, Mentions,
  Action Center (actions, signals), content opportunity, Content Editor,
  Library and AI Traffic exports, and none for a kit with only a logo.
  Pages read the kit once a page load (export-name.ts, getExportBranding);
  the AI Traffic route reads it on the server. A kit that can't be read
  names the file with neither word.
- Word files (Content Editor, Library, opportunity) name the company as
  author and last editor. Excel files (write-excel-file) and CSVs carry no
  author either way.
- The white label actions import the service-role client when first
  needed, so pages that only name downloads load without it.
- Settings › White label forgets the kit read after a change.
- Help and the Reports guide say which downloads follow the kit; e-mails
  don't yet.

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

* feat(settings): offer white label on a self-hosted install too

The owner's decision (2026-10-31): a self-hosted install has every
feature, white label included, so the White label section and the
brand's Client logo show there as on Growth and Enterprise. The cloud
plans don't change: Growth and Enterprise have it, Starter doesn't.

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

* fix(settings): keep unsaved kit fields on a logo change, and show logos on white paper

- Settings › White label: uploading or removing a logo refreshed the whole
  form from the server, so a name, color or footer typed but not saved
  was lost. A logo change now updates only the logo and the kit's state;
  what is typed stays, and Save still takes it.
- The logo boxes in Settings › White label and Brand settings › Client
  logo were muted on a dark theme, so a dark logo couldn't be seen. They
  are white paper in both themes, as the report and its Preview are.
- Tests follow the self-hosted decision (the section and the Client logo
  card show there too); the Reports guide names self-hosted installs.

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

* docs(help): refresh the approved Help articles for the white label PDF line

Generate visibility reports was approved on main (#1896) after this branch
added its white label sentence to Download a PDF, so the copy Chat answers
from (approved-articles.json) is refreshed with it.

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

* test(settings): name the white-label kit as Account data in the brand-access and demo-guard lists

white_label_kits (00429) has no brand_id: one kit per organization, shared
by its brands. Both coverage tests now list it with why; a brand's client
logo lives on brands, whose policies already refuse a demo brand's writes.

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

* feat(billing): list white-label reports and exports on the Growth plan again

#1908 took "White-label reports" off the Growth card while the app had
none. With the kit, branded reports and branded exports in this stack,
the Growth card and the Choose a plan dialog list "White-label reports &
exports" again, beside Looker Studio.

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

---------

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