mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-14 00:02:55 +00:00
* perf: shrink the module graph that gates first paint in dev * docs: drop the stale synchronous-icons claim on the import card * fix: replay search opened before its modal loads, guard lazy icons * fix: only intercept search before load where the modal mounts * perf: mount app-shell modals on first open and keep monaco off the shell * perf: load the icon map on first read, not at module evaluation * fix: report stale chunks with a reload toast, guard the home page against monaco
22 lines
802 B
Svelte
22 lines
802 B
Svelte
<script lang="ts">
|
|
import WindmillIcon2 from './icons/WindmillIcon2.svelte'
|
|
import ToggleButtonGroup from './common/toggleButton-v2/ToggleButtonGroup.svelte'
|
|
import ToggleButton from './common/toggleButton-v2/ToggleButton.svelte'
|
|
import { Building } from 'lucide-svelte'
|
|
interface Props {
|
|
selected?: 'all' | 'hub' | 'workspace'
|
|
}
|
|
|
|
let { selected = $bindable('all') }: Props = $props()
|
|
</script>
|
|
|
|
<div class="max-w-min">
|
|
<ToggleButtonGroup id="flow-editor-flow-providers" bind:selected>
|
|
{#snippet children({ item })}
|
|
<ToggleButton size="sm" value="all" label="All" {item} />
|
|
<ToggleButton size="sm" value="hub" icon={WindmillIcon2} label="Hub" {item} />
|
|
<ToggleButton size="sm" value="workspace" icon={Building} label="Workspace" {item} />
|
|
{/snippet}
|
|
</ToggleButtonGroup>
|
|
</div>
|