Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: cleanup html
  • Loading branch information
jaaydenh committed Jun 18, 2025
commit 718350d84fc9d6677b4103ffc3b4ba0ff2cf4a1a
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,20 @@ export const EphemeralParametersDialog: FC<EphemeralParametersDialogProps> = ({
ephemeral parameters that will be reset to their default values
</DialogDescription>
<DialogDescription>
{ephemeralParameters.map((param) => (
<div key={param.name}>
<p className="text-content-primary m-0 font-bold">
{param.display_name || param.name}
</p>
{param.description && (
<p className="m-0 text-sm text-content-secondary">
{param.description}
<ul className="list-none pl-6 space-y-2">
{ephemeralParameters.map((param) => (
<li key={param.name}>
<p className="text-content-primary m-0 font-bold">
{param.display_name || param.name}
</p>
)}
</div>
))}
{param.description && (
<p className="m-0 text-sm text-content-secondary">
{param.description}
</p>
)}
</li>
))}
</ul>
</DialogDescription>
<DialogDescription>
Would you like to go to the workspace parameters page to review and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,21 @@ const BuildParametersPopoverContent: FC<BuildParametersPopoverContentProps> = ({
workspace parameters page
</p>

<div className="flex flex-col gap-2">
{ephemeralParameters.map((param) => (
<div key={param.name} className="flex flex-col gap-2">
<p className="text-content-primary m-0 font-bold">
{param.display_name || param.name}
</p>
{param.description && (
<div className="m-0 text-sm text-content-secondary">
{param.description}
</div>
)}
</div>
))}
<div>
<ul className="list-none pl-3 space-y-2">
{ephemeralParameters.map((param) => (
<li key={param.name}>
<p className="text-content-primary m-0 font-bold">
{param.display_name || param.name}
</p>
{param.description && (
<p className="m-0 text-sm text-content-secondary">
{param.description}
</p>
)}
</li>
))}
</ul>
</div>

<Button className="w-full" onClick={handleGoToParameters}>
Expand Down
Loading