iamjustkoi / StudyTimeStats

Customizable statistics add-on for Anki.
https://ankiweb.net/shared/info/1247171202
MIT License
19 stars 4 forks source link

Not showing up on Congratulations page when selected #57

Open ottowolfenden opened 3 months ago

ottowolfenden commented 3 months ago

Bug/Issue Description When on the congratulations page the time stats do not show, and after clicking on a deck which is not completed, the stats shown are for the whole collection, not just the selected deck. To Reproduce Steps to reproduce:

  1. Go to Tools>Study Time Stats Options...
  2. Tick the box next to Congrats
  3. Click Apply
  4. Click OK
  5. Click on a completed deck
  6. See error

Screenshots/Visuals image

System/Debug Info Anki 24.06.2 (33a92379) (ao) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 Platform: Windows-10-10.0.22631

===Add-ons (active)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) Add Table ['1237621971', 2023-06-18T12:37, 'None', ''] Anki Simulator ['817108664', 2023-11-06T17:26, 'None', ''] AwesomeTTS - Add speech to your flashcards ['1436550454', 2024-06-01T15:05, 'None', ''] Button Colours Good Again ['2494384865', 2022-09-27T11:18, 'None', ''] Cloze Overlapper for 23x ['1784155610', 2024-02-18T01:53, 'None', ''] Color Confirmation ['1084228676', 2024-01-06T09:55, 'None', ''] Countdown To Events and Exams ['1143540799', 2022-06-27T12:50, 'None', ''] Deck name in title 21 ['699175524', 2019-06-01T02:05, 'None', ''] Image Occlusion Enhanced ['1374772155', 2022-04-09T08:15, 'None', ''] Life Drain ['715575551', 2024-04-30T08:15, 'None', mod] Review Heatmap ['1771074083', 2022-06-30T02:43, 'None', ''] Review Hotmouse ['1928346827', 2024-01-03T05:51, '2.8', mod] Study Time Stats ['1247171202', 2024-02-24T16:59, 'None', ''] Symbols As You Type ['2040501954', 2024-01-20T05:42, 'None', '']

===IDs of active AnkiWeb add-ons=== 1084228676 1143540799 1237621971 1247171202 1374772155 1436550454 1771074083 1784155610 1928346827 2040501954 2494384865 699175524 715575551 817108664

===Add-ons (inactive)=== (add-on provided name [Add-on folder, installed at, version, is config changed])