w7sst / MorseRunner

Morse Runner Community Edition
Mozilla Public License 2.0
61 stars 12 forks source link

View Score Table not working #255

Open scotthibbs opened 6 months ago

scotthibbs commented 6 months ago

Description

I worked the HST for an hour. I used the Run dropdown and selected HST without changing anything. I got a score pop up at the end of the contest but nothing in the File/View Score Table. It states "Your score table is empty". I have a "HstResults.txt" file in the directory and it has two previous entries where I didn't finish (the first is "2024-02-19 21:19 VE3NEA 0"). If I finish this contest early, I get another entry like the first but my score table is still empty.

I noted in the feedback from Bob WR7Q #174 that "However, the high score table file (morserunner.lst that is created on contest finish) could be expanded and or renamed to be emailed to the cwops adviser." We may need to consider having a separate high score name for each one of the contests but I didn't see a morserunner.lst file created.

Steps To Reproduce

  1. Run drop down and select HST
  2. Finish the contest
  3. File/View Score Table is empty.

Expected behavior

We should see contest results here.

Actual Behavior

"Your score table is empty".

Reproduces how often

%100

Version information

Additional context

Can you help?

Please let us know if you are available to help. (replace '[ ]' with '[x]' to affirm)

scotthibbs commented 6 months ago

Upon further inspection this feature is not working in 1.67 or in 1.68 as well. I finished HST competition for an hour in both versions and the table remained empty.

I was hoping to get a start as to how this should look. I'm not sure what is in the code... But I have decided to separate the entries into a competition section and a contest section. Probably easier to have "Competition High Scores" and "Contest High Scores" in the file menu to separate them. We could save them to a competition.csv and contest.csv file for simplicity and when called simply list them by Date from there.

Also we could be fancy and have a separate "High Scores" menu item listing all the contests and competitions which would call the corresponding csv to be read and displayed.