U4-10783 - Prototype publish variant dialog

Created by Mads Rasmussen 22 Dec 2017, 08:56:13 Updated by Warren Buckley 09 Apr 2018, 12:35:10

Subtask of: U4-11115

Build a working prototype with the current UI screens

  • Service wrapper around the overlay component - basically to achieve centred dialog to the browser, as opposed to relative to nested parent

Comments

Mads Rasmussen 06 Apr 2018, 08:26:58

'''PR:''' https://github.com/umbraco/Umbraco-CMS/pull/2567

I have opened this PR with the prototype. I am not 100% where to target it right now. Should we make a feature branch for the entire bulk publish feature or should we get all the small pieces merged into v8 as fast as possible?

I have created the first prototype of the bulk publish dialog. In this PR I have also implemented a global overlay component and added a service wrapper for it. I did this for a couple of reasons:

  • Sometimes when using the overlay component you can get stuck in a position: "relative/absolute" madness. This will prevent it from happening because the component is not nested and lives close to the HTML root.
  • Sometimes we need to open a dialog from within a service. Now we have a cleaner approach for that.

'''This test should include:'''

  • Go to a content node and publish the node

'''Missing:'''

  • Right now the publish button always opens the publish dialog. We will have to implement a check to only open the dialog if more than one variant has changes which can be published. When this happens we want to add "..." to the publish button to indicate the button open a dialog.
  • Right now the publish dialog just call the normal publish method to show the flow. The real bulk method needs to be implemented.


Warren Buckley 09 Apr 2018, 12:35:05

Merged in as more changes from other dependent tasks later on will fix up the missing stuff etc


Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 8.0.0

Due in version: 8.0.0

Sprint: Sprint 82

Story Points: 3

Cycle: 9