activitywatch icon indicating copy to clipboard operation
activitywatch copied to clipboard

Questions on time format in timeline and preventing pop-up

Open KarlRW opened this issue 2 years ago • 1 comments

Set time format and remove pop-up permanently (see screenshots)

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] I have searched the documentation and believe that my question is not covered.

Issue

Questions: 1 - In the timeline view. Is there a way to set the time format to be AM/PM instead of 24 hours? firefox_TPj5sRImjG

2 - There is a pop-up that I want to remove because its the same info over and over. firefox_4GUMWINJw4

KarlRW avatar May 22 '23 03:05 KarlRW

Can we add the good first issue tag to this? I found the alert() in the code and its seems like a fun/easy fix. I might work on it myself when I have time to set up a local version.

Suggested fix: Just get rid of the alert (feel like its not something that is supposed to be used in production anyway) and replace it with the html warning tag you use in other parts of the page. You can use local browser storage to track if the user wants to see the warning. Another option is to have the alert triggered when someone clicks "Save" after making an edit. Since that's the use case that you are trying to warn users about.

Why I care I use the pop-up a lot to get the exact time an activity started / stopped. Its much easier to read than in the timeline. I'm never clicking it to make changes. I feel like the alert is there because its assumed that the only reason someone clicks on an item in the timeline is to edit it which I have a feeling is not true for most users. image

KarlRW avatar Jun 16 '23 02:06 KarlRW