Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature: handle ephemeral parameters #8391

Closed
Assignees
BrunoQuaresma
Labels
siteArea: frontend dashboard
@mtojek

Description

@mtojek

Related (coderd):#8367
Related (issue):#6828

ThisPR added support for ephemeral parameters, so now we have add logic to handle them on the UI level.

data"coder_parameter""force-rebuild" {name="force-rebuild"type="bool"display_name="Force rebuild"description="Rebuild the project code"default="false"mutable=trueephemeral=true}

Requirements:

  • Start with options button or menu item which shows a popup with ephemeral parameters. Menu action should be visible only if there are any ephemeral parameters
  • Settings >Parameters - show ephemeral parameters in the new section (Build options?), afterImmutable parameters. The site should render the section with default values for ephemeral params. It will be perfect if the site skips submitting ephemeral parameters with default values (coderd can handle this).

I'm not sure about the 2nd requirement, but we need to support somehow this permutation:ephemeral = true andrequired = true.

Sample permutations to check:

  • ephemeral = true andrequired = true (no default) -coderd will require the parameter to be present in every workspace build request, but will not persist its value between consecutive builds (definition of ephemeral)
  • ephemeral = true anddefault = "" (empty string) - user can leave this field empty
  • ephemeral = true anddefault = "abced"

In the meantime, I'm going to work on adjusting the CLI.

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp