--- class: ember state: needs-love --- # AppView `` is our current top level wrapping component (one level in from the app chrome), every 'top level main section/template' should have one of these. This component will potentially be renamed to `Page` or `View` or similar now that we don't need two words. Other than that it provides the basic layout/slots for our main title, search bar, top right hand actions and main content. The large top margin that is visible when no breadcrumbs are visible is there to ensure that the page doesn't 'jump around' when you navigate to a page with breadcrumbs and back again. ```hbs preview-template

Main title {{format-number "100000"}} total {{pluralize 100000 "thing" without-count=true}} in this page

Nothing to see here

Basic list-like view
``` ```hbs preview-template
  1. Hansel
  2. Gretel

Scary witch's gingerbread house (run away quick!)

Run away!

Double, double toil and trouble

Basic detail-like view
``` ## Slots | Name | Description | | --- | --- | | `header` | The main title of the page, you probably want to put a `

` in here | | `content` | The main content of the page, and potentially an `` somewhere | | `breadcrumbs` | Any breadcrumbs, you probably want an `ol/li/a` in here | | `actions` | Any actions relevant for the entire page, probably using `` | | `nav` | Secondary navigation goes in here, also see `` | | `toolbar` | Rendered underneath the header and actions for various 'toolbar' type things, such as our SearchBars | ## Portals | Name | Description | | --- | --- | | `app-view-actions` | Provides a portal to render additional page actions from any views. This is rendered **before** the contents of the `actions` slot |