Skip to content

Imported repos list empty state updates #19096

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 4 commits into from
Nov 20, 2023
Merged

Conversation

selfcontained
Copy link
Contributor

@selfcontained selfcontained commented Nov 20, 2023

Description

This makes some updates to the empty states of the Imported Repos list.

No imported repos No matches Loaded all results
image image image
Summary generated by Copilot

🤖[deprecated] Generated by Copilot at b1260de

Refactored the repository list page and its components to improve the search and filter functionality, the code structure, and the user interface. Extracted the RepositoryTable and RepoListEmptyState components to separate files and simplified the useListConfigurations hook.

Related Issue(s)

Fixes EXP-932

How to test

  • You can join my org to have > 1 page of results.
  • Test loading more. You should see the all results loaded message after you've loaded them all instead the load more button.
  • Try searching for asdf - you should see the no matching results message
  • Check the repo list for your org when there are no imported repos and you should see the empty state.

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
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • 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

Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

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

:shipit:

<div className={cn("w-full flex justify-center mt-2 rounded-xl bg-gray-100 dark:bg-gray-800 px-4 py-20")}>
<div className="flex flex-col justify-center items-center text-center space-y-4">
<Heading2>No repositories yet</Heading2>
<Subheading className="max-w-md">
Copy link
Member

Choose a reason for hiding this comment

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

Could we change the color in dark mode for more contrast?
image

Copy link
Member

@filiptronicek filiptronicek Nov 20, 2023

Choose a reason for hiding this comment

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

It applies to this as well 🙏

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. I think I'm going to look at swapping all our headings to the podkit ones to at least get that stuff cleaned up and using the updated components.

Load more
</LoadingButton>
) : (
hasMoreThanOnePage && <TextMuted>All repositories are loaded</TextMuted>
Copy link
Member

Choose a reason for hiding this comment

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

We could get really cheesy here one day 😄

@selfcontained
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit b9189bf into main Nov 20, 2023
@roboquat roboquat deleted the brad/configs-empty-state branch November 20, 2023 21:55
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.

3 participants