VACMS-18659: Update clp node to be able to use url for field links #2192
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.
Summary
For this PR we are introducing URL paths when available for CLP field links when referencing internal links. We will defer back to URI if there is no URL available.
Changes for field links are made for the following fields in CLPs:
What you can do
Spotlight
Stories
Related issue(s)
department-of-veterans-affairs/va.gov-cms#18659
Testing done
Tested in tugboat instance
CMS: https://main-jk4uouhulv1tbvo6a4fqxpyyjvjnazmf.ci.cms.va.gov/initiatives/prepare-for-vas-secure-sign-in-changes
Review Instance : https://main-jk4uouhulv1tbvo6a4fqxpyyjvjnazmf.ci.cms.va.gov/initiatives/prepare-for-vas-secure-sign-in-changes?_format=static_html
Screenshots
CMS for Stories Field Link Node
Stories Field Link URL
Stories Field Link graphQL
CMS for What you can do Field Link Node
What you can do Field Link URL and graphQL
What areas of the site does it impact?
CLPs
Acceptance criteria
Quality Assurance & Testing
Error Handling