@@ -8,6 +8,7 @@ import { FeatureStageBadge } from "components/FeatureStageBadge/FeatureStageBadg
8
8
import { Input } from "components/Input/Input" ;
9
9
import { Label } from "components/Label/Label" ;
10
10
import { Pill } from "components/Pill/Pill" ;
11
+ import { docs } from "utils/docs" ;
11
12
import {
12
13
Select ,
13
14
SelectContent ,
@@ -19,7 +20,8 @@ import { Spinner } from "components/Spinner/Spinner";
19
20
import { Switch } from "components/Switch/Switch" ;
20
21
import { UserAutocomplete } from "components/UserAutocomplete/UserAutocomplete" ;
21
22
import { type FormikContextType , useFormik } from "formik" ;
22
- import { ArrowLeft , CircleAlert , TriangleAlert } from "lucide-react" ;
23
+ import { ArrowLeft , CircleAlert , TriangleAlert , Undo2 } from "lucide-react" ;
24
+ import { Link } from "components/Link/Link" ;
23
25
import { useSyncFormParameters } from "modules/hooks/useSyncFormParameters" ;
24
26
import {
25
27
DynamicParameter ,
@@ -337,7 +339,7 @@ export const CreateWorkspacePageViewExperimental: FC<
337
339
</ button >
338
340
</ div >
339
341
< div className = "flex flex-col gap-6 max-w-screen-md mx-auto" >
340
- < header className = "flex flex-col items-start gap-2 mt-10" >
342
+ < header className = "flex flex-col items-start gap-3 mt-10" >
341
343
< div className = "flex items-center gap-2" >
342
344
< Avatar
343
345
variant = "icon"
@@ -351,17 +353,23 @@ export const CreateWorkspacePageViewExperimental: FC<
351
353
: template . name }
352
354
</ p >
353
355
</ div >
354
- < h1 className = "text-3xl font-semibold m-0" > New workspace</ h1 >
356
+ < span className = "flex flex-row items-center gap-3" >
357
+ < h1 className = "text-3xl font-semibold m-0" > New workspace</ h1 >
358
+ { /* <FeatureStageBadge
359
+ contentType={"beta"}
360
+ labelText="Dynamic parameters"
361
+ /> */ }
362
+ </ span >
355
363
356
364
{ template . deprecated && < Pill type = "warning" > Deprecated</ Pill > }
357
365
358
366
{ experimentalFormContext && (
359
367
< Button
360
368
size = "sm"
361
- variant = "subtle "
369
+ variant = "outline "
362
370
onClick = { experimentalFormContext . toggleOptedOut }
363
371
>
364
- Go back to the classic workspace creation flow
372
+ < Undo2 /> Go back to the classic workspace creation flow
365
373
</ Button >
366
374
) }
367
375
</ header >
@@ -497,10 +505,15 @@ export const CreateWorkspacePageViewExperimental: FC<
497
505
{ parameters . length > 0 && (
498
506
< section className = "flex flex-col gap-9" >
499
507
< hgroup >
500
- < h2 className = "text-xl font-semibold m-0" > Parameters</ h2 >
508
+ < span className = "flex flex-row items-center gap-2" > < h2 className = "text-xl font-semibold m-0" > Parameters</ h2 >
509
+ < FeatureStageBadge
510
+ contentType = { "beta" }
511
+ labelText = "Dynamic parameters"
512
+ /> </ span >
501
513
< p className = "text-sm text-content-secondary m-0" >
502
514
These are the settings used by your template. Immutable
503
515
parameters cannot be modified once the workspace is created.
516
+ < Link href = { docs ( "/admin/templates/extending-templates/parameters#enable-dynamic-parameters-early-access" ) } > View docs</ Link >
504
517
</ p >
505
518
</ hgroup >
506
519
{ diagnostics . length > 0 && (
0 commit comments