/timesheet-fixer

a dirty bookmarklet to validate a timesheet app

Primary LanguageJavaScript

Timesheet Fixer

TL;DR

This is a quick a dirty bookmarklet I developed for a timesheet web application I was using in a company. Due to the complexity of the application sometimes it was easy to mess up the minutes for each task, so I created this script for my coworkers to make sure that timesheet page is valid before the project manager closes the month.

Some of the features are:

  • look for missing days
  • check if working hours are correct
  • warn if user has extra hours for a working day
  • warn if user has a future date compared to the current one

About

This script was developed to learn a bunch of things with JavaScript. Babel was used to minify and transpile the script, this bookmarklet creator was used instead to generate the actual link. Notify.js was used for the notifications.

Examples

Some notifications which popped up when executing the bookmarklet:

screen1

screen_mac