[MAGNOLIA-6456] Dialogs should have a default actions configuration Created: 08/Dec/15  Updated: 27/Oct/16  Resolved: 13/Jul/16

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.4.3
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Richard Gange Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
is superseded by MGNLUI-3883 Dialogs have Cancel and Save Changes ... Closed
is superseded by MGNLUI-4058 Dialogs have Cancel and Save actions ... 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)
Date of First Response:

 Description   

So often when creating a dialog the default commit and cancel actions are used. But the developer must explicitly create the configuration over and over. I think it would be a nice improvement if there was a fallback configuration used by the system. For example:

actions:
commit:
class: info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition
cancel:
class: info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition



 Comments   
Comment by Mikaël Geljić [ 13/Jul/16 ]

Hey Rich, I think it's one of those things where everybody simply agrees... dug a selected story in UI so I'll close this one if I may.

Generated at Mon Feb 12 04:14:41 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.