[INCUBATOR-47] Custom CSS: commit action Created: 01/Sep/23  Updated: 01/Sep/23

Status: Open
Project: Incubator
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Mykola Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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   

cssCommitAction doesn't save and close dialog which is different than in every other magnolia apps. 

Workaround

You can decorate it with chainedAction

/css-custom-configuration/decorations/ui-css-custom/apps/css-custom-app.yaml

 

subApps:
  edit:
    actions:
      commit:
        $type: chainedAction
        actions:
          cssCommitAction:
            $type: cssCommitAction
          commitAction:
            $type: commitAction
 

but when it closes details view it stays on a white screen (because Custom CSS App doesn't have list view).
So it's rather should be a new action that navigates to Admincentral root.
Maybe OpenLocationActionDefinition would be usefull, but it seems like it's only navigates to particular app.

 


Generated at Mon Feb 12 02:15:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.