| Summary: | API for tracking asynchronous, potentially long-running operations in javascript | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Szymon Brandys <Szymon.Brandys> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | antonm, john.arthorne, malgorzata.tomczyk, susan, tomasz.zarna |
| Version: | unspecified | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Szymon Brandys
I was thinking about it a bit and what I really had in mind was API similar to IProgressMonitor API. For instance I want to write code like this:
function(){
progress.beginOperation("myOperation", 100);
doSomething1();
progress.worked(50);
doSomething2();
progress.done();
}
It would create an operation being tracked by the progress/operations view. So I could start a long operation on one page, switch to another page and track the operation in the mini progress view there. Then I could do something else waiting for the operation to be finished.
Mike has shared[1] a link to a javascript lib for thread-like tasks -- task.js [1] http://dev.eclipse.org/mhonarc/lists/orion-dev/msg01089.html (In reply to comment #2) > Mike has shared[1] a link to a javascript lib for thread-like tasks -- task.js And the link itself - http://taskjs.org/ And another helful link: http://www.useragentman.com/blog/2012/01/03/cross-browser-html5-progress-bars-in-depth/ This is an old bug. The progress monitoring has evolved. Closing this - if future work is identified let's raise a new bug. |