Repository navigation
Enhance the Create Workload Option & and Added new Option Deploy from helm charts, Enhance Workload Details Panel ! - #426
Conversation
…handle details of all nodes
…handle details of all nodes
…handle details of all nodes
…date create workload
…oad' button when no tree is present.
…dded loading spiiner
… , logs and delete in wds
…t is added, enhance the workload details pannel
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the Create Workload option by integrating a Helm chart deployment feature and improves the Workload Details Panel with updated UI components and dark mode support.
- Adds support for deploying workloads via Helm charts
- Updates file upload and YAML parsing with a new auto_ns parameter
- Refactors UI elements and adjusts node ID formats in the topology view
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/hooks/queries/useWDSQueries.ts | Adds a new auto_ns query parameter for file uploads |
| src/context/WebSocketProvider.tsx | Adjusts namespace filtering for WebSocket listeners |
| src/components/Workloads/YamlTab.tsx | Integrates an auto-namespace checkbox and updates YAML handling |
| src/components/Workloads/GitHubTab.tsx | Improves form field labeling and input style consistency |
| src/components/Workloads/CancelConfirmationDialog.tsx | Updates dark mode styling and confirmation labeling |
| src/components/Workloads/AddCredentialsDialog.tsx | Revises label text and dark mode adjustments |
| src/components/Wds_Topology/FlowCanvas.tsx | Enhances UI by adding border-radius to the canvas |
| src/components/TreeViewComponent.tsx | Refactors node ID formatting and adds Edit option plus refined deletion logic |
| src/components/StyledComponents.tsx | Updates styled components for dark mode and adjusts dialog paper props |
| src/components/CreateOptions.tsx | Introduces Helm deployment and refactors file and raw YAML upload logic |
Comments suppressed due to low confidence (1)
src/components/Workloads/CancelConfirmationDialog.tsx:50
- Correct the error message to 'Are you sure you want to cancel? Any changes will be lost.' for proper grammar.
Are you sure you want to cancel? Any changes will lost.
| }} | ||
| > | ||
| GitHub Username | ||
| Github Username * |
There was a problem hiding this comment.
Consider changing 'Github Username *' to 'GitHub Username *' to maintain consistency in capitalization.
| Github Username * | |
| GitHub Username * |
| }, | ||
| "&.Mui-focused .MuiOutlinedInput-notchedOutline": { | ||
| borderColor: "#1976d2", | ||
| borderWidth: "1x", |
There was a problem hiding this comment.
The borderWidth value '1x' is likely a typo. It should be '1px' to correctly apply the style.
| borderWidth: "1x", | |
| borderWidth: "1px", |
| export const getWebhookAndCredentialDialogPaperProps = (theme: string) => { | ||
| return { | ||
| style: { | ||
| backgroundColor: theme === "dark" ? "#1F2937" : "fff", |
There was a problem hiding this comment.
The light mode color value 'fff' should include a '#' prefix, i.e. '#fff'.
| backgroundColor: theme === "dark" ? "#1F2937" : "fff", | |
| backgroundColor: theme === "dark" ? "#1F2937" : "#fff", |
Co-authored-by: Copilot <[email protected]>
|
@clubanderson lgtm , it's good to go |
… helm charts, Enhance Workload Details Panel ! (kubestellar#426)
Description
This PR enhances the Create Workload option by adding a new feature to deploy workloads from a Helm chart. Additionally, improvements have been made to the Workload Details Panel for better user experience and consistency.
Changes Made
Checklist
Please ensure the following before submitting your PR:
Screenshots or Logs (if applicable)