prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Orion UI hide scheduled runs by default or add shortcut to select all

Open LukasK13 opened this issue 3 years ago • 1 comments

First check

  • [X] I added a descriptive title to this issue.
  • [X] I used the GitHub search to find a similar request and didn't find it.
  • [X] I searched the Prefect documentation for this feature.

Prefect Version

2.x

Describe the current behavior

Currently by default all run states are shown in the orion UI. When a flow is scheduled, the UI is spammed by a lot of scheduled flows and prevents to see the latest run results on a first glimpse. Selecting all but scheduled as run results to show takes 7 clicks and is reset as soon as the page is reopened.

Describe the proposed behavior

Either hide runs with the state scheduled by default or add an option to select all run states such that all run states can be selected at once and afterwards scheduled can be unselected (saves at least some clicks). I prefer the first option.

Example Use

No response

Additional context

No response

LukasK13 avatar Sep 12 '22 14:09 LukasK13

Thanks for the feedback @LukasK13. We're thinking through ideas about how to best address this.

zhen0 avatar Sep 13 '22 13:09 zhen0

Just bumping to show my support for a resolution to this. We're pretty heavy users of Prefect 1.0 with hundreds of scheduled flow runs per day. 1.0 had a great landing page which showed currently running flow runs separate to those scheduled. Now during the migration to Orion, we've found the 2.0 UI to have no such dashboard, and it takes a bunch of clicks to see what we really want to.

  1. Currently running flows.
  2. Recent flows that failed.
  3. The next 5 or so upcoming flows.

Currently there is a massive list of scheduled runs for the next 24hrs ahead which is the focus of the page when we land on it, which could do with some improvement!

voidel avatar Oct 10 '22 10:10 voidel

Saved views (just added in cloud coming soon to OSS) in the ui should allow you to customize what is shown in the flow runs page - you can filter by only running, only certain flows etc. We plan to add the ability to set relative time filters there too.

zhen0 avatar Oct 10 '22 17:10 zhen0

https://loom.com/share/df7cbdb7acf449eb8744dcd3a444a022

zhen0 avatar Oct 10 '22 17:10 zhen0

That looks very useful, thank you for the insight.

voidel avatar Oct 11 '22 10:10 voidel