[No QA] Integrations Error Revamp: Create folders for integration troubleshooting docs#84217
Conversation
- Add Troubleshooting/Sync-Errors, Export-Errors, Connection-errors, Authentication-and-Login-errors under each connection integration (both platforms) - One Overview.md placeholder per subfolder; content to be added in follow-up PRs - Update createDocsRoutes to support section subfolders (fixes EISDIR)
Concierge reviewer checklist:
For more detailed instructions on completing this checklist, see How do I review a HelpDot PR as a Concierge Team member? |
|
@AndrewGable @RachCHopkins 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] |
...nsify-classic/connections/accelo/Troubleshooting/Authentication-and-Login-errors/Overview.md
Outdated
Show resolved
Hide resolved
...nsify-classic/connections/accelo/Troubleshooting/Authentication-and-Login-errors/Overview.md
Outdated
Show resolved
Hide resolved
...nsify-classic/connections/accelo/Troubleshooting/Authentication-and-Login-errors/Overview.md
Outdated
Show resolved
Hide resolved
docs/articles/expensify-classic/connections/accelo/Troubleshooting/Export-Errors/Overview.md
Outdated
Show resolved
Hide resolved
...w-expensify/connections/netsuite/Troubleshooting/Authentication-and-Login-errors/Overview.md
Show resolved
Hide resolved
...w-expensify/connections/netsuite/Troubleshooting/Authentication-and-Login-errors/Overview.md
Show resolved
Hide resolved
HelpDot Documentation ReviewOverall AssessmentThis PR creates the scaffolding for a new integration troubleshooting documentation structure by adding 48 placeholder Because this is explicitly a structural/scaffolding PR (with real content coming in follow-up PRs), the scoring reflects the quality of what is proposed rather than penalizing for the intentional absence of final content. Scores Summary
Key FindingsPositive aspects:
Issues that should be addressed:
Code change review (
Recommendations
Files Reviewed
Note: This review is based solely on the proposed diff. The placeholder nature of the documentation files is acknowledged -- the primary concerns are structural (folder naming consistency, forbidden heading usage) rather than content-related, as real content is expected in follow-up PRs. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 28e97447a9
ℹ️ 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".
.github/scripts/createDocsRoutes.ts
Outdated
| for (const file of fs.readdirSync(entryPath)) { | ||
| if (!file.endsWith('.md')) continue; |
There was a problem hiding this comment.
Include markdown files nested beyond one subfolder
This loop only picks up .md files that are immediate children of entryPath, so any structure deeper than section/<subfolder>/<file>.md is silently skipped. In this commit the new troubleshooting docs are under paths like .../xero/Troubleshooting/Export-Errors/Overview.md (an extra directory level), which means createDocsRoutes will not add them to routes.yml, leaving these new pages undiscoverable from hub/section navigation.
Useful? React with 👍 / 👎.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@MelvinBot why aren't the nested folders showing in the help site UI? |
|
The nested articles from the - href: Troubleshooting/Authentication-and-Login-errors/Overview
title: Troubleshoot Authentication and Login Errors
- href: Troubleshooting/Connection-errors/Overview
title: Troubleshoot Connection ErrorsHowever, the reason they don't show as nested folders in the UI is that the rendering templates have no concept of sub-sections or folder grouping. Here's why:
What you should see on a section page (e.g., the Certinia page): The four troubleshooting articles appear as regular article cards alongside existing articles — but without any "Troubleshooting" header or folder-like visual grouping. To make nested folders show as actual folder groups in the UI, the rendering layer would need changes:
This PR successfully set up the folder structure and route generation — the UI rendering for visual folder grouping would be a follow-up change. |
|
@MelvinBot implement this change |
|
Draft PR created: #84318 This updates What changed:
Please mark it as "Ready for review" when it is ready for review. |
|
🚀 Deployed to staging by https://github.com/stephanieelliott in version: 9.3.32-0 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.3.32-3 🚀
|
Master project issue https://github.com/Expensify/Expensify/issues/469226
Breaking main PR into smaller batches: #83106
Creates folders integration error messages
--
Explanation of Change
Creates folders integration error messages
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