-
Notifications
You must be signed in to change notification settings - Fork 148
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
USWDS-Site - Table: Restore standard table and striped table component previews #2143
Conversation
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.
Thanks for fixing this! Confirming it matches what's on wayback machine.
| @@ -4,6 +4,13 @@ type: component | |||
| changelogURL: | |||
|
|
|||
| items: | |||
| - date: NNNN-NN-NN | |||
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.
Flagging this for change before merge.
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.
Thanks for finding and fixing this so quickly, @mahoneycm! Added a couple of small effort fixes for your review.
- Confirmed that all USWDS table variants are represented in uswds-site
- Confirmed that the variants and order match what is found in the wayback machine
- Confirmed that component preview and component code for standard and striped variants match what is found in Storybook
- Confirmed presentation in sidenav
- Found a typo that prevented the link text from appearing. Added a suggestion below.
- Proofed changlog entry for accuracy and typos.
- Added some small notes below.
Co-authored-by: Amy Leadem <93996430+amyleadem@users.noreply.github.com>
Co-authored-by: Amy Leadem <93996430+amyleadem@users.noreply.github.com>
|
@mahoneycm I added a couple of responses to my earlier comments. I am seeing that a couple items didn't get committed. Let me know if you have questions! |
Co-authored-by: Amy Leadem <93996430+amyleadem@users.noreply.github.com>
Co-authored-by: Amy Leadem <93996430+amyleadem@users.noreply.github.com>
|
@amyleadem sorry about that! Changes are committed now! |
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.
Looks good!
Summary
Restore standard table and striped table component previews to guidance page
Related issue
Closes #2140
Preview link
Preview link:
Table →
Problem statement
The Table guidance page was missing the standard and striped component previews and code blocks
Solution
Create standard and striped variant markdown files and component code
includefile.Testing and review
Note: Both standard and striped variants don't appear to ever have had a lead sentence. Left blank for now.
Screenshot
Before opening this PR, make sure you’ve done whichever of these applies to you:
git pull origin [base branch]to pull in the most recent updates from your base and check for merge conflicts. (Often, the base branch ismain).npm testand confirm that all tests pass.