feat: add FAQ links to warning messages for merchant troubleshooting#1268
Merged
feat: add FAQ links to warning messages for merchant troubleshooting#1268
Conversation
Add help_url field to all warning messages directing merchants to troubleshooting documentation. Enhances console output to display FAQ links for common issues like message hidden, invalid options, and integration errors.
Braluna-pp
reviewed
Feb 5, 2026
Braluna-pp
reviewed
Feb 5, 2026
Braluna-pp
reviewed
Feb 5, 2026
Collaborator
|
In Creating tests that seert Reason: current tests only check selector/location and won’t catch regressions to the new help_url behavior. Add assertions for help_url (and optionally appended description) in warning tests. |
- Remove description mutation in logger to avoid breaking telemetry parsers - Normalize FAQ base URL before concatenation to prevent double slashes - Add help_url to unsafe lander warning for consistency - Add comprehensive test coverage for help_url in warnings: * Created dedicated test suite for help_url in message interface * Added help_url assertions to validation tests * Created unit tests for getFaqUrl function with 9 test cases * Tests verify URL normalization and fallback behavior
5a52d11 to
3d79bb0
Compare
yeul
reviewed
Feb 5, 2026
yeul
reviewed
Feb 5, 2026
- Remove duplicate FAQ_PATHS entries (INVALID_SELECTOR, NOT_IN_DOCUMENT, UNSAFE_LANDER) - Consolidate to shared paths: INTEGRATION and INVALID_OPTIONS - Remove unnecessary env.FAQ_BASE_URL check in globals.js - Update all source files to use consolidated path names - Update tests to reflect consolidated paths
Braluna-pp
approved these changes
Feb 10, 2026
yeul
reviewed
Feb 13, 2026
yeul
approved these changes
Feb 18, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Feb 24, 2026
## [1.78.0](v1.77.1...v1.78.0) (2026-02-24) ### Features * add FAQ links to warning messages for merchant troubleshooting ([#1268](#1268)) ([3a7d6b5](3a7d6b5)) * Add language_requested field to fpti ([#1249](#1249)) ([2866ae0](2866ae0)) * add locale param ([#1255](#1255)) ([df4bde6](df4bde6)) ### Documentation * add subagents section and update persona (DTCRCMERC-4677) ([dcf9202](dcf9202)) * add v5/v6 service dependency map for agents ([bf44bb2](bf44bb2)) * align crcoffersserv abbreviation to CRCO in AGENTS diagram ([068ec29](068ec29)) * expand subagents guidance (DTCRCMERC-4677) ([845449f](845449f)) * normalize deep-dive dependency wording ([37a2bd0](37a2bd0)) * remove deep internal service details from public AGENTS ([a60e77a](a60e77a)) * strengthen workflow orchestration in AGENTS.md (DTCRCMERC-4677) ([b2ddef2](b2ddef2)) * update PR template and agent docs (DTCRCMERC-4677) ([9689af5](9689af5))
|
🎉 This PR is included in version 1.78.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
lyerabati16
pushed a commit
that referenced
this pull request
Apr 8, 2026
## [1.78.0](v1.77.1...v1.78.0) (2026-02-24) ### Features * add FAQ links to warning messages for merchant troubleshooting ([#1268](#1268)) ([3a7d6b5](3a7d6b5)) * Add language_requested field to fpti ([#1249](#1249)) ([2866ae0](2866ae0)) * add locale param ([#1255](#1255)) ([df4bde6](df4bde6)) ### Documentation * add subagents section and update persona (DTCRCMERC-4677) ([dcf9202](dcf9202)) * add v5/v6 service dependency map for agents ([bf44bb2](bf44bb2)) * align crcoffersserv abbreviation to CRCO in AGENTS diagram ([068ec29](068ec29)) * expand subagents guidance (DTCRCMERC-4677) ([845449f](845449f)) * normalize deep-dive dependency wording ([37a2bd0](37a2bd0)) * remove deep internal service details from public AGENTS ([a60e77a](a60e77a)) * strengthen workflow orchestration in AGENTS.md (DTCRCMERC-4677) ([b2ddef2](b2ddef2)) * update PR template and agent docs (DTCRCMERC-4677) ([9689af5](9689af5))
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.
Description
Add help_url field to all warning messages directing merchants to troubleshooting documentation. Enhances console output to display FAQ links for common issues like message hidden, invalid options, and integration errors.
https://paypal.atlassian.net/browse/DTCRCMERC-3133
Screenshots
Testing instructions