Project

General

Profile

Feature #7298

UI: Manage: Task Management

Added by Yan-Fa Li over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
UI
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Calamari v2 has a concept of long running tasks, which can return a handle which can be queried for completion. The UI attempt to track task completion and provide some notification on the UI. The UI is stateless and may have to attempt to store metadata about tasks in local storage if available.

History

#1 Updated by Yan-Fa Li over 7 years ago

  • Status changed from New to In Progress

#2 Updated by Yan-Fa Li over 7 years ago

Basic task/request queue viewing is in place on manage branch via commit 2044b07139b50bf83ef64f1046160779f423d05a

It's possible now to look a the current request queue and see which tasks have been completed.

TODO:

Track tasks initiated by this client and delivery notifications when they are completed. This will probably require a task/request service which does regular requests to the backend and pushes notifications to the UI once the request-id changes to complete.

#3 Updated by Yan-Fa Li over 7 years ago

Basic task tracking implemented. As new tasks are successfully submitted to Calamari their IDs are added to request tracking service. Request tracking services polls request API for completed tasks and removes id's that have been successfully completed.

TODO: add notifications on UI when task has completed. Probably via $broadcast

#4 Updated by Yan-Fa Li over 7 years ago

Added Error states to Request tracking UI. Now if a request reports an error it displays an exclamation icon and error_message that was sent by calamari.

#5 Updated by Yan-Fa Li over 7 years ago

  • Status changed from In Progress to Resolved

Fixed on branch manage commit id ed380b6455ffe176dd565f028772bd1915f7de7b

Also available in: Atom PDF