You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR adds upload support to the overview page; enabling drag n drop or pasting .env, csv, json or yml files and uploading them to one or more environments.
Screenshots
Steps to verify the change
Verify you can drag and drop, file select and parse all file types (csv, env, json and yml)
verify empty display (no resources in env and dropdown upload button)
verify you can upload to one or more environments
verify the overwrite toggle behavior (enabled and disabled)
Title follows the conventional commit format: type(scope): short description (scope is optional, e.g., fix: prevent crash on sync or fix(api): handle null response).
This PR adds “upload/import secrets” support to the Secret Manager Overview page by introducing a dropzone flow (drag/drop, file picker, paste), parsing supported file formats (env/csv/json/yml), mapping CSV columns, and then uploading secrets to one or more environments. It also includes small supporting updates to shared UI components (Dialog/Field/TextArea/ReactSelect components) and updates dependencies in the frontend lockfile.
The new feature is wired into the Overview page’s existing resource/secret UX by adding a SecretDropzone component and related dialogs/modals to the Overview page component tree and export indices, so users can import secrets without navigating away from Overview.
Confidence Score: 2/5
This PR should not be merged yet because the core import/upload flow needs additional verification for correctness and safety around parsing and permission gating.
The change introduces new, user-input-driven parsing and bulk secret creation paths in multiple UI components. Without concrete verification of required-field validation, file/type handling, and permission-gated actions in the import modal/dropzone codepaths, there’s a material risk of broken imports or unintended uploads. Once these edge cases are validated and any issues addressed, the change should be safe.
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
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.
Context
This PR adds upload support to the overview page; enabling drag n drop or pasting .env, csv, json or yml files and uploading them to one or more environments.
Screenshots
Steps to verify the change
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).