# `MishkaCmsMigrationWeb.Live.Admin.Dashboard.Item.Summary`
[🔗](https://github.com/mishka-group/mishka_cms_migration/blob/v0.0.1/lib/mishka_cms_migration_web/live/admin/dashboard/item/summary.ex#L5)

What came of an import of several items, a branch imported parents first or the rows picked
together, in the one flash the Items page shows once its job settled them
(`MishkaCmsMigrationWeb.Live.Admin.Dashboard.Item.Index`), each item named with its outcome in
its row's words (`MishkaCmsMigration.MigrationRun.reason_label/2`), what failed first:

    Import of 3 items: About failed: The page “About” at /:lang/about already answers at /about;
    Team and أميرة حداد skipped: their parent was not imported.

The items skipped because their parent was not imported are named together, so a parent that
failed is said once, not once for each item under it. Then what waits for a decision, what was
skipped for another reason, what was created or updated, and how many the job never reached,
such as an item the source no longer lists. A group names five items at most, then how many more.
The flash is an error when anything failed, a warning when anything was skipped, waits for a
decision or was not reached, and a success when every item was created or updated
(`MishkaCmsMigrationWeb.Flash`).

# `call`

```elixir
@spec call([String.t()], %{
  required(String.t()) =&gt; MishkaCmsMigration.MigrationItem.t()
}) ::
  {MishkaCmsMigrationWeb.Flash.kind(), String.t()}
```

The flash's kind and words for an import of the items `ids`, in their order, given the items
its job settled, by id, as their broadcasts carried them.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
