Skip to content
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

feat: hook up project resources API to resources widget #8657

Merged

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Nov 5, 2024

This PR wires up the connectedenvironments data from the API to the resources widget.

Additionally, it adjusts the orval schema to add the new connectedEnvironments property, and adds a loading state indicator for the resource values based on the project status endpoint response.

As was discussed in a previous PR, I think this is a good time to update the API to include all the information required for this view. This would get rid of three hooks, lots of loading state indicators (because we can do them individually; check out 0a334f9) and generally simplify this component a bit.

Here's the loading state:
image

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2024 1:43pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 5, 2024 1:43pm

Copy link
Contributor

github-actions bot commented Nov 5, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@thomasheartman thomasheartman merged commit 2b13aff into main Nov 5, 2024
12 checks passed
@thomasheartman thomasheartman deleted the feat/1-3063-add-connected-envs-data-project-resources branch November 5, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants