Skip to content

chore: add 'classic_parameter_flow' column setting to templates #17828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
May 15, 2025

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented May 14, 2025

We are forcing users to try the dynamic parameter experience first. Currently this setting only comes into effect if an experiment is enabled, however we are removing that experiment very soon.

So I am just going to show the setting, rather than have to add logic I will remove before the next release.

What this does

The checkbox gives the template admin to opt a template out of the dynamic parameters experience, and use the existing form. We expect some bugs, so if a template has some issues, turning this off template wide prevents the end user from hitting any errors to begin with.

This does default to the new experience, as we want to force the template admins to try dynamic params first.

Regardless of this checkbox, the user can manually switch experiences at will.

Screenshot From 2025-05-15 12-06-09

@Emyrk Emyrk changed the title chore: add 'dynamic_parameter_flow' column setting to templates chore: add 'classic_parameter_flow' column setting to templates May 14, 2025
@Emyrk Emyrk marked this pull request as ready for review May 14, 2025 17:53
@Emyrk Emyrk requested review from jaaydenh and aslilac May 14, 2025 17:57
@jaaydenh
Copy link
Contributor

@Emyrk Do you mean we are removing the dynamic parameters experiment next week?

Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a boolean named classic_parameter_flow isn't very clear. I think use_classic_parameter_flow conveys intent much better.

@Emyrk
Copy link
Member Author

Emyrk commented May 14, 2025

Do you mean we are removing the dynamic parameters experiment next week?

We might be. I forgot it depends on the smoke test

@Emyrk Emyrk force-pushed the stevenmasley/template_dyn_param_toggle branch from 4ada164 to a90c6a0 Compare May 14, 2025 22:16
@Emyrk Emyrk requested a review from aslilac May 15, 2025 00:40
@BrunoQuaresma
Copy link
Collaborator

In terms of design I think we could:

  • Align the checkbox with the label (first line) not centered
  • Keep the label "Use classic workspace creation form"
  • In the resume, it should be two lines at maximum
  • IMO, If we need more info, it should be inside of a help tooltip

Feel free to ignore them if you think they are out of this scope. 👍

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FE changes are good 👍. I just left a comment related to a few design concerns.

@Emyrk
Copy link
Member Author

Emyrk commented May 15, 2025

  • Align the checkbox with the label (first line) not centered

I am going to leave this as our other checkboxes are like this. I reduced the description text, so it should look a bit better being smaller.

Screenshot From 2025-05-15 11-55-18

  • Keep the label "Use classic workspace creation form"
  • In the resume, it should be two lines at maximum

👍

@Emyrk Emyrk merged commit c2bc801 into main May 15, 2025
33 of 34 checks passed
@Emyrk Emyrk deleted the stevenmasley/template_dyn_param_toggle branch May 15, 2025 22:55
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants