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-16986 Resources & Support landing and taxonomy pages - add web components #28236
Conversation
@@ -35,59 +31,5 @@ describe('ResourcesAndSupportSearchApp', () => { | |||
it('creates a landmark for the search form', async () => { | |||
const screen = renderInReduxProvider(<ResourcesAndSupportSearchApp />); | |||
await screen.findByLabelText('Enter a keyword, phrase, or question'); | |||
|
|||
screen.getByRole('search'); | |||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed because now the search input is in the shadow DOM and we can't test much in unit tests.
6b36f99
to
f5d1673
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Great work!
f5d1673
to
b7506d9
Compare
@laflannery This is ready for your review, please |
@randimays Can we make these updates:
I also have some questions on if some elements should be components, I want to make sure we aren't missing these:
|
Done
Done
Done
Done
These are all content-build changes (this is a vets-website specific PR). I'll address these in the content-build PR I mentioned in Slack. |
@chriskim2311 Do you mind re-reviewing please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…components (#28236) * VACMS-16986 Resources & Support landing page web components * fixing style issues * feedback updates * fixing unit test
Summary
Add web components for Resources & Support landing page where possible. Required a decently-sized refactor of the existing search component since we switched over to v3.
Related issue(s)
Testing done
Tested locally.
Screenshots
Alert
Link
1.2.
Search input
Radio buttons
Button: the only remaining
<button>
is the mobile expand/collapse behavior for the search bar. This shouldn't be a<va-button>
because stylistically, this is not similar to the design system button component.Acceptance criteria
Quality Assurance & Testing
Error Handling