caMicroscope
caMicroscope copied to clipboard
Fix : Redundant Cancel/Close buttons on modals used in table.html
Summary
This PR simplifies the user interface across multiple modals within the application by removing redundant Close or Cancel buttons. Specifically, changes were made to the Delete Modal, Slide Name Change Modal, Update Slide Modal, and DICOM Server Modal. This decision enhances UI clarity and improves the overall user experience.
Motivation
Having both Close (×) and Cancel buttons within the same modal can confuse users and detract from a streamlined interface design. By removing one of these elements, we aim to make the user's choices clearer and the UI more intuitive.
Testing
Beyond the automated testing hooks, manual testing was conducted across all affected modals to ensure that:
- The remaining button (either Close or Cancel) functions correctly to dismiss the modal.
- User experience is not negatively impacted by the change.
- The UI looks cleaner and more consistent across the application.
Questions
While this change is aimed at improving the UI, there's always room for feedback and further discussion:
- Are there any specific modal dialogs where the presence of both buttons might still be justified?
- How does this change impact accessibility, and are there any additional adjustments needed to maintain or improve accessibility standards?