I would like to make a request for the implementation of some type of
progress bar that will indicate that some long-term operation is in
progress. Some data maintainence, import tasks and report generation
tasks (such as the generation of a dataset for a chart) can take a
very long time. It has happened that I will not wait for a particular
operation to complete before moving on and doing something else. Would
it be possible to
1) Provide some type of visual clue that an operation is in progress?
2) Include some type of JavaScript warning (a la gmail) , perhpas "Are
you sure you want to navigate away from this page while this operation
is in progress?" to prevent users from mistakenly navigating away from
a long-term operation?
This is actually not a problem. The import and datamart functions are run as background processes, you can go to a different page and then come back while the processes are running. We are also planning to make a “background-process-manager”, where you can monitor the progress of and cancel all running background processes.
Hi Lars,
I should have checked the issue tracker but good to hear it will be
incorporated.
Regards,
Jason
···
2009/4/2 Lars Helge Øverland <larshelge@gmail.com>:
On Thu, Apr 2, 2009 at 1:37 PM, Jason Pickering > <jason.p.pickering@gmail.com> wrote:
Hi DHIS developers,
I would like to make a request for the implementation of some type of
progress bar that will indicate that some long-term operation is in
progress. Some data maintainence, import tasks and report generation
tasks (such as the generation of a dataset for a chart) can take a
very long time. It has happened that I will not wait for a particular
operation to complete before moving on and doing something else. Would
it be possible to
1) Provide some type of visual clue that an operation is in progress?
2) Include some type of JavaScript warning (a la gmail) , perhpas "Are
you sure you want to navigate away from this page while this operation
is in progress?" to prevent users from mistakenly navigating away from
a long-term operation?
2) This is actually not a problem. The import and datamart functions are run
as background processes, you can go to a different page and then come back
while the processes are running. We are also planning to make a
"background-process-manager", where you can monitor the progress of and
cancel all running background processes.