-
Notifications
You must be signed in to change notification settings - Fork 391
upcoming: [DI-29059] - Add delete action for user alert channels #13256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
upcoming: [DI-29059] - Add delete action for user alert channels #13256
Conversation
…e/delete_notification_channel_aclp
| data-qa-notification-channel-action-cell={`notification-channel-${id}`} | ||
| > | ||
| <NotificationChannelActionMenu | ||
| alertsCount={alerts.length} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a dependency on this line. Yesterday I merged a PR to the release branch directly. #13254. It contains the changes regarding the latest API specification changes for Notification Channels. So this will break when the API changes.
So will hold off on merging this PR until the release is back-merged .
| React.useState<NotificationChannel | null>(null); | ||
| const [deleteState, setDeleteState] = React.useState({ | ||
| isDialogOpen: false, | ||
| isDeleting: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Managing isDeleting in state is okay but may be unnecessary. The useDeleteNotificationChannel mutation hook will return an isPending value that could be used instead to track the loading state.
…e/delete_notification_channel_aclp
Cloud Manager UI test results🎉 855 passing tests on test run #4 ↗︎
|
Description 📝
Add delete action for user alert channels.
Changes 🔄
TypeToConfirmDialogcomponentuseDeleteNotificationChannel) with optimistic cache updatesScope 🚢
Upon production release, changes in this PR will be visible to:
Target release date 🗓️
28 Jan 2026
Preview 📷
How to test 🧪
Verification steps
https://www.figma.com/design/26kXnWVNU5tK2xQdDdISuC/Custom-Alerts?node-id=7418-38705&t=YhSM9MnUVbY3hAMv-1
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅