trgkanki / remaining_time

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

[UI customization] Request to hide/customize time in Remaining Time #4

Closed bradydjohnson closed 3 years ago

bradydjohnson commented 4 years ago

Love the progress bar with different colors based on button selected. I find the text displaying the remaining time distracting, though. Would it be possible to make the appearance of the text customized? Or perhaps hide the text?

phu54321 commented 4 years ago

Actually I'm also distracted with the visuals of current UI, but I'm not a designer or UX expert, so I don't know how I could improve over this.

Removing the time section seems like a temporary solution, and since this addon is named 'Remaining TIME', I think this addon should somehow show how much time is remaining. I'd be glad to implement a better UI for remaining times though. Maybe show the on Anki's title bar? (This won't obviously work cause macOS doesn't show title bar by default. It also conflicts with deck name in title addon)

Could you suggest any idea? (Possibly with mspaint/photoshoped mockings)

thiswillbeyourgithub commented 4 years ago

Hi,

Hope that helped a bit :)

phu54321 commented 4 years ago

Maybe I could add an option to display current retention rate at the bar.

Need a better design...

image

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

phu54321 commented 4 years ago

Bump

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

phu54321 commented 4 years ago

Since https://github.com/trgkanki/addon_template/commit/4863070e373dcc0fb7fec2928d6d52d52d04fd8f, this is now feasible.

ETA this sunday

ghost commented 4 years ago

I'm commenting under this issue because I feel like it falls under the category of "customizing" time - it would be nice to have a config toggle to switch from a 24 hour ETA time (00:00-24:00) to a 12 hour one (12AM/12PM). Thank you for your addons, they make anki a lot better.

phu54321 commented 4 years ago

You can hide time by setting messageFormat to blank on addon config. Appearance/styling of texts are yet to be stylized, however.

@Helicle Check out the addon config. There's a new option called ETA12.

TheDemystifier commented 4 years ago

Could you add a variable that shows remaining time in Hours and Minutes instead of just minutes?

phu54321 commented 3 years ago

@TheDemystifier Sorry for late reply. Please open a new issue.

This issue has been solved at https://github.com/trgkanki/remaining_time/commit/c775f8ac9f8e742c318da8b99d30ad549ab0ec49. You can use custom CSS to hide the text.