8 add helprequest component to storybook along with fixtures #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #8
HelpRequestsTable.js
file infrontend/main/components/HelpRequests
.helpRequestsFixtures.js
file infrontend/src/fixtures
with an exampleoneHelpRequest
and an examplethreeHelpRequests
.HelpRequestsTable.stories.js
file infrontend/src/stories/components/Articles
.HelpRequests
Folder with aHelpRequestsTable
inside withEmpty
,Three Articles
, andThree Help Requests as Admin
.Empty
is clicked there is a table with all of the headers of an article but with no items in the table.Three Help Requests
is clicked there is a table with all of the headers of an article with three items in the table with the correct values corresponding to the values in thearticlesFixtures.js
file.HelpRequestsTable.test.js
that testsHelpRequests.js
.