Skip to content

Publish section/subsection #1977

@edschema

Description

@edschema

Section Publish Designs

Designs: section publishing mid/hifi Figma link

Context
Image

Draft Publish confirmation Published
Image Image Image

Section Publish Flow

  1. User clicks publish button on the Section page sidebar when section is in draft state
  2. Sidebar shows confirm publish image with hierarchy
  3. Clicking "Publish Now" results in publish status changing to published.
  4. Clicking "Cancel" should return the screen to the initial state with Section shown as draft.

Section Publish Flow Spec

  1. Publishing a section should publish the section as well as all subsections, units and components contained within the section. As a pattern: publishing a block should publish itself and all child blocks
  2. Publishing should remove all draft indicators from all blocks published by the publish action (ie: all child blocks)

In scope

  1. Publishing of subsection and contained blocks

Not in scope

  1. Publish button redesign to be completed in ticket Publish button should reflect publish status #1794
  2. Other sidebar changes shown on screen

Related Tickets

Publish button should reflect publish status #1794
Confirm Publish Hierarchy Diagrams (Sidebar) #1978
Publish Button Loading #2102

Subsection Publish Designs

Designs: subsection publishing mid/hifi Figma link

Context
Image

Draft Publish confirmation Published
Image Image Image

Subsection Publish Flow

  1. User clicks publish button on the Subsection page sidebar when subsection is in draft state
  2. Sidebar shows confirm publish image with hierarchy The hierarchy views should appear different based on the subsection. Those views are enumerated in this issue:
  3. Clicking "Publish Now" results in publish status changing to published.
  4. Clicking "Cancel" should return the screen to the initial state here with subsection shown as draft.

Subsection Publish Flow Spec

  1. Publishing a subsection should publish the subsection as well as all units and components contained within the subsection. As a pattern: publishing a block should publish itself and all child blocks
  2. Publishing should remove all draft indicators from all blocks published by the publish action (ie: all child blocks)
  3. Publishing a subsection should cause all sections that contain the subsection to become drafts. As a pattern: publishing a component will cause all parent components to become drafts.

In scope

  1. Publishing of subsection/ sections and contained blocks

Not in scope

  1. Publish button redesign to be completed in ticket Publish button should reflect publish status #1794
  2. Other sidebar changes shown in screens.

Related Tickets

Publish button should reflect publish status #1794
Confirm Publish Hierarchy Diagrams (Sidebar) #1978
Publish Button Loading #2102

Sub-issues

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions