FAI-CIVL / FAI-Airscore

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

Cancelled import is not cancelled. #212

Closed philderbeast closed 3 years ago

philderbeast commented 3 years ago

If I picked the wrong *.fsdb to import and cancel the import then the next time I go to import it seems the same file is still being imported. I had picked the 2018 comp for import but cancelled because it is the 2019 comp I meant to import. The [Cancel] button hides the dialog and the [Import] button brings it back, determined to import the comp I'd cancelled the import of.

Screen Shot 2020-12-19 at 10 41 11 AM

biuti commented 3 years ago

The cancel button is intended just to close the modal panel. Once selected a file in browse, process starts and cannot be stopped. I can see if we can hide buttons once process starts.

biuti commented 3 years ago

I've updated comp_admin FSDB importing to support flashed messages about process and results auto publish function (https://github.com/FAI-CIVL/FAI-Airscore/commit/50fd3481d0e31d3a8e062201ecd7d837b1d0b0e6)

I tested with many competitions, but I'm adding to test label so you can close if everything is ok.