mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
Plugins can register workspace-row badge render slots, control them from a separated Show menu group, and use the shared WorkspaceRowBadge UI. Co-authored-by: Jacek Tomaszewski <jacek@fullstack.house>
10 lines
501 B
Markdown
10 lines
501 B
Markdown
# Workspace row badges
|
|
|
|
Install this directory as a plugin. Any workspace that needs input or has failed shows a badge on
|
|
the line under its title in the sidebar. Workspaces in any other state show nothing.
|
|
|
|
The component reads its own data with `useWorkspace(workspaceId, selector)` and returns `null` when
|
|
it has nothing to say. **Show → Workspace attention** in the sidebar's display preferences toggles it.
|
|
|
|
See the [reference](../../public-docs/plugins/reference.md#workspace-row-badge-items).
|