This adding possibility to configure new step base on the new parameters passed to set_source.
Use cases:
When cohort do not have steps and new_step = "clone" then use available_filters.
When new_step = "configure" and available_filters do not exist use standard add_step method and display warning message in the console.
When new_step = "configure" and available_filters exist open the modal with filter configuration.
This adding possibility to configure new step base on the new parameters passed to set_source.
Use cases: When cohort do not have steps and
new_step = "clone"
then useavailable_filters
. Whennew_step = "configure"
andavailable_filters
do not exist use standardadd_step
method and display warning message in the console. Whennew_step = "configure"
andavailable_filters
exist open the modal with filter configuration.