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

VACMS-16964 VAMC Locations web components #29634

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

randimays
Copy link
Contributor

@randimays randimays commented May 7, 2024

Summary

Convert facilities names to <va-link> in the Other nearby VA locations section of the Locations page.

Also adds a space to the alert at the bottom of the page that shows when the service fails. We needed a space before the link.

Related issue(s)

Testing done

Tested /huntington-health-care/locations/ locally. This is only for the Other nearby VA locations section

Screenshots

va-link

Screenshot 2024-05-07 at 12 39 29 PM

Bug fix - space between text and link

Before

Screenshot 2024-05-07 at 12 42 27 PM

After

Screenshot 2024-05-07 at 12 43 40 PM

@va-vfs-bot va-vfs-bot temporarily deployed to master/16964-vamc-locations-wc/16964-vamc-locations-wc May 7, 2024 19:41 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/16964-vamc-locations-wc/16964-vamc-locations-wc May 7, 2024 22:54 Inactive
@randimays randimays force-pushed the 16964-vamc-locations-wc branch from 45b7a8f to 9c0380b Compare May 8, 2024 17:49
@randimays randimays force-pushed the 16964-vamc-locations-wc branch from 9c0380b to 047cc84 Compare May 8, 2024 17:49
@@ -29,11 +29,6 @@ describe('facilities <OtherFacilityListWidget>', () => {
tree.update();
expect(tree.find('va-loading-indicator').exists()).to.be.false;

const facilityName = tree.find('h3');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to be removed because now its contents are a web component and we can't assert on the shadow DOM in unit tests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay shadow DOM

Copy link
Contributor

@eselkin eselkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laflannery
Copy link

LGTM

@randimays randimays merged commit c32d890 into main May 9, 2024
86 checks passed
@randimays randimays deleted the 16964-vamc-locations-wc branch May 9, 2024 14:38
agravell047 added a commit that referenced this pull request May 13, 2024
* removed code + update breadcrumb

* added link for mobile

* removed link

* updated links

* updated tests

* update tests

* cypress fixes

* MHV-58096/revert-rx-breadcrumbs

* Direct Veterans to call their provider/facility to update contact (#29623)

* direct Veterans to call their provider/facility to update contact

* update unit test

* adjusting for tests

* adjusting for tests

* adjusting for tests?

* change href to <a> element

* fix for href

* fix for test

* fix for test?

* add accessibility items

* swap out va-link for a element

* update link

* Vye 381 login accounts alert (#29659)

* VYE-381 added login alert for direct dopist when user login without using ID.me

* fixed failling usint tests

* fixed failling cypress tests

* 82689 - [CDP] - Aria Va-Row Attribute Missing Breaking Tests (#29672)

* Remove table role as there is no precedent in app for using it with platform component and any combination of rowgroup and row roles inside it did not satisfy test.

* Fix broken unit test

* About Medications page: In the event the API call fails, we need to p… (#29210)

* About Medications page: In the event the API call fails, we need to provide an error

* e2e error message for list page api

added test to validate error message for list page api call failure

* fix the bug on breadcrumb

* e2e refill page api call

added test to verify error message for refill page api call failure

* resolve the feedback

* resolve the feedback

* display the error message when  api call fails

* unit test fix

* unit test fix

* e2e updates

test updates to include network and element locators

* unit test error

* eslint fix

* eslint error

* eslint fix

---------

Co-authored-by: raji.venkatesh <[email protected]>

* Removed account number from copay summary page as it's unique to each va location (#29678)

* added email transform (#29670)

* added primary contact info to submit transformer (#29679)

* update-rx-icons (#29664)

* updated icons

* updated icons

* removed unnecessary text

* adjusted keynames and added some logging (#29646)

* Add textUI textareaUI + mock form cleanup (#29658)

* add textUI and textareaUI

* cleanup mock form

* VACMS-16964 VAMC Locations web components (#29634)

* [mhv-57073] added spacing to about page. (#29647)

* [mhv-57073] added spacing according to ucd specifications.

* [mhv-57073] added left and right spacing to all pages.

* [mhv-57073] fixed issue with top margin on h2 found by ucd after validating.

* [mhv-57073] used small screen breakpoint instead of medium screen for h1.

* Re-enable VAOS skipped tests (#29595)

* Re-enable all skipped tests

* Fix UpcomingAppointmentList tests

* Remove redundant UrlAndPageTitleChange tests

* Remove redundant TextareaWidget test

* Re-enable ReasonForAppointmentPage test

* Remove duplicated test with identical ids

* Fix TypeOfVisitPage tests

* Fix ClosestCityStatePage tests

* Remove CommunityCarePreferencesPage tests

* Fix flaky test

* Fix CommunityCareProviderSelectionPage tests

* Fix flaky TypeOfVisitPage tests

* Update ClinicChoicePage tests

* Skip flaky test

* Add note for VAFacilityPage test

* Fix DateTimeSelectPage tests

* Re-enable skipped tests

* Revert test change for CI

* Fix last DateTimeSelectPage test

* Address feedback

* Update test issue link

* Remove AppointmentCard

* Consolidate and rename AppointmentPage unit tests

* Update reducer logic

* added back link to details page for desktop view

* updated tests, added link for desktop details page

* fixed scss

* removed specific styles for mobile link

* breadcrumb e2e fixes

* adding their relationship to vet page (#29621)

* MHV-57564: About Medications content and layout updates (#29611)

* MHV-57564: About Medications content and layout updates

* Layout update (lost in merge)

* MHV-57108: "Show medications in this order" should span the width of the field and button below

* Add UploadPage and basic uploading functionality (#29657)

* Add UploadPage and basic uploading functionality

* add scss file

* Use different uploader and add tests

* Remove reducers

* remove a test

* Use history.goBack instead of redirect

* fix downtime banners (#28727)

* MBMS-43498 Pre-need-integration non veteran military history updates (#29630)

* MBMS-43498 Pre-need-integration non veteran military history updates

* MBMS-43498 Initial version of complete content changes

* MBMS-43498 POR/UI/UX Review changes

* MBMS-43498 Fixed unit tests

* 82039 improve unit test coverage for form 10-7959c (#29613)

* simplified schema access in form config

* added some title/depends testing

* improved coverage of depends functions

* updated documentation on missingfile comp

* removed unused constants, added tests for transformers + missingfileoverview

* render test for confirmation page + removed unnecessary conditonals

* helper unit tests

* more coverage

* added readme and updated test to check certifier branch

* more coverage

* final coverage

* fix array builder alert issues (#29715)

* fix array builder alert issues

* [CST] - Created diagram and new overview header (#29707)

* created diagram and new overview header

* add tests and add feature flag

* add tests

* updated SIP messaging and fixed SSN bug with prefill (#29720)

* MHV-57094 All text should be aligned and not start under the checkboxes (#29654)

* MHV-57094 resolve the feedback

* resolve the feedback

* - remove duplicate API endpoint calls (#29719)

(for future appointments and unread messages)
- cleanup

* Ask VA 878 - Design Changes for Relationships - "More about your relationship to the Veteran" (#29638)

* updated Veteran date of death page UI and test

* update UI per figma, add test file, rename according to figma description

* removed styles

---------

Co-authored-by: Aaron Read <[email protected]>
Co-authored-by: James Zaccardo <[email protected]>
Co-authored-by: wafimohamed <[email protected]>
Co-authored-by: Brandyn Sullins <[email protected]>
Co-authored-by: gerard-sullivan <[email protected]>
Co-authored-by: raji.venkatesh <[email protected]>
Co-authored-by: Joseph Lee <[email protected]>
Co-authored-by: Michael Clement <[email protected]>
Co-authored-by: Robert Hasselle <[email protected]>
Co-authored-by: Randi Mays <[email protected]>
Co-authored-by: robertbylight <[email protected]>
Co-authored-by: John Luo <[email protected]>
Co-authored-by: Edwin Otero <[email protected]>
Co-authored-by: Vitalii Menshutin <[email protected]>
Co-authored-by: Eric Tillberg <[email protected]>
Co-authored-by: Caitlin <[email protected]>
Co-authored-by: ConnorJeff <[email protected]>
Co-authored-by: Peri-Ann McLaren <[email protected]>
Co-authored-by: allisonlu <[email protected]>
Co-authored-by: Hemesh Patel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants