Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Enhance the Create Workload Option & and Added new Option Deploy from helm charts, Enhance Workload Details Panel ! - #426

Merged
clubanderson merged 38 commits into
kubestellar:devfrom
onkar717:feat-13-wds
Mar 28, 2025
Merged

clubanderson merged 38 commits into
kubestellar:devfrom
onkar717:feat-13-wds

Conversation

@onkar717

@onkar717 onkar717 commented Mar 28, 2025 •

Copy link
Copy Markdown
Contributor

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

  • Added an option to deploy workloads using a Helm chart.
  • Improved the Workload Details Panel.
  • Refactored UI components for consistency.
  • Added new Feature Create Namespace Automatically.

Checklist

Please ensure the following before submitting your PR:

  • I have reviewed the project's contribution guidelines.
  • I have written unit tests for the changes (if applicable).
  • I have updated the documentation (if applicable).
  • I have tested the changes locally and ensured they work as expected.
  • My code follows the project's coding standards.

Screenshots or Logs (if applicable)

onkar717 added 30 commits March 13, 2025 23:20
…t is added, enhance the workload details pannel
@MAVRICK-1
MAVRICK-1 requested a review from Copilot March 28, 2025 13:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 *

Copilot AI Mar 28, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider changing 'Github Username *' to 'GitHub Username *' to maintain consistency in capitalization.

Suggested change
Github Username *
GitHub Username *

Copilot uses AI. Check for mistakes.
},
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderColor: "#1976d2",
borderWidth: "1x",

Copilot AI Mar 28, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The borderWidth value '1x' is likely a typo. It should be '1px' to correctly apply the style.

Suggested change
borderWidth: "1x",
borderWidth: "1px",

Copilot uses AI. Check for mistakes.
export const getWebhookAndCredentialDialogPaperProps = (theme: string) => {
return {
style: {
backgroundColor: theme === "dark" ? "#1F2937" : "fff",

Copilot AI Mar 28, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The light mode color value 'fff' should include a '#' prefix, i.e. '#fff'.

Suggested change
backgroundColor: theme === "dark" ? "#1F2937" : "fff",
backgroundColor: theme === "dark" ? "#1F2937" : "#fff",

Copilot uses AI. Check for mistakes.
Comment thread src/components/CreateOptions.tsx Resolved
@github-actions github-actions Bot added the backend Issues or PRs related to the low-level API machinery for KubeStellar label Mar 28, 2025
@github-actions github-actions Bot removed the backend Issues or PRs related to the low-level API machinery for KubeStellar label Mar 28, 2025
@MAVRICK-1

Copy link
Copy Markdown
Contributor

@clubanderson lgtm , it's good to go

@clubanderson
clubanderson merged commit 28624e6 into kubestellar:dev Mar 28, 2025
@github-project-automation github-project-automation Bot moved this from In Progress to Done in KubeStellar UI Project Mar 28, 2025
Per0x1de-1337 pushed a commit to Per0x1de-1337/ui that referenced this pull request Jun 2, 2025
clubanderson pushed a commit to clubanderson/ui that referenced this pull request Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants