Hey, I would like to request a feature, I am not s...
# prefect-ui
w
Hey, I would like to request a feature, I am not sure if this is the correct channel for that 🙂 Basically, I would like to have a way (similar to tags) to make my Python code change slightly the UI. I want to have the possibility to group tasks (with a collapse button) in the same way that subflows do (first screenshot), but without having to use a subflow 🙂
Copy code
@task
def my_task():
    ... 


def my_func():
    """ Regular python function that groups tasks """
    my_task()
    my_task2()
    .....

@flow
def my_flow():
    with prefec.group():
         my_func()
    my_others_tasks()
You might ask, 'Why don't you use a subflow instead?' In our case, we really want to have all the information on the first page. Additionally, we want to have all the artifacts, results (and even logs) on a single page, rather than going to subflow screens, something that is not possible with subflows. Is it possible to have it this way?"