# `MingaEditor.Session.ChromeState.TabSummary`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/session/chrome_state/tab_summary.ex#L1)

User-facing summary for one file tab in workspace chrome.

Tab summaries preserve workspace identity separately from path labels so the same logical path can appear in multiple workspaces without becoming ambiguous in chrome.

# `draft_state`

```elixir
@type draft_state() :: :none | :draft | :draft_elsewhere | :conflict
```

# `kind`

```elixir
@type kind() :: :file
```

# `t`

```elixir
@type t() :: %MingaEditor.Session.ChromeState.TabSummary{
  attention?: boolean(),
  dirty?: boolean(),
  draft_state: draft_state(),
  icon: String.t(),
  id: MingaEditor.State.Tab.id(),
  kind: kind(),
  label: String.t(),
  path: String.t() | nil,
  pinned?: boolean(),
  tint_color: non_neg_integer(),
  workspace_id: non_neg_integer()
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

Builds a tab summary.

---

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