Skip to content

Conversation

@g-raman
Copy link
Contributor

@g-raman g-raman commented Oct 29, 2025

No description provided.

@g-raman g-raman requested a review from lgh-solace October 29, 2025 19:34
@g-raman g-raman self-assigned this Oct 29, 2025
@github-actions
Copy link

github-actions bot commented Oct 29, 2025

WhiteSource Policy Violation Summary

✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-ui-pr-469!

@github-actions
Copy link

WhiteSource Policy Violation Summary

✅︎ No Blocking Whitesource Policy Violations found in solaceai/solace-agent-mesh-pr-469!

import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "@/lib/components/ui/dialog";
import type { ButtonVariant } from "@/lib/types/ui";

interface ConfirmationDialogProps {
Copy link
Collaborator

Choose a reason for hiding this comment

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

For the moment, let's just move these three:

  • ConfirmationDialog
  • ErrorDialog
  • LoadingBlocker

Then, in a related task, do an audit of the community code and use these components where applicable.

onClose: () => void;
}

export const ErrorDialog: React.FC<ErrorDialogProps> = ({ title, error, errorDetails, onClose }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ditto for this component, feel free to improve.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i didn't use a dialog trigger and left it open by default because i assume you wouldn't click into an error dialog

confirmVariant?: ButtonVariant;
}

export const ConfirmationDialog: React.FC<ConfirmationDialogProps> = ({ title, message, onClose, onConfirm, confirmVariant = "default" }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Feel free to improve this implementation!

  • Take in optional DialogTrigger
  • Use DialogFooter and DialogClose

@g-raman g-raman changed the title chore(DATAGO-115916): migrate enterprise reusable components chore(DATAGO-115917): migrate enterprise reusable components Nov 4, 2025
@g-raman g-raman force-pushed the raman/ai-115916/migrate-enterprise-reusable-components branch from e7d72fa to b282f6c Compare November 4, 2025 15:06
@g-raman g-raman requested a review from lgh-solace November 4, 2025 15:07
Copy link
Collaborator

@lgh-solace lgh-solace left a comment

Choose a reason for hiding this comment

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

Thanks! Please don't merge until after GA. 🙏

@sonarqube-solacecloud
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@g-raman g-raman merged commit f845cd3 into main Nov 10, 2025
20 of 22 checks passed
@g-raman g-raman deleted the raman/ai-115916/migrate-enterprise-reusable-components branch November 10, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants