[No QA] Helpsite: NetSuite integration error messages (New Expensify) - #84441
Conversation
HelpDot Documentation ReviewOverall AssessmentThis PR adds 87 new markdown documentation files for NetSuite integration error messages under the Scores Summary
Key FindingsCritical: Duplicate files across categories. Several error codes appear in multiple category folders with identical or near-identical content:
This is 26 duplicate files out of 87. While some have minor wording variations, most are effectively identical. This creates confusion for both users and AI systems about which is the canonical version. Heading hierarchy violations. Every file has two H3 headings used extensively. There are 69 Error messages not visually distinguished. All 86 error messages are rendered as plain text paragraphs. Using a blockquote (> prefix) or code block would make them stand out from surrounding prose and be easier for users to match against what they see in the product. Positive aspects:
Recommendations
Files Reviewed
Note: This review is based on the full diff of all 87 new files proposed in this PR. |
| @@ -0,0 +1,93 @@ | |||
| --- | |||
There was a problem hiding this comment.
AI Readiness / Readability concern: This file (Connection-errors/NS0109-Sync-Error.md) appears to be an exact duplicate of Authentication-and-Login-errors/NS0109-Sync-Error.md and Sync-Errors/NS0109-Sync-Error.md. The same content exists in three locations.
This duplication pattern affects 7 error codes across this PR:
- NS0109 (3 copies): Auth, Connection, Sync
- NS0123 (3 copies): Auth, Connection, Sync
- NS0521 (3 copies): Connection, Export, Sync
- NS0565 (3 copies): Auth, Connection, Sync
- NS0593 (3 copies): Auth, Connection, Sync
- NS0739 (3 copies): Auth, Connection, Sync
- NS0942 (3 copies): Auth, Connection, Sync
- NS0318 (2 copies): Auth, Sync
- NS0510 (2 copies): Auth, Export
- NS0029 (2 copies): Auth, Export
Duplicate articles create confusion for both AI retrieval systems and human readers. If the intent is cross-referencing, consider keeping a single canonical article and adding redirects or cross-links from the other locations instead.
| @@ -0,0 +1,118 @@ | |||
| --- | |||
There was a problem hiding this comment.
Categorization issue (AI Readiness): This file is named NS0521-Sync-Error.md and documents a Sync Error, but it is placed in the Export-Errors/ directory. This could confuse both AI retrieval systems and readers who expect Export-Errors to contain only export errors. Consider moving this to the Sync-Errors/ directory (where a copy already exists) and removing it from Export-Errors/.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8726fdc655
ℹ️ 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".
|
Fixed the remaining build failure. Problem: Liquid's Fix: Replaced the {% assign sortedArticles = "" | split: "," %}
{% if section.articles %}
{% assign sortedArticles = section.articles | sort: 'order', 'last' %}
{% endif %}
|
|
@MelvinBot can you please summarize the changes to the help site layout made from this PR, especially those around scripts and templates? |
|
Here's a summary of the help site layout changes in this PR, focusing on scripts and templates: Route Generation Script (
|
rushatgabhane
left a comment
There was a problem hiding this comment.
LGTM
Screen.Recording.2026-03-07.at.12.02.59.mov
…-error-docs-flatsections [No QA] use hub.flatSections in section.html to avoid having to traverse sections again
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
@MelvinBot how can I fix the failed test? |
|
The failing ESLint check is not caused by your PR — it's a pre-existing issue on
Your PR only modifies docs files, No action needed from you. This should resolve once |
Merge main into my branch to fix failed lint test
|
@deetergp looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
🚀 Deployed to staging by https://github.com/deetergp in version: 9.3.35-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.3.35-1 🚀
|
|
The tests were all passing when I merged it. |
Note for reviewers: you only need to review 2 of these files!
This PR changes the route data structure and section template used for the help site, and then also adds 143 help site files.
I've already reviewed the help site files so you can ignore all of those - really just need your review on the changes to these files:
docs/_includes/section.html.github/scripts/createDocsRoutes.tsA very thorough summary of the changes that were made and why are in this comment.
I verified this looks good on the Dev build - this page is the prototype: https://509fd29c.helpdot.pages.dev/new-expensify/hubs/connections/netsuite/Troubleshooting
cc: @CortneyOfstad
Explanation of Change
Rebuilt the docs route script to support true nested sections (no more hardcoded 2-level limit).
See full summary in this comment .
Fixed Issues
https://github.com/Expensify/Expensify/issues/469226
PROPOSAL: N/A
Tests
Offline tests
QA Steps
N/A, no 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
Android: Native
android.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4