Skip to content

chore: update template opt-in checkbox #18481

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 3 commits into from
Jun 20, 2025
Merged

Conversation

jaaydenh
Copy link
Contributor

Screenshot 2025-06-20 at 20 01 55

@jaaydenh jaaydenh self-assigned this Jun 20, 2025
@jaaydenh jaaydenh requested review from Emyrk and EdwardAngert June 20, 2025 19:03
@jaaydenh jaaydenh requested a review from EdwardAngert June 20, 2025 19:08
@@ -230,21 +233,32 @@ export const TemplateSettingsForm: FC<TemplateSettingsForm> = ({
size="small"
id="use_classic_parameter_flow"
name="use_classic_parameter_flow"
checked={form.values.use_classic_parameter_flow}
checked={!form.values.use_classic_parameter_flow}
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to update the function that passes to the API to flip the value too? Like on the request?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, good catch, we do because someone decided to use an inverted state for this setting. fixed. =)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

see the onchange below

@jaaydenh jaaydenh requested a review from Emyrk June 20, 2025 19:58
@jaaydenh jaaydenh merged commit 579c851 into main Jun 20, 2025
33 checks passed
@jaaydenh jaaydenh deleted the jaaydenh/dynamic-params-optin branch June 20, 2025 21:18
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 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.

3 participants