glutanimate / review-heatmap

Anki add-on to help you keep track of your review activity
https://ankiweb.net/shared/info/1771074083
Other
1.2k stars 88 forks source link

"Ignore data before" Stops working after switching profiles and returning #182

Open camster88 opened 1 year ago

camster88 commented 1 year ago

Problem description

I noticed that despite me setting a specific date to ignore data before, the information showing % days reviewed and average cards completed was very incorrect, suggesting that the ignore data before was not working properly. I deleted and redownloaded, and found that the problem fixed itself! However, I noticed the problem occur again after using the app for a day or so. I have since tracked down the problem, which is that once I click "Switch profile," even if I return to the same profile I have been using, the Ignore data before date stops working and the stats display showing all reviews I have done on the account. I can't see how the problem is with any other add on interacting because it is not crashing or working improperly, the review heatmap just becomes unable to use the Ignore data before input, no matter what I set it at, once I switch profiles and return to the original profile.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):


    Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 5.15.2 PyQt 5.15.5
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2023-02-10 13:53:05

    ===Add-ons (active)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    AMBOSS add-on ['0amboss_addon', 2022-09-08T08:45, 'None', '']
    Advanced Browser ['874215009', 2022-09-26T20:28, 'None', '']
    BetterSearch ['1052724801', 2022-01-25T17:25, 'None', '']
    Browser Resizer ['1435775540', 2022-12-25T14:46, 'None', '']
    Clickable Tags v20 ['1739176371', 2022-01-30T17:58, 'None', '']
    Colorful Tags  Hierarchical Tags ['594329229', 2022-09-15T11:06, 'None', '']
    Custom Background Image and Gear Icon ['1210908941', 2023-01-11T14:47, 'None', mod]
    Duplicate and Reorder ['1114271285', 2022-06-29T17:05, 'None', '']
    Edit Field During Review Cloze ['385888438', 2022-06-27T05:48, '6.13', mod]
    Extended Tag AddEdit Dialog ['1135507717', 2022-03-13T06:41, 'None', '']
    Fastbar- with nightmode support ['46611790', 2023-01-19T08:57, 'None', '']
    Hint Hotkeys ['1844908621', 2017-08-29T14:53, 'None', '']
    More Overview Stats 21 ['738807903', 2021-07-30T15:13, 'None', mod]
    Rebuild All  Empty All for Anki 21 ['1810938259', 2018-07-20T00:40, 'None', '']
    Review Heatmap ['1771074083', 2022-06-29T21:43, 'None', '']
    Special Fields ['1102281552', 2022-11-21T20:49, 'None', mod]
    Straight Reward ['957961234', 2022-03-31T15:37, 'None', '']
    Symbols As You Type ['2040501954', 2022-06-08T00:09, 'None', '']
    The KING of Button Add-ons ['374005964', 2022-12-19T20:21, 'None', mod]
    True Retention ['613684242', 2017-11-19T15:43, 'None', '']

    ===IDs of active AnkiWeb add-ons===
    1052724801 1102281552 1114271285 1135507717 1210908941 1435775540 1739176371 1771074083 1810938259 1844908621 2040501954 374005964 385888438 46611790 594329229 613684242 738807903 874215009 957961234

    ===Add-ons (inactive)===
    (add-on provided name [Add-on folder, installed at, version, is config changed])
    '' ['Pass-Fail', 0, 'None', '']
    '' ['progress_bar', 0, 'None', '']
    Additional Card Fields Fork for 21 ['744725736', 2022-10-23T06:10, 'None', mod]
    Anki Killstreaks ['579111794', 2021-12-15T10:20, 'None', mod]
    Ankimote - remote to control Anki from your phone ['149004221', 2021-08-11T12:57, 'None', '']
    Auto Ease Factor ['1672712021', 2021-03-21T14:11, 'None', mod]
    Batch Editing ['291119185', 2019-06-02T14:47, 'None', '']
    BetterTags ['bettertags', 2020-11-14T15:34, 'None', '']
    Button Colours Good Again ['2494384865', 2022-09-27T06:18, 'None', '']
    Clickable Tags v20 original ['380714095', 2022-01-30T17:58, 'None', '']
    Color Confirmation ['1084228676', 2020-03-14T08:13, 'None', mod]
    Copy notes ['1566928056', 2021-12-24T14:56, 'None', mod]
    Customize Sidebar ['1988760596', 2020-01-15T16:01, 'None', '']
    Duplicate Selected Notes ['2126361512', 2017-08-29T14:57, 'None', '']
    Find and Replace in Card templatesNotetypesHTML ['992153575', 2021-09-17T02:34, 'None', '']
    Frozen Fields ['516643804', 2020-02-29T23:12, 'None', '']
    Image Occlusion Enhanced ['1374772155', 2022-04-09T03:15, 'None', '']
    ImageResizer ['1214357311', 2022-07-15T09:05, 'None', '']
    Leaderboard ['41708974', 2023-01-15T05:53, 'None', mod]
    Life Drain ['715575551', 2022-09-18T06:42, 'None', '']
    More Decks Stats and Time Left ['1556734708', 2022-10-09T08:05, 'None', '']
    Pokemanki ['633922407', 2021-02-24T13:49, 'None', '']
    Pomo ['2018952444', 2020-11-28T14:01, 'None', '']
    Pomodore Tomato Clock Port ['811976365', 2019-08-23T14:16, 'None', '']
    Remaining time for Anki 21 ['1508357010', 2020-12-13T09:14, '20.12.13i151', mod]
    Review Heatmap ['review_heatmap', 2020-04-30T09:23, 'None', '']
    Set Font Size ['651521808', 2022-05-01T14:02, 'None', '']

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

none