Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MHV-55186] Update all V1 components to V3 web components on SM MHV #28504

Closed
wants to merge 42 commits into from
Closed
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
0b7b250
[MHV-55186] Update Message landing components to V3
vsaleem Mar 4, 2024
8af53af
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 5, 2024
97c5991
[MHV-55186] Updated modals, buttons, and dropdowns with uswds
vsaleem Mar 5, 2024
91fcdd4
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 11, 2024
f3e129c
[MHV-55186] Update SM va-components to uswds
vsaleem Mar 12, 2024
f8c6800
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 12, 2024
e5f1783
upd: locators and fix failed tests
fazilqa Mar 12, 2024
2d42ef9
upd: locators and fix failed tests
fazilqa Mar 12, 2024
e3c4798
upd: locators and fix failed tests
fazilqa Mar 12, 2024
1870986
upd: locators and fix failed tests
fazilqa Mar 13, 2024
b4f6b5c
upd: locators and fix failed tests
fazilqa Mar 13, 2024
7843bf9
upd: locators and fix failed tests
fazilqa Mar 13, 2024
20d9637
[MHV-55186] cleanup; added charcount to sm subject input
vsaleem Mar 13, 2024
d12f76e
Merge branch '55186-Update-all-V1-components-to-V6-on-sm-mhv' of http…
vsaleem Mar 13, 2024
ce2fb22
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 15, 2024
5dcbea7
upd: locators and fix failed tests
fazilqa Mar 14, 2024
7340055
upd: temporary skip failed test
fazilqa Mar 14, 2024
2f846eb
upd: unskip the test
fazilqa Mar 15, 2024
d219eab
[MHV-55186] Hotfix to update sm V3 components for release
vsaleem Mar 15, 2024
dc4ddda
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 15, 2024
44954e5
attempt to resolve linting errors
vsaleem Mar 15, 2024
d4fb5cc
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 15, 2024
bc3180e
2nd attempt to fix linting errs
vsaleem Mar 15, 2024
c558765
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 18, 2024
6b4764e
cleanup, added null safety
vsaleem Mar 18, 2024
797fd7d
fix eslint
vsaleem Mar 18, 2024
23d22da
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 18, 2024
fe2c719
[MHV-55186] Added margins between mobile view buttons
vsaleem Mar 18, 2024
6f154d1
cleanup eslint, set dropdown uswds to false
vsaleem Mar 18, 2024
4f4f320
upd: update selectors & refactor
fazilqa Mar 15, 2024
d87023b
upd: update assertions
fazilqa Mar 18, 2024
52e45a4
upd: fix failed test
fazilqa Mar 18, 2024
1ef0dd4
upd: remove skip
fazilqa Mar 18, 2024
9fddf13
[MHV-55186] Removing uswds true tags, no longer needed
vsaleem Mar 18, 2024
0efeccb
Merge branch '55186-Update-all-V1-components-to-V6-on-sm-mhv' of http…
vsaleem Mar 18, 2024
07fc403
Merge branch 'main' into 55186-Update-all-V1-components-to-V6-on-sm-mhv
vsaleem Mar 18, 2024
82d7c10
cleanup
vsaleem Mar 18, 2024
9a08371
cleanup, format components with eslint
vsaleem Mar 18, 2024
b886ef5
cleanup with eslint format
vsaleem Mar 18, 2024
e573e35
cleanup using eslint
vsaleem Mar 18, 2024
fdbb3a6
cleanup files not apart of sm
vsaleem Mar 18, 2024
7320089
cleanup non-sm file
vsaleem Mar 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -73,7 +73,7 @@ const CernerTransitioningFacilityAlert = () => {
() => {
return (
isTranstioningFacility && (
<va-alert status="warning" class="vads-u-margin-y--2">
<va-alert status="warning" class="vads-u-margin-y--2" uswds>
<h1 slot="headline">
Your health facility is moving to My VA Health
</h1>
Expand Down Expand Up @@ -105,7 +105,7 @@ const CernerTransitioningFacilityAlert = () => {
() => {
return (
isTranstioningFacility && (
<va-alert status="warning" class="vads-u-margin-y--2">
<va-alert status="warning" class="vads-u-margin-y--2" uswds>
<h1 slot="headline">
You can’t send messages to some of your care teams right now
</h1>
Expand Down
Expand Up @@ -123,6 +123,9 @@ const AttachmentsList = props => {
{attachFileSuccess &&
attachments.length > 0 && (
<VaAlert
uswds
closeable
closeBtnAriaLabel="Close notification"
aria-live="polite"
aria-label="file successfully attached"
ref={attachFileAlertRef}
Expand All @@ -133,28 +136,12 @@ const AttachmentsList = props => {
full-width="false"
show-icon
status="success"
onCloseEvent={handleSuccessAlertClose}
onCloseEvent={() => {
setAttachFileSuccess(false);
handleSuccessAlertClose();
}}
>
<p className="vads-u-margin-bottom--0">File attached</p>
<button
className="close-success-alert-button vads-u-padding--0p5"
id="close-success-alert-button"
data-testid="close-success-alert-button"
aria-label="Close notification"
type="button"
onClick={() => {
setAttachFileSuccess(false);
handleSuccessAlertClose();
}}
>
<i
className="fas fa-times-circle vads-u-color--black"
style={{ fontSize: '2.4rem' }}
alt="Close notification icon"
aria-hidden="true"
role="presentation"
/>
</button>
<p className="vads-u-margin-y--0">File attached</p>
</VaAlert>
)}

Expand Down
Expand Up @@ -3,6 +3,7 @@ import { VaAdditionalInfo } from '@department-of-veterans-affairs/component-libr

const BeforeMessageAddlInfo = () => (
<VaAdditionalInfo
uswds
trigger="Before you send a message"
disable-analytics={false}
disable-border={false}
Expand Down
Expand Up @@ -28,6 +28,7 @@ const CategoryInput = props => {

{categories?.length > 0 && (
<VaRadio
uswds
required
enable-analytics
data-testid="compose-message-categories"
Expand All @@ -38,10 +39,10 @@ const CategoryInput = props => {
>
{categories?.map((item, i) => (
<VaRadioOption
uswds
data-dd-privacy="mask"
data-testid="compose-category-radio-button"
data-dd-action-name="Compose Category Radio Button"
style={{ display: 'flex' }}
key={i}
label={
RadioCategories[item]
Expand Down