Skip to content

chore: cleaning up workspaces table code #2765

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 2 commits into from
Jun 30, 2022

Conversation

Kira-Pilot
Copy link
Member

Some quality of life improvements so we don't have 300 line files. Also the table state is in a better place now - before we had a brief moment of skipping loading or empty state so the table body would be missing entirely.

@Kira-Pilot Kira-Pilot requested a review from a team as a code owner June 30, 2022 20:05
@Kira-Pilot Kira-Pilot changed the title cleaning up workspace table code cleaning up workspaces table code Jun 30, 2022
@Kira-Pilot Kira-Pilot changed the title cleaning up workspaces table code chore: cleaning up workspaces table code Jun 30, 2022
Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like mostly moving things around and breaking things into smaller components. Nice work 🙌🏼

@@ -47,7 +47,7 @@ export const UsersTableBody: FC<UsersTableBodyProps> = ({
return <TableLoader />
}

if (!users || users.length === 0) {
if (!users || !users.length) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍🏼!

Co-authored-by: Joe Previte <jjprevite@gmail.com>
@Kira-Pilot Kira-Pilot merged commit ae59f16 into main Jun 30, 2022
@Kira-Pilot Kira-Pilot deleted the workspaces-table-cleanup/kira-pilot branch June 30, 2022 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants