don't place time tracker buttons under a menu #14714

Closed
opened 2025-11-02 11:20:56 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @printfdebugging on GitHub (Jul 7, 2025).

Feature Description

currently the time tracker buttons like "start timer" and "add time" are placed under a menu which shows up when i click on the settings button next to the time tracker heading (please see the screenshot).

Image

this is not good ux in my opinion as for someone using this frequently it becomes really annoying to first click on the menu and then select an option. instead frequently used options should be exposed as buttons next to the heading like the start timer button (and later the stop timer button). then it would be one click action which would be more convenient.

the labels can be shown as tooltips for the buttons.

Screenshots

No response

Originally created by @printfdebugging on GitHub (Jul 7, 2025). ### Feature Description currently the time tracker buttons like "start timer" and "add time" are placed under a menu which shows up when i click on the settings button next to the time tracker heading (please see the screenshot). <img width="276" height="277" alt="Image" src="https://github.com/user-attachments/assets/04deedb2-d1cb-4181-91f9-298a20dee7d3" /> this is not good ux in my opinion as for someone using this frequently it becomes really annoying to first click on the menu and then select an option. instead frequently used options should be exposed as buttons next to the heading like the start timer button (and later the stop timer button). then it would be one click action which would be more convenient. the labels can be shown as tooltips for the buttons. ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 11:20:56 -06:00
Author
Owner

@printfdebugging commented on GitHub (Jul 7, 2025):

i understand that the settings button is symmetric to all the sections in the right sidebar but in other cases it is required as there one often has to choose from a list of "labels" or "usernames" or "projects".. same doesn't apply to time tracker as there are simply three options. it would be even better if we just remove the settings button for the time tracker section and instead add three buttons to the right (the ones shown in the menu now), and additional stop button when the time tracker is tracking time.

@printfdebugging commented on GitHub (Jul 7, 2025): i understand that the settings button is symmetric to all the sections in the right sidebar but in other cases it is required as there one often has to choose from a list of "labels" or "usernames" or "projects".. same doesn't apply to time tracker as there are simply three options. it would be even better if we just remove the settings button for the time tracker section and instead add three buttons to the right (the ones shown in the menu now), and additional stop button when the time tracker is tracking time.
Author
Owner

@printfdebugging commented on GitHub (Jul 7, 2025):

another issue is that the whole window refreshes when i start the timer or stop it. this is not ideal as i might have comments which i haven't posted yet.

@printfdebugging commented on GitHub (Jul 7, 2025): another issue is that the whole window refreshes when i start the timer or stop it. this is not ideal as i might have comments which i haven't posted yet.
Author
Owner

@wxiaoguang commented on GitHub (Jul 7, 2025):

-> Refactor time tracker UI #34983

@wxiaoguang commented on GitHub (Jul 7, 2025): -> Refactor time tracker UI #34983
Author
Owner

@wxiaoguang commented on GitHub (Jul 7, 2025):

another issue is that the whole window refreshes when i start the timer or stop it. this is not ideal as i might have comments which i haven't posted yet.

If you have some "long" comments not posted, there should be a confirm dialog:

Image

@wxiaoguang commented on GitHub (Jul 7, 2025): > another issue is that the whole window refreshes when i start the timer or stop it. this is not ideal as i might have comments which i haven't posted yet. If you have some "long" comments not posted, there should be a confirm dialog: ![Image](https://github.com/user-attachments/assets/ef873cdf-204e-4685-acf6-e1ac5ab8250e)
Author
Owner

@printfdebugging commented on GitHub (Jul 7, 2025):

thanks :), i get the reload popup indeed but thought if it could be non-intrusive but i guess everything has a place on the timeline and since the comment started before, it is ambiguous whether to add the time tracker start before the comment (which is still draft) or where?

@printfdebugging commented on GitHub (Jul 7, 2025): thanks :), i get the reload popup indeed but thought if it could be non-intrusive but i guess everything has a place on the timeline and since the comment started before, it is ambiguous whether to add the time tracker start before the comment (which is still draft) or where?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14714