daisy / pipeline-webui

A Web User Interface for the DAISY Pipeline 2
Other
3 stars 2 forks source link

v2.3.0 #91

Closed josteinaj closed 8 years ago

josteinaj commented 8 years ago

v2.3.0

Features

josteinaj commented 8 years ago

@bertfrees Web UI v2.3.0 is now available on maven central. The main feature is the progressbar (since it's very visible). As no scripts are sending progress information yet the only testing I've done is with a bunch of unit tests in clientlib-java and some manual tests with scripts that send no progress info. The behavior when there's no progress info available is that it will take approximately a minute to fill up the progressbar, but the progress follows an inverse exponential curve so while it never stops moving, it never fully hits 100% either. The progressbar should in theory be accessible since it's got the appropriate aria attributes.

bertfrees commented 8 years ago

Already done? :open_mouth: Jostein, you're a pleasure to work with!

Only concern I have is that the progress bar might currently cause more problems than it will solve. I'm afraid the exponential curve will just confuse people. Maybe we should only show it as of the first progress message it receives?

josteinaj commented 8 years ago

I'm not sure if the progressbar with no progress info is less confusing than a progressbar with a littlebit of progress info. For instance, say I add to the NLB script NLB-preprocessing at 0-10 %, and the generic script at 10-100%, I don't think the estimation would be much better than with no progress info; it might even be worse if the preprocessing stuff isn't actually 10% of the process but maybe 1% or 40%. We just need to gradually add more and more progress info to the modules, and tune them as we go I think.

And we'll need to try out if XSLT- and Java-messages are available through the execution log.

bertfrees commented 8 years ago

Actually I meant show no progress bar at all until the first message arrives.

josteinaj commented 8 years ago

Ah, I see. Yeah I agree. Or maybe make it an "indeterminate" progress bar until the first message arrives?

bertfrees commented 8 years ago

Yes, something like that.