Skip to content

Library: Bulk Publish Confirmation Step #2798

@sdaitzman

Description

@sdaitzman
Image

Figma link - shows full happy path flow.

Spec

Currently, pressing "Publish All" in a content library instantly publishes all content. This will add a staged approach to allow users to choose which objects to publish deliberately, emphasizing higher-level and lower-risk levels of publishing. This ticket may be broken down into sub-issues if helpful.

Important: bulk publish confirmations have a pending product call relating to #2779. If/when library sidebars include improvements made to outline/unit-level sidebars and avoid duplication, this ticket may need to be updated / restructured.

  1. Users clicking "Publish" at a library level see a new Bulk Publish view, pictured above.
  2. Objects are grouped at the top-level within each tab (see more detail below).
  3. Objects can be viewed in detail in the sidebar / transiently selected by clicking the card anywhere except the "Select" button.
  4. Clicking the "Select" button checks the box and adds the item to the publish set.
  5. The publish confirmation sidebar shows the set of objects added to the publish set through direct selection (not descendants).
  6. The publish confirmation sidebar also shows direct or indirect course references to the objects selected.
  7. The transient selection object details sub-view within the sidebar does not allow editing any properties.
  8. On click, the publish button shows a loader, navigates back to the library browse view, and then displays a toast message about the publish status.

Grouping Logic

The groups are defined as:

  1. My Contributions: shows objects that have only been changed by the user since they were last published, grouped to the highest level.
  2. Shared Drafts: shows objects that have been changed by the user and/or other users since they were last published, grouped to the highest level (including changes from other users).
  3. All drafts: shows all edited objects, grouped to the highest level.

E.g. for a U1 that Braden renamed, that contains separate components, C1 edited since publish by Eddie and C2 edited since publish by Sam (with no other changed library objects):

  • For Braden, U1 would appear under Shared Drafts and All Drafts, but not My Contributions. No other items would appear on any tab.
    • If, at this point, Eddie published C1 and Sam Published C2, then U1 would then show under My Contributions for Braden (since it does not include anyone else’s contributions anymore).
  • For Eddie, C1 would appear under My Contributions. U1 would appear under Shared Drafts and All Drafts.
  • For Sam, C2 would appear under My Contributions. U1 would appear under Shared Drafts and All Drafts.

In Scope

  1. Publish confirmation flow

Not in Scope

  1. Sidebar improvements from libraries (may need to restructure this ticket depending on product delivery timeline).
  2. Course reference implementation itself: falls under Publish Confirmation: Show Course References #2801

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions