feat: add env group management#94
Merged
Merged
Conversation
Deploying deploys-app--console with
|
| Latest commit: |
6f7efd9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7506b0b2.deploys-app--console.pages.dev |
| Branch Preview URL: | https://claude-tender-kowalevski-079.deploys-app--console.pages.dev |
Adds a console UI for the EnvGroup API: list, create, update (full override), and delete project-scoped environment variable groups. The create form doubles as the update form (mirroring the role pattern) and reuses the deployment env editor (table rows + optional text-area). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds envGroup to the audit-log RESOURCE_TYPES list so users can filter audit events by env group activity now that the resource is manageable from the console. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1a78fa4 to
2f8247a
Compare
Adds env group selection to the deploy form (multi-select with permission fallback to a free-text input), pre-fills it from the existing revision, and renders the attached env groups as links on the deployment detail page. Sends envGroups as a full override on deployment.deploy. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EnvGroupAPI (/Users/acoshift/Projects/deploys-app/api/envgroup.go): list, create, update, and delete project-scoped env groups.src/routes/(auth)/(project)/env-group/— list page plus a single create/update form (mirrors the role pattern). Update sends the fullenvmap so the API overrides existing values.fa-cogicon).Api.EnvGrouptosrc/types/api.d.ts, asampleEnvGroupfixture, defaultenvGroup.listmock, and Playwright coverage for list / empty / update-prefill.Test plan
bun checkcleanbun lintcleanbun run buildsucceedsbun run test tests/env-group.spec.js— 3 passedAPI_ENDPOINTNotes
tests/deployment.spec.js"add, remove, and cap at two sidecars" failure also fails onmainand is unrelated to this change.🤖 Generated with Claude Code