← Back to team overview

checkbox-dev team mailing list archive

Re: Header progress-bar in Checkbox-Touch

 

On 01/29/2015 01:17 PM, Ara Pulido wrote:

On 29/01/15 13:03, Maciej Kisielewski wrote:
Hello,
There was a short discussion on IRC few days ago about how should we
handle progress bar in the header for QML-native tests in Checkbox-Touch.

I want to gather your opinion about the subject.

Let's consider case when we have 10 jobs. Progress bar during 5th job should
look similar to this:
[####|     ] 5/10

If we let native tests display progress bar in header we have following
options:

1. Let it display progress of going through the list of jobs.
I think we can go with 1 to start, as it is the simplest and the less
confusing to begin with.

Once we have users, if they get confused by progress in within jobs, we
could reconsider.

Thanks,
Ara.

2. Let it display progress of within the job (current step)
    For instance, consider having a job checking if gyroscope sensor
works ok.
    One of the steps would be to tilt left, one to tilt right, and so on.
    Let's assume the job consists of 6 of those steps.
    In this approach header progress bar would display [###|      ] 3/6
on third
    step, although there are 10 jobs total.
2-alt. Let it display progress of current job (internal) as an extension to
    'ordinary' progress bar. I.e.
      job: [####|     ] 5/10
     step: [###|      ] 3/6
3. (looney) Let it gather info about steps from all tests, sum them up, and
    display one progress bar, accounting for all steps. E.g. 10 jobs, 8
of them
    single-step and 2 of them 6-step.:
     [####|     ] 7/20

This only affects checkbox-touch, as header progress bar is not present in
other front-ends (yet? ;-)

I personally opt for 1. because it keeps everything straight-forward
(for user
and implementation).

I would also only focus on option 1. Let's try to restrict the qml tests to the page content where they can decide to show their own progress if needed.
The header should IMHO be managed by the runner (i.e checkbox-touch).

Sylvain
--
Have a good one,
Maciek





References