-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-10609: Enhance notification deletion by integrating modal confirmation. #1736
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: 4.6
Are you sure you want to change the base?
Conversation
| const confirmDeleteButton = doc.querySelector('.ibexa-notifications-modal--delete--confirm'); | ||
| const setNotificationId = ({ currentTarget }) => { | ||
| const deleteModal = doc.querySelector('.modal-backdrop.show.fade'); | ||
| controlZIndex(deleteModal, '199'); |
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.
Not very satisfied with this solution.
I had to move the modal-backdrop back in the z-index because it was covering the entire container.
Opened for suggestions
|
| const deleteButtons = doc.querySelectorAll('.ibexa-notifications-open-modal-button'); | ||
| const confirmDeleteButton = doc.querySelector('.ibexa-notifications-modal--delete--confirm'); |
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.
nitpick - naming convention
| const deleteButtons = doc.querySelectorAll('.ibexa-notifications-open-modal-button'); | |
| const confirmDeleteButton = doc.querySelector('.ibexa-notifications-modal--delete--confirm'); | |
| const deleteBtns = doc.querySelectorAll('.ibexa-notifications-open-modal-button'); | |
| const confirmDeleteBtn = doc.querySelector('.ibexa-notifications-modal--delete--confirm'); |



Description:
For QA:
Documentation: