Files
windmill/frontend
pyranota 74c2cabd9f Add Explicit Progress Hint (#4433)
* Add new component `ExecutionDuration`

Reusable component helps with tracking execution time of job
It is not using job.started_at, but instead uses it's own tracking mechanism

The key difference that it can give insights during execution of job and measures pure execution time
Accuracy is configurable with `updateResolution`

Can also detect if job is `longRunning` e.g. runs more than X-seconds

* Implement Hint for Explicit Progress
It uses ExecutionDuration component introduced in previous commit
and device's local storage to handle `Dont show again`

* Remove dublication of `FlowProgressBar` in `run` page

* Change Hint styling

* Change values in `ExecutionDuration` to match required

`longDefinition`: 3 -> 30
`updateResolution`: 2 -> 10

Meaning jobs running more than 30s counts as a `Long Running Job`

* Fix broken link

* Scope to langs: `python3`, `bun` and `deno` jobKinds: `script`

* Simplify ExecutionDuration for new scope

* Bring `preview` job kind into the scope

We need this to show this tip in preview pages.
e.g. By clicking on subjob details of flow (this subjob is preview)
2024-09-24 19:13:06 +02:00
..
2024-09-24 19:13:06 +02:00
2024-09-11 00:11:11 +02:00
2024-06-26 14:17:31 +02:00
2024-07-22 20:25:56 +02:00
2024-02-02 23:30:17 +01:00
2024-07-22 22:31:53 +02:00
2024-02-14 00:52:50 +01:00

Windmill frontend

The Windmill frontend written in Svelte + Tailwind CSS

The frontend is under AGPL, see the LICENSE file at the root of this repo