Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: Improve the load state for the list pages#1428

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 10 commits intomainfrombq/refactor-full-page-loader-design
May 13, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

  • The old loading state was blocking the full page and it was not looking quite good so I fixed it as a brain break
  • UpdatedWorkspacesPage andWorkspacePage to use not use the customTable component and created the componentsWorkspacesTable andTemplatesTable with related storybooks covering theempty,default andloading states so we can trust on storybook to test them for us.
  • I also made some minor updates in the EmptyState to looks slightly better.

@BrunoQuaresmaBrunoQuaresma self-assigned thisMay 13, 2022
@BrunoQuaresmaBrunoQuaresma requested review frompresleyp anda team ascode ownersMay 13, 2022 17:03
@codecov
Copy link

codecovbot commentedMay 13, 2022
edited
Loading

Codecov Report

Merging#1428 (f52bb68) intomain (9410237) willdecrease coverage by0.08%.
The diff coverage is27.65%.

@@            Coverage Diff             @@##             main    #1428      +/-   ##==========================================- Coverage   67.26%   67.18%   -0.09%==========================================  Files         288      291       +3       Lines       19422    19452      +30       Branches      244      258      +14     ==========================================+ Hits        13065    13068       +3- Misses       5019     5046      +27  Partials     1338     1338
FlagCoverage Δ
unittest-go-macos-latest54.17% <ø> (+0.06%)⬆️
unittest-go-postgres-65.68% <ø> (-0.07%)⬇️
unittest-go-ubuntu-latest56.65% <ø> (+0.04%)⬆️
unittest-go-windows-202252.60% <ø> (-0.04%)⬇️
unittest-js74.73% <27.65%> (-0.54%)⬇️
Impacted FilesCoverage Δ
...e/src/components/TemplatesTable/TemplatesTable.tsx0.00% <0.00%> (ø)
...src/components/WorkspacesTable/WorkspacesTable.tsx0.00% <0.00%> (ø)
...ges/OrganizationPage/TemplatePage/TemplatePage.tsx0.00% <0.00%> (ø)
site/src/pages/TemplatesPages/TemplatesPage.tsx0.00% <0.00%> (ø)
site/src/pages/UsersPage/UsersPageView.tsx94.44% <ø> (ø)
site/src/xServices/users/usersXService.ts72.91% <ø> (ø)
site/src/pages/UsersPage/UsersPage.tsx91.42% <70.00%> (+4.58%)⬆️
site/src/components/UsersTable/UsersTable.tsx96.55% <85.71%> (+0.55%)⬆️
site/src/components/EmptyState/EmptyState.tsx100.00% <100.00%> (+14.28%)⬆️
site/src/components/Loader/FullScreenLoader.tsx100.00% <100.00%> (ø)
... and12 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update9410237...f52bb68. Read thecomment docs.

@BrunoQuaresma
Copy link
CollaboratorAuthor

BrunoQuaresma commentedMay 13, 2022
edited
Loading

Close#1434


{users.length === 0 && (
{users && users.length === 0 && (
Copy link
Member

Choose a reason for hiding this comment

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

Maybe next time we're in here, we can break this file apart a bit.

BrunoQuaresma reacted with thumbs up emoji
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Sure thing.

Copy link
Member

@Kira-PilotKira-Pilot left a comment

Choose a reason for hiding this comment

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

Nice job! This looks good to me.

@BrunoQuaresmaBrunoQuaresma merged commit50ad2f8 intomainMay 13, 2022
@BrunoQuaresmaBrunoQuaresma deleted the bq/refactor-full-page-loader-design branchMay 13, 2022 19:12
@missknissmisskniss added this to theV2 Beta milestoneMay 15, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@Kira-PilotKira-PilotKira-Pilot approved these changes

@presleyppresleypAwaiting requested review from presleyp

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
V2 Beta
Development

Successfully merging this pull request may close these issues.

3 participants
@BrunoQuaresma@Kira-Pilot@misskniss

[8]ページ先頭

©2009-2025 Movatter.jp