trgkanki / remaining_time

GNU Affero General Public License v3.0
18 stars 3 forks source link

Toggle bar time sensitivity (different than a pause button)/additional config options #25

Closed MrAnki closed 3 years ago

MrAnki commented 3 years ago

Would love the option to toggle the bar to not slide around based on time, IE based on % completion and all the colors etc. stays the same (sort of like progress bar but with more colors). I always get frustrated on days where I start my reviews early then have an activity for a few hours and the progress bar projections get a little weird as it brings the projected time way up, this is fixable with just resetting the bar but obviously I liked like to avoid that so I can have a idea of how far I am in the day in X amount of time

Second feature is just a config option to add the count of new cards completed that day, IE. New->learning transition not learning->young. I like to do my new cards in batches of about 50-100 but sometimes there is a random uneven number of new cards for the day so the math gets unfortunate. Other config options that could be cool (no clue how difficult it would be to add I can't code): Just an option for % of cards complete, Time spent on new/young/mature/learning cards.

phu54321 commented 3 years ago

Seems like a duplicate of #24. Is that correct?

MrAnki commented 3 years ago

Seems like a duplicate of #24. Is that correct?

Not exactly, #24 is basically just a pause button for when you're away as I understand it. This would remove the time component all together, so if for example I have 100 cards to complete, each card I do fills x% of the progress bar in the colors we already have.

Presumably the % fill for each card would be 1/(new+learning+mature+#incorrect-#correct).

tldr: I just don't like it when my bars get really squished over on the right hand side and id like to sometimes have a visual representation of how far I've progressed through my cards by a certain point.

phu54321 commented 3 years ago

This addon is basically about remaining time. All other features are strictly accessory.

Use this addon instead.

https://ankiweb.net/shared/info/2091361802

MrAnki commented 3 years ago

Sure but the time calculation is also messed up for people with a learning step of 25 1440 etc

phu54321 commented 3 years ago

Sorry for bad english :( I wanna check if I've understood your comment correctly

Would love the option to toggle the bar to not slide around based on time, IE based on % completion and all the colors etc. stays the same (sort of like progress bar but with more colors).

Do you want every question segment to take the same amount of space regardless of the time spent on it?

image

So that 'new' progress just get stacked without existing segments sliding/shrinking/expanding around?

Note that the feature with this exact form is impossible, since # of remaining reviews may change during the session. You might be wrong on again, press undo, etc... Total number of reviews you need to do is not fixed. Existing segments will slide on this occasion. The most I could do is to make each review's size the same and calculate the entire bar's length just by your current/remaining card count.

MrAnki commented 3 years ago

Hi thanks for the update/reply! and what you said at the top is mostly what I am asking. But as you mention the total number of reviews you need to do does change. So each individual 'tick' bar would shrink by 1/(total cards+incorrect-undo). I think I can explain better if I make it into pictures, I will do that tomorrow and reply so hopeful I can make more sense.