Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically refresh "Running" status #390

Closed
mjherzog opened this issue Jan 24, 2022 · 1 comment
Closed

Automatically refresh "Running" status #390

mjherzog opened this issue Jan 24, 2022 · 1 comment
Milestone

Comments

@mjherzog
Copy link
Member

The "Running" status for an SCIO pipeline does not automatically refresh in the Projects dashboard or the Project page. The problem is that you may think the pipeline is still running after it has finished. A periodic refresh every 30 seconds could suffice.

@tdruez tdruez added this to the v32.0.0 milestone Apr 14, 2022
tdruez added a commit that referenced this issue Apr 15, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Apr 18, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Apr 18, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Apr 18, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Apr 18, 2022
* Implement pipeline run status auto-refresh #390

Signed-off-by: Thomas Druez <tdruez@nexb.com>

* Display a "toast" notification on status refresh #390

Signed-off-by: Thomas Druez <tdruez@nexb.com>

* Move the toast code logic to a "main.js" function #390

Signed-off-by: Thomas Druez <tdruez@nexb.com>

* Fix unit test and extend the CHANGELOG #390

Signed-off-by: Thomas Druez <tdruez@nexb.com>
@tdruez
Copy link
Contributor

tdruez commented Apr 18, 2022

Implemented in #428

From https://github.com/nexB/scancode.io/blob/main/CHANGELOG.rst

Implement run status auto-refresh using the htmx JavaScript library. The statuses of queued and running pipeline are now automatically refreshed in the project list and project details views every 10 seconds. A new "toast" type of notification is displayed along the status update.

@mjherzog "Running" and "Queued" statuses are now refresh every 10s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants