Skip to content

Commit 03dfab3

Browse files
authored
Updated Workflow Trace viewer (vercel#1454)
1 parent 3ad8ee7 commit 03dfab3

39 files changed

Lines changed: 3320 additions & 797 deletions

docs/app/[lang]/cookbook/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { DocsLayout } from "@/components/geistdocs/docs-layout";
2-
import { getCookbookTree } from "@/lib/geistdocs/cookbook-source";
1+
import { DocsLayout } from '@/components/geistdocs/docs-layout';
2+
import { getCookbookTree } from '@/lib/geistdocs/cookbook-source';
33

44
const Layout = async ({
55
children,
66
params,
7-
}: LayoutProps<"/[lang]/cookbook">) => {
7+
}: LayoutProps<'/[lang]/cookbook'>) => {
88
const { lang } = await params;
99

1010
return (

docs/app/[lang]/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ export const generateStaticParams = () =>
9999
source
100100
.generateParams()
101101
.filter(
102-
(params) =>
103-
!(Array.isArray(params.slug) && params.slug[0] === 'cookbook'),
102+
(params) => !(Array.isArray(params.slug) && params.slug[0] === 'cookbook')
104103
);
105104

106105
export const generateMetadata = async ({

docs/app/[lang]/docs/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { DocsLayout } from "@/components/geistdocs/docs-layout";
2-
import { getDocsTreeWithoutCookbook } from "@/lib/geistdocs/cookbook-source";
1+
import { DocsLayout } from '@/components/geistdocs/docs-layout';
2+
import { getDocsTreeWithoutCookbook } from '@/lib/geistdocs/cookbook-source';
33

4-
const Layout = async ({ children, params }: LayoutProps<"/[lang]/docs">) => {
4+
const Layout = async ({ children, params }: LayoutProps<'/[lang]/docs'>) => {
55
const { lang } = await params;
66

77
return (

docs/app/api/benchmark-history/route.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,7 @@ interface SnapshotEntry {
151151
* Only the `worlds` map (metric numbers per world) is retained in each entry
152152
* so the total payload stays small enough for unstable_cache.
153153
*/
154-
async function _buildSnapshotMap(): Promise<
155-
Record<string, SnapshotEntry>
156-
> {
154+
async function _buildSnapshotMap(): Promise<Record<string, SnapshotEntry>> {
157155
const snapshots: Record<string, SnapshotEntry> = {};
158156

159157
// Paginate through gh-pages commits that modified the benchmark file.
@@ -188,7 +186,9 @@ async function _buildSnapshotMap(): Promise<
188186
}
189187

190188
if (ghPagesCommits.length >= MAX_SNAPSHOTS) {
191-
console.warn(`Benchmark history: hit pagination cap at ${MAX_SNAPSHOTS} gh-pages commits — older snapshots may be missing`);
189+
console.warn(
190+
`Benchmark history: hit pagination cap at ${MAX_SNAPSHOTS} gh-pages commits — older snapshots may be missing`
191+
);
192192
}
193193

194194
// Fetch benchmark data for each gh-pages commit in batches

docs/components/geistcn-fallbacks/geistcn-assets/logos/logo-workflow.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@ export function LogoWorkflow({
2222
xmlns="http://www.w3.org/2000/svg"
2323
>
2424
<title>Workflow</title>
25-
<path fillRule="evenodd" clipRule="evenodd" d="M167.054 12.0169C178.401 12.0172 185.87 19.9396 185.87 32.1107C185.87 44.2811 178.4 52.2042 167.054 52.2046C155.636 52.2046 148.169 44.2814 148.168 32.1107C148.168 19.9393 155.636 12.0169 167.054 12.0169ZM167.054 19.5072C161.094 19.5072 157.717 24.1885 157.717 32.1107C157.717 40.1042 161.094 44.7142 167.054 44.7142C172.942 44.7138 176.318 40.1038 176.319 32.1107C176.319 24.1889 172.943 19.5076 167.054 19.5072Z" />
26-
<path fillRule="evenodd" clipRule="evenodd" d="M322.548 12.0169C333.894 12.0172 341.364 19.9396 341.364 32.1107C341.363 44.2811 333.894 52.2043 322.548 52.2046C311.13 52.2046 303.662 44.2814 303.662 32.1107C303.662 19.9393 311.129 12.0169 322.548 12.0169ZM322.548 19.5072C316.587 19.5072 313.21 24.1885 313.21 32.1107C313.21 40.1042 316.588 44.7142 322.548 44.7142C328.436 44.7139 331.812 40.1038 331.812 32.1107C331.812 24.1888 328.436 19.5076 322.548 19.5072Z" />
25+
<path
26+
fillRule="evenodd"
27+
clipRule="evenodd"
28+
d="M167.054 12.0169C178.401 12.0172 185.87 19.9396 185.87 32.1107C185.87 44.2811 178.4 52.2042 167.054 52.2046C155.636 52.2046 148.169 44.2814 148.168 32.1107C148.168 19.9393 155.636 12.0169 167.054 12.0169ZM167.054 19.5072C161.094 19.5072 157.717 24.1885 157.717 32.1107C157.717 40.1042 161.094 44.7142 167.054 44.7142C172.942 44.7138 176.318 40.1038 176.319 32.1107C176.319 24.1889 172.943 19.5076 167.054 19.5072Z"
29+
/>
30+
<path
31+
fillRule="evenodd"
32+
clipRule="evenodd"
33+
d="M322.548 12.0169C333.894 12.0172 341.364 19.9396 341.364 32.1107C341.363 44.2811 333.894 52.2043 322.548 52.2046C311.13 52.2046 303.662 44.2814 303.662 32.1107C303.662 19.9393 311.129 12.0169 322.548 12.0169ZM322.548 19.5072C316.587 19.5072 313.21 24.1885 313.21 32.1107C313.21 40.1042 316.588 44.7142 322.548 44.7142C328.436 44.7139 331.812 40.1038 331.812 32.1107C331.812 24.1888 328.436 19.5076 322.548 19.5072Z"
34+
/>
2735
<path d="M13.1951 36.2849C14.2358 36.2849 15.081 37.1333 15.0816 38.1769V49.5179C15.0816 50.5619 14.2362 51.4098 13.1951 51.4098H1.88651C0.845437 51.4098 0 50.5619 0 49.5179V38.1769C0.000533732 37.1333 0.845766 36.2849 1.88651 36.2849H13.1951Z" />
2836
<path d="M25.7625 18.6421C26.8029 18.6421 27.648 19.4873 27.649 20.5306V33.2149C27.6919 34.9117 29.073 36.2759 30.7733 36.2849H38.3298C39.3706 36.2849 40.2158 37.1333 40.2164 38.1769V49.5179C40.2164 50.5619 39.3709 51.4098 38.3298 51.4098H27.0213C25.98 51.4098 25.1348 50.5619 25.1348 49.5179V36.8335C25.0914 35.1589 23.7436 33.8097 22.0736 33.767L21.9929 33.7635H14.4539C13.4131 33.7635 12.5678 32.9188 12.5674 31.8751V20.5306C12.5684 19.4873 13.4134 18.6421 14.4539 18.6421H25.7625Z" />
2937
<path d="M38.3298 0.995825C39.3706 0.995829 40.2158 1.8441 40.2164 2.88776V15.5721C40.2598 17.2743 41.6504 18.6421 43.3582 18.6421H50.8972C51.9377 18.6421 52.7827 19.4873 52.7837 20.5306V33.2149C52.8267 34.9118 54.2078 36.2759 55.9081 36.2849H63.4646C64.5053 36.2849 65.3506 37.1333 65.3511 38.1769V49.5179C65.3511 50.5619 64.5057 51.4098 63.4646 51.4098H52.1561C51.1148 51.4098 50.2696 50.5619 50.2696 49.5179V36.8335C50.2262 35.1589 48.8784 33.8097 47.2084 33.767L47.1277 33.7635H39.5887C38.5477 33.7635 37.7026 32.9188 37.7022 31.8751V19.1907C37.66 17.5151 36.3118 16.1632 34.641 16.1207H27.0213C25.98 16.1207 25.1348 15.2729 25.1348 14.2288V2.88776C25.1353 1.8441 25.9804 0.995829 27.0213 0.995825H38.3298Z" />

docs/components/ui/skeleton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
44
return (
55
<div
66
data-slot="skeleton"
7-
className={cn('relative overflow-hidden rounded-md bg-[var(--ds-gray-100)]', className)}
7+
className={cn(
8+
'relative overflow-hidden rounded-md bg-[var(--ds-gray-100)]',
9+
className
10+
)}
811
{...props}
912
>
1013
<div className="absolute inset-0 -right-[200%] animate-[skeleton-shimmer_1.5s_ease-in-out_infinite_reverse] bg-[linear-gradient(90deg,var(--ds-gray-100),var(--ds-gray-200),var(--ds-gray-100))] bg-[length:50%_100%]" />

docs/components/ui/tabs.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ function Tabs({
1414
className,
1515
variant = 'default',
1616
...props
17-
}: React.ComponentProps<typeof TabsPrimitive.Root> & { variant?: TabsVariant }) {
17+
}: React.ComponentProps<typeof TabsPrimitive.Root> & {
18+
variant?: TabsVariant;
19+
}) {
1820
return (
1921
<TabsVariantContext value={variant}>
2022
<TabsPrimitive.Root

0 commit comments

Comments
 (0)