Skip to content

Unit Page: Add Sidebar #2636

@ChrisChV

Description

@ChrisChV

Designs

Figma link

Add New Add New (Advanced) Add from Library
Image Image Image

Spec

  • Unit add sidebar is opened when clicking the "+ Add" button in the page level actions
  • Default opens to 'add new' which shows all default blocks
  • Added content gets placed at the end of the unit as the last object
  • [to confirm] as soon as content is added, the info sidebar for that object opens.

Add New

  • Advanced blocks are in a secondary screen
  • Text, Problem, and ORA have templates that are in chips. These block types are collapsable by clicking the arrow.
  • Click targets:
    • Clicking a chip for a template opens that chip template (ie: peer in ORA opens a new peer graded ORA)
    • Clicking the expand/ collapse icon expands or collapses the block type group
    • clicking anywhere else opens the modal currently implemented for all block types

Add Existing

  • Add existing tab shows content from libraries in cards
  • Filter behaves as the filters on the Outline page
  • Clicking the "+ Add" button on the card header adds the card
  • Clicking anywhere else in the card opens a preview modal (out of scope: modal will be completed in the [frontend] Epic: Course Sync Experience Enhancements #1744 Epic

Add new components section

Image
  • We should leave those buttons as is.
  • Put the paste button above the "add new component" section

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready for AC testing

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions