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

enhancement: Environment view now show variable count #340

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HugoRCD
Copy link
Owner

@HugoRCD HugoRCD commented Nov 27, 2024

Fixes #339

Enhance the environments view to display the number of variables associated with each environment.

  • Modify apps/shelve/server/api/environments/index.get.ts to fetch environments with variable counts.
  • Update apps/shelve/app/pages/environments.vue to display the variable count for each environment in the table.
  • Add a method in apps/shelve/server/services/environments.ts to get the variable count for each environment and include it in the environment data.

For more details, open the Copilot Workspace session.

Fixes #339

Enhance the environments view to display the number of variables associated with each environment.

* Modify `apps/shelve/server/api/environments/index.get.ts` to fetch environments with variable counts.
* Update `apps/shelve/app/pages/environments.vue` to display the variable count for each environment in the table.
* Add a method in `apps/shelve/server/services/environments.ts` to get the variable count for each environment and include it in the environment data.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HugoRCD/shelve/issues/339?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

cloudflare-workers-and-pages bot commented Nov 27, 2024

Deploying shelve with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7f41f1a
Status:🚫  Build failed.

View logs

@vercel vercel bot temporarily deployed to Preview – shelve-lp November 27, 2024 18:10 Inactive
Copy link

github-actions bot commented Nov 27, 2024

Thank you for following the naming conventions! 🙏

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.

enhancement: Return how many variables are associated with a given env
1 participant