-
-
Notifications
You must be signed in to change notification settings - Fork 115
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): Add variable to a project #588
feat(platform): Add variable to a project #588
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
be96aad
to
a9fc39e
Compare
User description
Description
This PR adds the feature of adding a new variable to a project.
Fixes #559
Dependencies
No dependencies
Future Improvements
Mentions
@rajdip-b @kriptonian1
Screenshots of relevant screens
Add screenshots of relevant screens
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement
Description
VariableController
.SecretController
and updated the data handling to match the new API structure.VariablePage
component into the project layout and updated project fetching logic to useProjectController
.slug
instead ofid
for navigation.Changes walkthrough 📝
page.tsx
Refactor secret fetching to use SecretController API
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
Secrets
withSecretController
from@keyshade/api-client
.getAllSecretsOfProject
.page.tsx
Add new variable creation feature with UI dialog
apps/platform/src/app/(main)/project/[project]/@variable/page.tsx
VariableController
to handle variable creation.layout.tsx
Integrate VariablePage and refactor project fetching
apps/platform/src/app/(main)/project/[project]/layout.tsx
VariablePage
component for variable management.ProjectController
.index.tsx
Update project card link to use slug
apps/platform/src/components/dashboard/projectCard/index.tsx
slug
instead ofid
.combobox.tsx
Clean up unused imports in combobox component
apps/platform/src/components/ui/combobox.tsx
api-client.ts
No changes in API client file
apps/platform/src/lib/api-client.ts
workspace-storage.ts
No changes in workspace storage file
apps/platform/src/lib/workspace-storage.ts