-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve UI and add keyboard shortcuts #67
Comments
I made a hasty implementation of the main window as a .ui file, using a If you want, I can also make the code use it and send you a proper PR.
|
Thanks for your help, always appreciated :) |
Yes I know, I just added it for readability’s purpose :) |
Another alternative would be to keep the current UI and improving it by:
|
I was about to open a discussion about copying the code even if the checkbox is not ticked. You were faster :) Also, it would look nice if the TOTP countdown would be a decreasing progress bar instead of the current |
Yes, I also thought about that. I was thinking about having a "pie progress" instead of the usual progress bar, but I couldn't find anything like that on gtk. I guess I'll stick with the plain old progress bar then :) Sent from my Aquaris X Pro using FastHub |
There’s a (seemingly abandoned) project called gnome-break-timer; they used a custom widget as the progress bar. It is written in Vala, but it seems straightforward to implement in C. |
Thanks for link! I'll have a look at it :) Sent from my Aquaris X Pro using FastHub |
I'm not convinced that a circle counter/progress bar widget would be better than a plain text counter here. The widget would be very small and, therefore, more difficult to interpret compared to a simple countdown label. |
How about a progress bar then? A thin one like some web apps use nowadays, not a full thick one. |
I'll try it and see how it will look like :) |
Also, what will it look like for codes that use 60s htimeout instead of 30? FreeOTP+ solves it by not displaying a global timer, but one for every code. However, when you reveal multiple codes, it is rather annoying (although why on earth would you do that?) |
Actually it won't look at all. I still have to implement the support for 60s codes. I had it in mind, but then I completely forgot about it. Thank you for reminding me 👍 The global timer will be gone with version
|
I begin to feel a bit embarrassed to always mention it, but FreeOTP+ solves it pretty good to only display timers when the code is displayed. When you tap on a code, two timers get visible. The inner circle counts down until the current code is valid. The outer timer counts down until a code is visible on the screen, which is basically this code and the next one; if that timer ends, the code gets automatically hidden. I’m not sure it’s a good idea for a desktop app, but the idea behind it is pretty good (for me.) |
Ahahah no problem! Feedbacks are always more than welcome :) |
Evaluate switch to GtkListBox and global ui file:
The text was updated successfully, but these errors were encountered: