Skip to content

🐛 Fix: Broken logic in Org. member loading state #18555

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

Conversation

Siddhant-K-code
Copy link
Member

@Siddhant-K-code Siddhant-K-code commented Aug 19, 2023

Description

This PR addresses the issue of a misleading infinite spinner on the "Members" list within single-person Organizations. The fix aims to provide an accurate loading state representation for a better user experience.

Before After
image image
Summary generated by Copilot

🤖 Generated by Copilot at 5df6761

Improved the user interface of the Members component in the dashboard. Added feedback for loading and empty states.

Related Issue(s)

Fixes EXP-419 : Fix organization members loading state

How to test

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@svenefftinge
Copy link
Contributor

svenefftinge commented Aug 21, 2023

how do you end up on an org without members?

@Siddhant-K-code
Copy link
Member Author

how do you end up on an org without members?

yeah in Named/"Siddhant Khare"'s Org, we always have a single person who is a Owner, but the Owner doesn't show up in the Members filter (which is kinda technically correct though , but this filter confusing for single person organization)

Screen.Recording.2023-08-21.at.1.16.34.PM.mov

@Siddhant-K-code
Copy link
Member Author

/unhold

@svenefftinge
Copy link
Contributor

Thanks! didn't realize the filter bit

@roboquat roboquat merged commit 832e406 into main Aug 21, 2023
@roboquat roboquat deleted the siddhant/exp-419-fix-organization-members-loading-state branch August 21, 2023 07:50
@laushinka
Copy link
Contributor

the Owner doesn't show up in the Members filter

TIL. Thank you for catching this, @Siddhant-K-code!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants