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
Added CowDeathTable react component, storybook, fixures and tests #53
Conversation
storybook didn't run so I ran npm install again, the diff is probably due to me running node v19. Deleting this lock file
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.
I approve
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.
I am confused by why the header for one of the columns in CowDeathTable.js is 'ZonedDateTime' rather than something like 'Created At.' I understand it is technically in the spec but it seems like a typo and would be confusing to a user.
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
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
In this commit, I added the CowDeathTable react component (frontend) only with no endpoints (those are for other issues), a storybook component along with fixtures, and tests.
Closes #50
Storybook entry:
https://ucsb-cs156-f22.github.io/f22-7pm-happycows-docs-qa/storybook-qa/Minh-CowDeathTable/?path=/story/components-cowdeaths-cowdeathtable--five-user-commons
Below are images as shown via the storybook