core icon indicating copy to clipboard operation
core copied to clipboard

Modal Closing Enhancement for Announcements

Open bryanboza opened this issue 1 year ago • 1 comments

Problem Statement

In dotCMS, there is an issue where the announcements window does not automatically close when users click outside the modal. This behavior deviates from standard modal interactions and can cause inconvenience for users who expect the modal to close when clicking outside its boundaries.

Steps to Reproduce

  • Log into the dotCMS backend with the necessary credentials.
  • Access the announcements window or modal.
  • Click outside the modal, attempting to close it.
  • Observe that the modal does not close, and users need to click again in the announcements logo to dismiss the window.

Acceptance Criteria

Modal Closing on External Click: Implement functionality that allows users to close the announcements window by clicking outside the modal. User-Friendly Interaction: Ensure that the modal closure occurs seamlessly, providing a user-friendly experience.

dotCMS Version

Tested on master // Docker // FF

Proposed Objective

Quality Assurance

Proposed Priority

Priority 2 - Important

bryanboza avatar Jan 25 '24 18:01 bryanboza

Fixing this will bring the Announcement Menu in-line with the prototype.

damen-dotcms avatar Feb 12 '24 21:02 damen-dotcms

Internal QA: PASSED.

As we can see in the following video, the functionally works as expected it.

https://github.com/dotCMS/core/assets/29883881/07bf62dc-a607-40ed-be7a-2d32d3d20c5f

dcolina avatar Feb 26 '24 17:02 dcolina

Fixed, tested on master // Docker // FF

bryanboza avatar Mar 01 '24 01:03 bryanboza