Skip to content

Commit 172adf2

Browse files
authored
Add pollers table to workers tab (#3338)
* Add toggle buttons to workers tab to include legacy pollers table * Update copy to include at least for SDK version and hide docs link * Add description for pollers * Make PollerTable scrollable on smaller screens * Update refresh alert copy * Update to preview badge for workers
1 parent c2c5834 commit 172adf2

9 files changed

Lines changed: 272 additions & 208 deletions

File tree

src/lib/components/lines-and-dots/sdk-logo.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
interface Props {
3535
sdk: string;
3636
version: string;
37+
hideDocsLink?: boolean;
3738
}
3839
39-
let { sdk, version }: Props = $props();
40+
let { sdk, version, hideDocsLink = false }: Props = $props();
4041
const logo = $derived(sdkLogos[sdk.toLowerCase()]);
4142
const href = $derived(
4243
sdkToDocsSlug[sdk]
@@ -55,7 +56,7 @@
5556
{sdk}
5657
{version}
5758
</span>
58-
{#if href}
59+
{#if href && !hideDocsLink}
5960
<Link {href} newTab>Docs</Link>
6061
<Icon name="book" />
6162
{/if}

src/lib/components/worker-table.svelte

Lines changed: 0 additions & 190 deletions
This file was deleted.

src/lib/components/poller-icon.svelte renamed to src/lib/components/workers/pollers-table/poller-icon.svelte

File renamed without changes.

0 commit comments

Comments
 (0)