feat: Add Custom Resource Definition (CRD) support with dynamic form generation#64
Open
Chandru03 wants to merge 3 commits intosame7ammar:mainfrom
Open
feat: Add Custom Resource Definition (CRD) support with dynamic form generation#64Chandru03 wants to merge 3 commits intosame7ammar:mainfrom
Chandru03 wants to merge 3 commits intosame7ammar:mainfrom
Conversation
…nd App components: Added menu component as sidebarTab
…orm components; integrated state management and auto-save for CRDs in App component.
…list, editing, viewing, and deletion functionalities in App component; updated ResourceSummary and VisualPreview components to include custom resources; enhanced YAML generation to support custom resources.
✅ Deploy Preview for gorgeous-maamoul-daf273 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Owner
|
Hello @Chandru03 , Thank you for submitting this PR , I have checked this PR and we have sometimes .
Thank you so much . |
Author
|
Thank you so much for your comments on this. I'll definitely try to implement a different approach or fix this issues within the implementation! Once I complete it, can I raise a new Pull Request? |
Owner
|
Hello @Chandru03 , |
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.


🎯 Overview - Issue #42
This PR implements comprehensive support for Custom Resource Definitions (CRDs) and Custom Resource (CR) creation, enabling users to import CRDs and generate Custom Resources through dynamic form generation based on OpenAPI v3 schemas.
✨ Features Added
🔧 CRD Management
🎨 Dynamic Custom Resource Creation
📋 Custom Resource Management
🔗 Integration Features
🛠️ Technical Implementation
Core Components
CrdManager.tsx: CRD import and validation interfaceCrdList.tsx: CRD listing with management actionsCrdSchemaViewer.tsx: Interactive schema visualizationCustomResourceForm.tsx: Dynamic form generator for CR creationCustomResourcesList.tsx: CR management interfaceType Safety
User Experience
🧪 Testing
Manual Testing Completed
Test Cases
Files Changed
New Components
src/components/CrdManager.tsx- CRD import interfacesrc/components/CrdList.tsx- CRD listing and managementsrc/components/CrdSchemaViewer.tsx- Schema visualizationsrc/components/CustomResourceForm.tsx- Dynamic CR form generatorsrc/components/CustomResourcesList.tsx- CR management interfaceUpdated Components
src/App.tsx- Integration of CRD/CR state managementsrc/components/ResourceSummary.tsx- Added CR summarysrc/components/VisualPreview.tsx- CR recognition in diagramssrc/utils/yamlGenerator.ts- CR YAML generation integrationType Definitions
src/types/crd.ts- CRD and CR TypeScript interfaces🎯 Impact
User Benefits
Project Benefits
🔄 Migration Notes
Checklist
🚀 Ready for Review
This implementation provides a complete, production-ready CRD feature that enhances Kube Composer's capabilities while maintaining the project's high standards for code quality and user experience.