[MGNLUI-644] Dialogs can be opened modally, blocking just a subapp, just an app, or entire adminCentral. Created: 11/Feb/13  Updated: 19/Mar/13  Resolved: 19/Mar/13

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: None
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: dialog
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-772 Active Tab Label is sometimes not "hi... Closed
dependency
depends upon MGNLDAM-151 Update AssetLinkFieldBuilder to call ... Closed
is depended upon by MGNLUI-914 Remove DialogViewport from MagnoliaSh... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Currently dialogs use a single dialog viewport which always blocks the app. There are several problems with the implementation.

Dialog must be able to block the current sub app, current app, or entire adminCentral. This means it must be possible to have multiple dialogs open at a time. One subapp could be blocked with a dialog - then you switch to another sub app and open a dialog there. Both dialogs are open and active.

A single viewport cannot support this. Each dialog should be attached to the component it is blocking.

See concept page:
http://wiki.magnolia-cms.com/display/DEV/Concept+-+Dialogs+modal+to+sub-app%2C+shell%2C+app



 Comments   
Comment by Christopher Zimmermann [ 01/Mar/13 ]

Recommended review strategy:
Look at Modal and its associated classes.
Look at ModalLayer and its implementors.
Look at MagnoliaShell to see how modals are handled.
Look at Callers of ModalLayer.openModal().

Comment by Christopher Zimmermann [ 01/Mar/13 ]

Changes on dialog-modality branch of ui project.

Comment by Christopher Zimmermann [ 19/Mar/13 ]

Resolution was incorrectly set to "unresolved".

Comment by Christopher Zimmermann [ 19/Mar/13 ]

Just changed resolution to "fixed"

Generated at Mon Feb 12 08:38:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.