kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
12.96k stars 1.13k forks source link

[UI] Make the Executions tab configurable via Settings #2010

Open anna-geller opened 1 year ago

anna-geller commented 1 year ago

Feature description

Currently, the Gantt view is the default view after creating a new flow.

While the Gantt view might be helpful for troubleshooting the duration of tasks in very complex workflows, the Logs tab seems more important to be displayed at first.

After you create a new workflow, it would be great to display the logs tab by default. Especially after the recent changes and planned additions (such as including logs from subflows), this view becomes the most useful and most commonly used one:

image

Alternative

An alternative might be adding a Setting section with a dropdown menu that allows users to set the default Executions tab:

  1. Logs (default)
  2. Gantt
  3. Topology
  4. Overview
  5. Outputs
  6. Metrics
  7. Audit Logs (EE only)
tchiotludo commented 1 year ago

I will opt to a setting that will match oss at first with only:

  1. Gantt
  2. Topology
  3. Overview

Don't really think the others one is useful. I think to kept gantt as default one for now?

anna-geller commented 1 year ago

It would be great to have the possibility of seeing the logs tab by default as it gives real-time updates on the progress of the tasks in terms of application logic, not only task run duration

FWIW I find the log view so information-rich that I rarely need the Gantt view

If you want to keep Gantt by default, perhaps this order in the Settings would be a good compromise:

  1. Gantt (default)
  2. Logs
  3. Topology
  4. Overview

I'd still vote for Logs as the default but understand why you'd prefer to keep Gantt as the default, It looks nice in the demos when parallel bars start moving :)

tchiotludo commented 1 year ago

It's mostly for whaou effect for first run in kestra but maybe we can make Gantt the default one after the getting started ?

anna-geller commented 1 year ago

yes that works, all options work for me as long as there is a setting allowing configuring Logs as the default tab 👍

it seems we can:

  1. Keep the Gantt view as the default view, as today (no changes here)
  2. Provide a dropdown in the Settings allowing to set the default Executions tab to be Gantt (default), Overview, Logs or Topology

if that works for you, I'll ask Nico to add it to the new Settings design https://github.com/kestra-io/kestra/issues/1947#issuecomment-1693197834

anna-geller commented 1 year ago

@Nico-Kestra let's talk about the design for this :)

Nico-Kestra commented 1 year ago
Capture d’écran 2023-09-04 à 18 52 49
anna-geller commented 1 year ago

@Nico-Kestra 2 small requests image

Nico-Kestra commented 1 year ago

Done!

Capture d’écran 2023-09-04 à 19 06 37

Figma