-
-
Notifications
You must be signed in to change notification settings - Fork 131
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(platform): Edit secret in your project #684
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
@poswalsameer can you tell me how did you manage to get rid of cors issue.. i just did the same way as per doc but nestjs backend is not running |
apps/platform/src/components/dashboard/secret/editSecretSheet/index.tsx
Outdated
Show resolved
Hide resolved
@rajdip-b the tab size is 2 in my local. Nothing to commit from my side. |
…index.tsx Co-authored-by: codiumai-pr-agent-free[bot] <138128286+codiumai-pr-agent-free[bot]@users.noreply.github.com>
Need to update the tab size of this file. I'll add this to my to-do |
There were a lot of linting errors in your code. Please make sure to double-check that before pushing the code. |
## [2.11.0-stage.13](v2.11.0-stage.12...v2.11.0-stage.13) (2025-02-05) ### 🚀 Features * **platform:** Edit [secure] in project ([#684](#684)) ([1e34030](1e34030))
🎉 This PR is included in version 2.11.0-stage.13 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
User description
Description
This PR adds the feature of editing a secret in your project.
Mentions
@kriptonian1 @rajdip-b
Screenshots of relevant screens
edit-secret-keyshade.mp4
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement, Bug fix
Description
Added functionality to edit and delete secrets.
EditSecretSheet
for editing secrets.ConfirmDeleteSecret
for deleting secrets with confirmation.Enhanced UI/UX with context menus and improved layouts.
SecretCard
to include context menu for edit/delete options.Fixed state management issues for selected secrets.
selectedSecret
after deletion to avoid stale state.Changes walkthrough 📝
page.tsx
Integrate edit and delete functionality in secret page
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
EditSecretSheet
andConfirmDeleteSecret
components.index.tsx
Add delete confirmation dialog for secrets
apps/platform/src/components/dashboard/secret/confirmDeleteSecret/index.tsx
ConfirmDeleteSecret
component for delete confirmation.index.tsx
Add edit sheet for modifying secrets
apps/platform/src/components/dashboard/secret/editSecretSheet/index.tsx
EditSecretSheet
component for editing secrets.index.tsx
Enhance secret card with context menu and actions
apps/platform/src/components/dashboard/secret/secretCard/index.tsx