upcoming: [M3-7616] - Add Placement Groups Events and Notifications#10221
Merged
carrillo-erik merged 7 commits intolinode:developfrom Mar 8, 2024
Merged
upcoming: [M3-7616] - Add Placement Groups Events and Notifications#10221carrillo-erik merged 7 commits intolinode:developfrom
carrillo-erik merged 7 commits intolinode:developfrom
Conversation
carrillo-erik
commented
Feb 22, 2024
Contributor
abailly-akamai
left a comment
There was a problem hiding this comment.
Next step is to add toast notification (at the react query level (onSuccess) related to those events
Contributor
abailly-akamai
left a comment
There was a problem hiding this comment.
@carrillo-erik I am not seeing the toast notifications
Contributor
Author
@abailly-akamai Please review the latest changes. |
|
Coverage Report: ❌ |
abailly-akamai
approved these changes
Mar 1, 2024
Contributor
abailly-akamai
left a comment
There was a problem hiding this comment.
Thanks for the changes - all looks good here ✅
abailly-akamai
approved these changes
Mar 1, 2024
bnussman-akamai
approved these changes
Mar 5, 2024
|
|
||
| const onDelete = async () => { | ||
| await deletePlacementGroup(); | ||
| const toastMessage = `Placement Group successfully deleted.`; |
Member
There was a problem hiding this comment.
Suggested change
| const toastMessage = `Placement Group successfully deleted.`; | |
| const toastMessage = 'Placement Group successfully deleted.'; |
|
|
||
| const onUnassign = async () => { | ||
| await unassignLinodes(payload); | ||
| const toastMessage = `Linode successfully unassigned`; |
Member
There was a problem hiding this comment.
Suggested change
| const toastMessage = `Linode successfully unassigned`; | |
| const toastMessage = 'Linode successfully unassigned'; |
vrajesh73
added a commit
to vrajesh73/manager
that referenced
this pull request
Mar 12, 2024
…eature/namespace-create * 'develop' of https://github.com/vrajesh73/manager: (89 commits) fix: [M3-7269] - Display parent email in user menu when no company name is available for restricted parent user (linode#10248) fix: [M3-7817] - Show correct status of Child Account Enabled column for parent users (linode#10233) upcoming: [M3-7616] - Add Placement Groups Events and Notifications (linode#10221) upcoming: [M3-7816-v2] - Adjust logic for when to show Switch Account button (linode#10266) fix: [M3-7831] - Persisting error messages in ACLB delete dialogs (linode#10254) upcoming: [M3-7842] - Update Assign Linode Drawer and improve query skipping (linode#10263) upcoming: [M3-7704] - Disable Cloning, Private IP, Backups for edge regions (linode#10222) test: Fix test flake for Images landing page test (linode#10267) fix: [M3-7824] - ACLB TCP Rule Creation and other fixes (linode#10264) refactor: [M3-7687] - Linodes Restricted User Experience 2/2 (linode#10227) test: Resolve OBJ create and delete E2E test flake (linode#10245) upcoming: [M3-7723] - Placement Group feature flag as object (linode#10256) chore(deps): Bump sanitize-html from 2.11.0 to 2.12.1 (linode#10247) change: [M3-7813] - Allow the disabling of the TypeToConfirm input (linode#10251) upcoming: [M3-7839] - Change Business Partner to Parent User (linode#10259) upcoming: [M3-7835] - Adjust user table column count (linode#10252) upcoming: [M3 7738] - Update Placement Group Create & Edit Drawers (linode#10205) refactor: [M3-7437] - Use `@lukemorales/query-key-factory` for Profile Queries (linode#10241) fix: React Query `updateInPaginatedStore` helper function not working as expected (linode#10249) test: [M3-7497] - Add tests for child user verification banner (linode#10204) ... # Conflicts: # packages/manager/src/MainContent.tsx # packages/manager/src/dev-tools/FeatureFlagTool.tsx
This was referenced Mar 18, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description 📝
This PR adds events and notifications for actions related to Placement Groups.
⚠️ Some of the copy is still being discussed and will be updated in the future on a separate PR.
⚠️ There is still ongoing discussion with regards to events with compliance, this will also be addressed in the near future.
Changes 🔄
The following events have been added to the
eventMessageGenerator.tsfile.placement_group_assignplacement_group_createdplacement_group_assignedplacement_group_unassignedplacement_group_updatedplacement_group_deletedThe following notifications have been added to the
serverHandlers.tsfile.placementGroupCreateEventplacementGroupAssignedEventTarget release date 🗓️
Please specify a release date to guarantee timely review of this PR. If exact date is not known, please approximate and update it as needed.
Preview 📷
How to test 🧪
Prerequisites
Verification steps
NotificationsMenu.As an Author I have considered 🤔