-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
AIP-38 | Add show_trigger_form_if_no_params config to Dag Trigger #44256
Comments
Answering the question here: I'd propose to DROP this legacy UI parameter. It is from ancient times - and the method of triggering is anyway different in the new UI. In the past we had the UI showing the JSON. But in the new UI anyway the modal will be displayed. Why? Because I assume the user should confirm the trigger. Should not be a single-click to start a DAG "by accident". And the current modal also has the advanced options in the accordeon - no need to have a config option for this. The only question is if the information about the form parmaeters should be pre-fetched. I propose the follwing approach: |
Works for me! Let me add this to the list of config to remove before 3.0 is released #43519 |
We need to add a check for the config value of
show_trigger_form_if_no_params
. One problem is that right now the Dags list doesn't say if a dag has params or not so we don't know if we need to show the modal or not.Additionally, I wonder if this should be overridden if
require_confirmation_dag_change
is True.The text was updated successfully, but these errors were encountered: