-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#37602) * migrate post privacy confirmation from `confirm()` to `ConfirmDialog` * simplify ConfirmDialog state using the built in isOpen prop * Clean up ConfirmDialog string Co-authored-by: Marco Ciampini <[email protected]> * implement `handleDialogCancel` callback to improve performance on rerenders * update existing e2e tests to account for new ConfirmDialog when changing post visibility * add test to verify canceling works correctly in the new ConfirmDialog * update XPath to accurately select to correct Cancel button * improve element selectors on new e2e tests Co-authored-by: Marco Ciampini <[email protected]>
- Loading branch information
Showing
2 changed files
with
79 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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