benorbital
05/30/2024, 11:12 AMrun_deployment
inside a wrapper task, which is useful for caching and parallel submission. However, it has the annoying side-effect of meaning that both the task and subflow appear in the UI. Is there a way to hide one of these? e.g. a way to hide a task in the UI or a subflow?Marvin
05/30/2024, 11:12 AMrun_deployment
inside a wrapper task. This could help with decluttering the interface.
I'll search the Prefect documentation to see if there are any configurations or best practices to achieve this. Give me a moment to check.
Good news! The functionality you're looking for has been addressed in recent updates to Prefect. Here’s a summary:
1. Hiding Subflows in the UI: Prefect now allows for hiding subflows on the flow runs page. This feature is useful when dealing with numerous subflows, as it helps declutter the dashboard. A toggle or button has been added to the Prefect dashboard to show or hide subflows.
- GitHub Pull Request: Add button to hide/show subflow on dashboard page
- GitHub Issue: Toggle to show/hide subflows in the UI
- Release Notes Highlight
- Prefect Documentation on Subflows
Unfortunately, there isn't a direct way to hide individual tasks within the UI at this stage, only subflows. Implementing subflow hiding should address a significant part of your concern.
If you're interested in configuring this, I suggest checking out the Prefect version you are using and ensuring it includes the updates mentioned above.
If you need further details, you can find more comprehensive information on implementing and using these features in the provided links.
Would you like assistance with anything else?