Skip to content

Unit full-page view (barebones) #1609

@sdaitzman

Description

@sdaitzman

Designs: mid/hifi Figma link

Full unit Empty unit Unit component overflow menu
Image Image Image

Spec

  1. Units in a content library have a full-page view. Units can support an empty state, in which case they show an embedded add new / existing block ( hifi designs pending: Add new/existing block interface for new units (high fidelity) #1607).
  2. Components in a unit show up as separate blocks. These blocks can be selected, which opens their component info sidebar. Each block has an overflow menu, and displays a preview of its content.
  3. Units have a "Unit Info" button which will eventually open their unit info sidebar (Unit Sidebars #1604).
  4. Unit pages have breadcrumbs that show their position in the library (either Library >, Library > Subsection, or Library > Section > Subsection).

In scope

  1. View a unit page, which has its own URL
  2. Components appear within a unit as full previews. Their top bar shows type icon and title on the left, and draft status (if any), tag count, overflow menu, and drag handle on the right.
  3. Components have an overflow menu within a unit
  4. Components can be selected within a unit
  5. When components are selected, the standard component sidebar appears. The preview tab is hidden, since component previews are visible in the main content area.
  6. Components within a unit full-page view have hover and selected states

Not in scope

  1. Unit cards in library (Unit cards in library #1616)
  2. Add new/existing component, reorder unit (Create new component within unit #1619, Add existing component to unit #1620, Reorder components within unit #1621)
  3. Rename a unit, or a component, by clicking titles (Rename unit #1624 and Rename component within unit #1626)
  4. Unit info sidebar (🚧 Unit sidebar v1 #1617)
  5. Search within unit (not planned)

Component States

Hover Selected Draft
Image Image Image

Metadata

Metadata

Assignees

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