Skip to content

feat(site): Read users into basic UsersTable #981

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

Merged
merged 26 commits into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Storybook tweaks
  • Loading branch information
presleyp committed Apr 13, 2022
commit 272633b3731d81852cd6a001e9913c4627a31c5c
5 changes: 5 additions & 0 deletions site/src/components/UsersTable/UsersTable.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ export const Example = Template.bind({})
Example.args = {
users: [MockUser, MockUser2],
}

export const Empty = Template.bind({})
Empty.args = {
users: [],
}
4 changes: 2 additions & 2 deletions site/src/pages/UsersPage/UsersPageView.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Ready.args = {
users: [MockUser, MockUser2],
pager: MockPager
}
export const Loading = Template.bind({})
Loading.args = {
export const Empty = Template.bind({})
Empty.args = {
users: [],
}