1} onCreate={createWorkspace} onOpenPlugins={() => (managerOpen = true)} onSort={() => void sortByRecent()} onOpenArchived={() => (archivedOpen = true)} />
{#if store.loading && store.list.length === 0}
{:else if store.list.length === 0}

No workspaces yet

Create one with New workspace above, or visit /your-name in the URL — the first tile drops onto the canvas ready to rename.

{:else} cell !== null && tiles.placeAtCell(id, cell, geometry)} onRenameEnd={() => (renamingId = null)} /> {/if}
{#if selected && !renamingId} openWorkspace(selected.id)} onRename={() => (renamingId = selected.id)} onResize={startResize} onToggleStar={() => void toggleStar()} onDetails={() => (detailsForId = selected.id)} onPlugins={() => (pluginsModalId = selected.id)} onArchive={() => void archiveSelected()} onDelete={() => void deleteSelected()} onClose={deselect} /> {/if} {#if resizing && resizingEntry} { if (resizing) resizing = { id: resizing.id, span }; }} onCommit={commitResize} onCancel={cancelResize} /> {/if} {#if detailsFor} (detailsForId = null)} /> {/if} {#if pluginsModalFor && plugins} (pluginsModalId = null)} /> {/if} {#if managerOpen && plugins} (managerOpen = false)} /> {/if} {#if archivedOpen} openWorkspace(id)} onClose={() => (archivedOpen = false)} /> {/if}