diff --git a/.changeset/permanent-tab-icons.md b/.changeset/permanent-tab-icons.md new file mode 100644 index 0000000..7c7f5b3 --- /dev/null +++ b/.changeset/permanent-tab-icons.md @@ -0,0 +1,5 @@ +--- +"@jmfederico/pi-web": patch +--- + +Keep workspace tool tab icons visible in the desktop workspace panel and collapse tab names only in compact panel widths. diff --git a/src/client/src/components/WorkspacePanel.ts b/src/client/src/components/WorkspacePanel.ts index 826b293..ced47fb 100644 --- a/src/client/src/components/WorkspacePanel.ts +++ b/src/client/src/components/WorkspacePanel.ts @@ -10,6 +10,8 @@ export interface WorkspacePanelEmptyState { body?: string; } +type WorkspacePanelBadge = string | number | TemplateResult | undefined; + @customElement("workspace-panel") export class WorkspacePanel extends LitElement { @property({ attribute: false }) workspace: Workspace | undefined; @@ -66,9 +68,16 @@ export class WorkspacePanel extends LitElement {