FAI-CIVL / FAI-Airscore

AirScore - online paragliding / hanggliding GAP-based scoring software.
https://airscore.cc/
GNU General Public License v3.0
12 stars 17 forks source link

Indicate progress when scoring a task #280

Open joergewald opened 3 years ago

joergewald commented 3 years ago

Scoring a task can take a while. The spinning wheel does not really tell me enough. I want to know how many pilots have been scored yet, or some other measure that gives me a real sense of the progress made, and the time I still have to wait.

kuaka commented 3 years ago

Is this scoring a task or processing igc files? If the later there is a modal window that opens showing overall progress and details on the individual tracks being processed. This is not available if running the development webserver as it does not support streaming data to the front end. If you are talking about actually scoring then as far as I am aware it's usually quite quick. (A few seconds). Unless a complete rescore in which case the above modal should open. Perhaps @biuti can provide a screenshot of the track processing messages.

joergewald commented 3 years ago

This is scoring. Processing IGC files is covered to some extent with the modal window (although I also do not see there where in the process I stand, how many files are processed, how many still need to be processed).

I had several cases where scoring hang (as I found out later, due to stale data after deleting pilots). I sat in front of it for 5, 10 minutes and wished it would tell me where it stands.

kuaka commented 3 years ago

Ok that's a valid point. Progress on scoring could be reported. In general, something that needs to be addressed in the project is the silent failures/errors.

Regarding the tracklog process, it should be displaying words to the effect "processing track x/n" in the header of the modal. Maybe this is not appearing? in which case a bug should be raised as it was working in the past.

biuti commented 3 years ago

there is an indication processing x/y, and a toast green/red pops every finished track. Anyway some sort of feedback on failures needs to be done.

joergewald commented 3 years ago

I do not see "processing track x/n" anywhere here. FireShot Capture 061 - Track Management - localhost

biuti commented 3 years ago

It's under it, it updates during process. Usually I close that modal unless I need to see something. I can put a copy of progress in modal as well. image

joergewald commented 3 years ago

When I use "Full Rescore" in the "Task Scores" window, the modal has the information in its title. Can't we have that in the "Tracks" window's modal as well? FireShot Capture 064 - Task Scoring Admin - localhost

joergewald commented 3 years ago

Maybe with a space between the ":" and the first digit, as a cherry on the cake? :)

kuaka commented 3 years ago

When I use "Full Rescore" in the "Task Scores" window, the modal has the information in its title. Can't we have that in the "Tracks" window's modal as well? FireShot Capture 064 - Task Scoring Admin - localhost

this is what the main tracklog processing was displaying in the past when I wrote it. In fact this one was a cop of it.I am not sure why it has been removed. perhaps by error. @biuti ?

biuti commented 3 years ago

Fixed with https://github.com/FAI-CIVL/FAI-Airscore/commit/8be3cd5a26bc68d8259f5c165f79019d4a1c1831. Please close if so.

kuaka commented 3 years ago

Fixed with 8be3cd5. Please close if so.

what has been fixed? the original issue or the off topic tracklog processing progress? if the later it should remain open