CAI-8463: Fix copy text capitalization consistency on samples page - #739
Closed
mkesavan13 wants to merge 1 commit into
Closed
CAI-8463: Fix copy text capitalization consistency on samples page#739mkesavan13 wants to merge 1 commit into
mkesavan13 wants to merge 1 commit into
Conversation
- Capitalize "App" in the page heading "Contact Center Widgets in a React App" - Capitalize "Access Token" in the token input label "Your Access Token:"
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
Contributor
|
Closing to allow JiraToPr to open a fresh PR for CAI-8463. |
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.
COMPLETES CAI-8463
This pull request addresses
Copy text inconsistency on the samples page (
widgets-samples/cc/samples-cc-react-app/src/App.tsx). Two UI strings used inconsistent capitalization that did not match the surrounding copy style.by making the following changes
"Contact Center Widgets in a React app"to"Contact Center Widgets in a React App"— "App" capitalized for consistency with surrounding Title Case labels."Your access token: "to"Your Access Token: "— Title Case applied for consistency with adjacent fieldset legends and labels.No data-testid, id, value, handler, or state was changed — only the two display text nodes.
Change Type
The following scenarios were tested
External Validation Required
AC-1 details: The tsc compile gate (UT-1) only guards that the JSX text edits do not break the build and that no functional identifier drifted; it cannot assert copy casing. The core casing-consistency criterion is verified by config/source inspection of the App.tsx diff during PR review (package has no unit-test runner), confirming the h1 and access-token literals now match the surrounding Title Case labels.
Source reference: CAI-8463 summary/description: 'Samples page copy text consistency' — mixed case chars in labels on the samples page before widgets init must be fixed.
Verification limitations
Gate 1 compile: SKIPPED — skipped-missing-command — selected manifests do not declare
commands.compile(missing.sdd/manifest.json).Gate 2 unit tests: SKIPPED — skipped-missing-command — selected manifests do not declare
commands.unit-test(missing.sdd/manifest.json). The samples package (widgets-samples/cc/samples-cc-react-app) exposes no unit-test runner (build via tsc/webpack/eslint only); no unit runner can validate copy casing programmatically.Neither gate is described as passed. AC-1 unit validation is: Not validated — Gate 2 skipped.
Contract Discovery Warnings
The GAI Coding Policy And Copyright Annotation Best Practices
Checklist before merging
Make sure to have followed the contributing guidelines before submitting.