Repository navigation
fix: brand docs menu paths for nav v2 (Program settings, Your account) - #154
Merged
Merged
Conversation
Nav v2 replaced the program menu's All settings / Team with Program settings / Members, dropped the Personal group from settings, and moved personal settings to Your account in the profile menu. Update every brand page that pointed at the old menu, the partner Integrations path on the MCP page, the list_my_payouts note (Wise, not PayPal), the read-only sign-in email in the FAQ, and the fee-free tier refund rule (cms#384: refunds lower the counted revenue, capped at what the sale added). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This branch was successfully deployed
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.
Nav v2 (dash#736/#737) is live on prod: measured 17/10 by fetching the JS chunks of
affitor.com/brand/settingsandaffitor.com/account/profile(Program settings,Your account,Login and securitypresent;All settingsand thePersonalgroup absent). This PR updates every docs line that pointed at the old menus. Sources are on affiliate-dashboardorigin/mainf8a9bc9 and affiliate-cms tag v3.16.118 (07ec7c6).Menu paths (nav v2)
Sources:
Program settings,Members(only withcanManageMembers),Billing: dashboardsrc/components/AffiliateManagement/Advertiser/shell/ProgramMenu.tsx:349-351Program settings, Developers >API keys,AI agents, Team >Members, Billing >Invoices, Explore >Refer a brand, no Personal group:src/config/settingsNav.ts:106-118Business,Commission,Tracking,Payments,Go live:src/config/settingsNav.ts:88-94.Statusonce live:src/components/AffiliateManagement/Advertiser/SettingsSidebar.tsx:159src/containers/AffiliateManagement/Advertiser/Dashboard/index.tsx:658Your accountin the profile row's ⋯ menu:src/components/AffiliateManagement/Advertiser/shell/AccountMenu.tsx:68. The profile row sits at the bottom of the settings menu:SettingsSidebar.tsx:143-146Profile,Login and security,Payouts:src/components/Account/AccountLayout.tsx:27-31Integrationsin the ⋯ menu (old Partner > Settings tabs moved):AccountMenu.tsx:81,src/pages/partner/profile.tsx:9-23Connect Stripeon the Payments page (the settings pages are the setup steps):src/components/AffiliateManagement/Advertiser/Setup/PaymentsStep.tsx:248,src/containers/AffiliateManagement/Advertiser/Settings/index.tsx:789-794Changes:
brand/settings.mdx: "choose All settings" changed to Program settings in three places (intro, Step 1, Step 2). The intro now names Members and Billing in the same menu. Removed the Personal row and added one line: personal settings are under Your account (Profile, Login and security, Payouts). Image alts forprogram-menu.pngandsettings.pngnow describe only what the images show (see Media below).brand/api-keys.mdx: "Where to find it" step 1 now says Program settings. The VerifySuccess dashboard line now gives the full path.api-reference/mcp.mdx: brand path is now program menu > Program settings, then Developers › AI agents (lines 41, 178, 267). Partner path is now ⋯ menu > Integrations (41, 179, 268). Thelist_my_payoutsnote says "Payout account details, such as bank or Wise details, are never included". Source: cmssrc/mcp/reads/list-my-payouts.ts:5-9(PAYOUT_SELECTnever selectspayment_method_details). Wise is a method insrc/api/affiliate-payout/content-types/affiliate-payout/schema.json:49(cms#506). PayPal is no longer offered (dash#723,src/components/Account/PayoutSettings.tsx:246-268).api-reference/errors.mdx: the rotation Fix paragraph and theInvalid API keyrow's fix column now give the real dashboard path.brand/tracking/quickstart-integration.mdx:53,support/glossary.mdx:61: "Settings → Program settings → Business" changed to "program menu → Program settings → Business".stripe.mdxalso updates the API key and Stripe Connect prerequisites.brand/quickstart/setup-program.mdx:31, :44, :194: open Program settings from the program menu.brand/cli/commands.mdx:99, :225, :361, :362andbrand/cli/quickstart.mdx:107: the key regenerate path and the Connect Stripe path (program menu → Program settings → Payments, Connect Stripe).faq/index.mdx:30: "You can update your email later in account settings" was not true. Now: "Your sign-in email is shown read-only in Your account → Profile". Source:src/components/Account/ProfileSettings.tsx:547-554(email inputdisabled). No other page changes the email (SecuritySettings.tsxhas none). Same line: an em dash replaced by a colon.Fee-free tier and refunds (money wording: needs Sơn's ok before merge)
The old line said refunds do NOT lower the revenue counted toward the $10,000 fee-free tier. cms#384 (merged 15/10, merge 88d86c9, in tags since v3.16.68) changed that. The new sentence is "A refund lowers the revenue counted toward it by the refunded amount, never by more than that sale added." Sources, all at v3.16.118:
src/api/affiliate-fee/services/affiliate-fee.ts:10-16, :212: the tier is chosen fromprogram.total_revenue.src/utils/revenue-counter.ts:1-6, :52-57: each sale records what it added. Every decrement (refund, void, fraud, test order) is capped at that amount, and the program total never goes below 0.src/api/affiliate-commission/services/commission-refund.ts:272-280:reverseCommissionForRefundtakes back the refunded slice, or the whole remainder on a full refund. Every refund path calls it:v1-tracking.ts:1617(track refund API),webhook-distributor.ts:2030(Stripe),commission-dispute.ts:105,affiliate-invoice.ts:340.Pages:
getting-started/pricing-performance-model.mdx:51,brand/quickstart/commission-approval-cash-flow.mdx:119,faq/index.mdx:110, plus a new side-effect bullet inapi-reference/track-refund.mdx(Side Effects).Not changed, on purpose
api-reference/errors.mdx:169, :188, :440(message column) andpublic/docs/openapi.yaml:623quote API response text verbatim. The CMS still sends "Affitor → Settings → API Key": cmssrc/utils/api-token.ts:58-60,src/api/cli/controllers/cli.ts:655. A CMS string update is a separate follow-up.content/changelog/*(hosted-mcp-server.mdx:34"All settings",api-key-rotation.mdx,partner-links-on-approval.mdx): dated entries describe the UI as shipped.brand/api-keys.mdx:86, :106, :124andbrand/settings.mdx:96: the settings area is still titled "Settings" (SettingsSidebar.tsx:98, the "‹ Settings" header), so these are still accurate.content/docs/partners/**andbrand/quickstart/payouts.mdx: owned by another PR.Media
media: program-menu.png + settings nav image need a re-shoot (p476).
public/docs/brand/program-menu.pngstill shows All settings / Team / Refer a brand / Log out.public/docs/brand/settings.pngstill shows the Personal > Your account group. Both images stay, and their alt text now describes only what they show.Checks
npm run build(no VERCEL_ENV) &&check-agent-surface&&check-docs-host&&check-docs-host-http: EXIT=0.🤖 Generated with Claude Code