Skip to content

Feature/display new request deletion dialog#22

Merged
ivan-risueno merged 6 commits into
masterfrom
feature/display-new-request-deletion-dialog
May 6, 2026
Merged

Feature/display new request deletion dialog#22
ivan-risueno merged 6 commits into
masterfrom
feature/display-new-request-deletion-dialog

Conversation

@ivan-risueno
Copy link
Copy Markdown
Contributor

No description provided.

id: '',
read: false,
subject: 'only_toast',
title: 'The request has successfully been sent. Support will receive a Service Now ticket and manage the component deletion.'
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.

We would need to still display this message if the flow goes through the incident. So 2 different messages for the 2 different scenarios.
Also in this method, the incidentParams should only be fulfilled in that case, in the automatic deletion scenario, it should be an empty array.

return;
}

const dialogRef = this.dialog.open(RequestDeletionDialogComponent, {
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.

You could include a unit test that verifies that depending on the property opens one or the other dialog

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@ivan-risueno ivan-risueno merged commit 47bac62 into master May 6, 2026
2 checks passed
@ivan-risueno ivan-risueno deleted the feature/display-new-request-deletion-dialog branch May 6, 2026 09:03
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.

2 participants