Coder Social home page Coder Social logo

timesheet-hero's Introduction

TIMESHEET HERO

This is a small utility app to keep track of your time. It is an ideal tool for a workplace that does not provide you with an automated way of knowing at which time you arrived and left the office.

How does it work

You do not need to input anything related to your arrival and departure to the app. With the help of a little bit of magic, it automatically detects at which time you first unlocked your computer on a day and the last time that you locked your computer. Based on that information, it is able to calculate how much hours you were at work. You can then adjust how many minutes you spend in pause.

Installation

To install this app, simply click here and download the most recent .exe file.

Screenshot

Screenshot 1

Running the code

To run the code, simply execute npm start from the root of the project. To Package the code in an executable, execute npm run pack. To create an installer, execute npm run dist.

If the executable created by the package gives you an error related to a missing library for edge-cs.dll, follow these steps:

  1. In the app/node-modules folder, delete the edge-cs folder;
  2. Copy the edge-asar-cs folder and name the copy edge-cs;
  3. Repack the project and the executable should now work.

timesheet-hero's People

Contributors

christophe-ph avatar dependabot[bot] avatar moustachauve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

timesheet-hero's Issues

going back to current workweek

If I look back to last week's work hours, I cannot go forward and get back to current week. If I want to set the current week in the settings, It won't let me chose the current day. When I close the window and reopen, it still doesn't give me current week. I need to end the process and then restart the application for it to refresh back to my current work week.

UI does not change week

When a new week start, the UI does not update and does not show the current week. The UI needs to be fully restarted to show the current week.

At least, the time is still getting tracked properly.

Week plan rounding issues

The week plan has some rounding issues for the total bar.

Sometime it will show 34:60h instead of 35:00h.
Other time it will show 35h but show it as blue or red instead of green since the rounding is done only for the display. It should also be done when checking if too much time or not enough has been planned

When setting the start time/end time override, the automatic week planner does not update

Step to reproduce:

  1. Make sure that the week planner is set to automatic
  2. Observe the remaining time to work on Friday
  3. open a Monday and change the end time override to a time later to increase the time worked on Monday
  4. check the remaining time to work on Friday

Actual result:

The time remaining at step 2 and 4 are the same

Expected result:

The time remaining should be smaller at step 4 than at step 2

Implement an automatic week planner

This would be a useful feature. The week planner could automatically "plan" the hours already worked in the previous days and spread the remaining time equally between the remaining days. This would be useful to just keep track on how much time is left for everyday.

Time accrued not registered if computer is powered down, without locking it

Steps:

  1. Open computer.
  2. Launch Timesheet Hero application.
  3. Wait an hour or two, to accumulate time.
  4. Power down the computer.
  5. Turn on the computer.
  6. Launch Timesheet Hero application.
  7. Observe registered time.

Result: Time is not registered when computer is turned off.

Expected: Time accrued should not be limited to locking the computer.

Remote Desktop Detection to Ignore Time Spent Working Off-the-clock

I'm really going to reveal myself as a workaholic now, but when we connect to our workstations from home and use Remote Desktop, we have to unlock our workstations remotely which triggers the timer even though out-of-office hours aren't accounted for in our time sheets.

If there's a way to detect users working over Remote Desktop so it doesn't continue logging time, that'd be a cool option for the settings :)

When the week changes, its possible to go to future dates

When the app has been open when the logic detect that a new week starts, the arrows on the top near the date in the title bar don't update properly.

The arrow to go in the future becomes clickable and allow the user to navigate to future date.
It should not allow to scroll to dates that are in the future.

Add ability to set the first day of the week

Give the option to allow the user to set which day of the week is the first day of the week.
Some users reported that their workplace schedule started on a different day than Monday, for example Wednesday.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.