[No QA] Re-land billing docs hub with lint-safe route helpers#95786
[No QA] Re-land billing docs hub with lint-safe route helpers#95786stephanieelliott wants to merge 12 commits into
Conversation
Restore the billing-and-subscriptions hub reorganization from #95101 and replace unsafe YAML type assertions with runtime type guards so the file stays within the eslint-seatbelt baseline. Co-authored-by: Cursor <cursoragent@cursor.com>
Concierge reviewer checklist:
For more detailed instructions on completing this checklist, see How do I review a HelpDot PR as a Concierge Team member? cc @lschurr |
|
@arosiclair @lschurr One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e40c088e4d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| https://help.expensify.com/articles/new-expensify/billing-and-subscriptions/manage-billing/resolve-billing-issues/Understand-Why-Billing-Issues-Occur,https://help.expensify.com/articles/new-expensify/billing-and-subscriptions/manage-your-subscription-and-billing/manage-billing/resolve-billing-issues/Understand-Why-Billing-Issues-Occur | ||
| https://help.expensify.com/articles/new-expensify/billing-and-subscriptions/manage-billing/resolve-billing-issues/Fix-a-Billing-Issue,https://help.expensify.com/articles/new-expensify/billing-and-subscriptions/manage-your-subscription-and-billing/manage-billing/resolve-billing-issues/Fix-a-Billing-Issue |
There was a problem hiding this comment.
Redirect billing issue URLs to existing articles
These redirects point migrated billing-issue articles under manage-billing/resolve-billing-issues/, but this commit does not add any articles in that directory; Fix-a-Billing-Issue.md exists one level higher under manage-billing, and Understand-Why-Billing-Issues-Occur.md is absent. Users following the old billing issue URLs will therefore be redirected to 404s instead of the new content.
Useful? React with 👍 / 👎.
HelpDot Documentation ReviewOverall AssessmentThis PR re-lands the billing-and-subscriptions hub reorganization (from the reverted #95101) plus lint-safe route-helper changes in createDocsRoutes.ts. The documentation portion adds 15 new articles organized into explore-plans-subscriptions-and-pricing and manage-your-subscription-and-billing (with manage-billing and manage-subscription subfolders), along with _meta.yml ordering files and hub/LHN template updates. The content is high quality overall: well-structured, task-focused, and consistently formatted. The main gaps are a few broken relative cross-links and inconsistent capitalization of key terms. Scores Summary
Key Findings
Recommendations
Files Reviewed
Note: This is a top-level summary. Verify the flagged cross-links and capitalization inline where noted. |
Avoid spellcheck failure on the nested LHN section loop variable name. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
_meta.ymlsection ordering, and updated hub/LHN templates..github/scripts/createDocsRoutes.tswith lint-safe YAML parsing helpers (isRecord,getOptionalString,getOptionalNumber) instead of unsafeastype assertions, so the file stays within the eslint-seatbelt baseline.Lint-safe changes in
createDocsRoutes.tsyaml.load()results when reading articleorderfront matter and section_meta.ymlfiles.flatSectionsto theHubtype to avoid an unsafe cast.as DocsRoutesassertion remains (1 total, baseline allows 3).Test plan
lint / ESLint checkpassesnpm run createDocsRoutesand confirmdocs/_data/routes.ymlgenerates successfullyMade with Cursor
Explanation of Change
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos