Modal Window Enhancements
Posted: October 18th, 2022, 1:50 pm
Modal windows are a great feature of EASYProcess, but they come with little in terms of being adaptable to a user. Here are some things I feel would make them much easier to configure and be better for users to use. I'm thinking that these would each be configured per modal window.
- Add a "maximize" button to the header that would expand the modal window to the full view height and width.
- Add an "AllowMaximizing" property to toggle the feature.
- Add an "OpenMaximized" property to determine whether the window opens to a defined size or always starts maximized.
- Allow users to manually resize the modal window.
- Add an "AllowResizing" property to toggle the feature.
- Add a "ForceInView" property to auto resize the modal window if it exceeds the width and/or height of the view.
- Add option to allow multiple modal windows via a "ModalInstances" property with "Single" and "Multi" as the options.
- "Single" - Current functionality where the modal window is always centered in a darkened view and clicking outside the modal window closes it.
- "Multi" - Opening a modal window would not darken the view, the header can be clicked and dragged to move the modal window around, and clicking outside of the window does not close it.
- If "ForceInView" property is enabled, then snap the modal window back into view if dragged partially outside.