chaphasilor / digitalhourbook Goto Github PK
View Code? Open in Web Editor NEWA digital hour book, using IndexedDB and fully offline
A digital hour book, using IndexedDB and fully offline
In it there will be dates and hours much like the default object store, but those hours will be combined and then subtracted from the total required hours (because there were no working hours but they still need to be accounted for)
Add an option to export and import the user's weekly hours, as those are quite fiddly to set up again and can't be synced yet.
The current file input seems to default to a media/image input on mobile, this probably confuses users...
Proz Helper accepts .csv-files. Add an option to export the most recent month from the first of the month to the current day of the month as a .csv- text (and copy it to the clipboard).
Works when manually importing...
Don't use weekends in the calcluation, this will make implementing auto-holidays easier...
The month selection on the export page is a bit broken, selecting December will output January, selecting November will output December and so on.
This is most likely just an offset problem and easily fixable.
Create at least two more object stores:
Filter events with leave
in the description so they are not included with the other working days and instead add all of their hours to the hoursOff
object store
This is part of #1
Up until now, the weekly hours are hard-coded as 7 hours per week.
Change this, so that you can specify a date and a number of weekly hours and from that date on until the current day or another date specifying different weekly hours, use these weekly hours to calculated required hours.
Example:
Date | Weekly hours |
---|---|
X | x1 |
Y | y1 |
This would result in the program calculating the required hours as #days since day X until day Y
*x1
+ #days since day Y until today
*1
.
The first entry should be the day the contract started.
Setup the weekly schedule in a dedicated object store, where you can specify the planned hours for each day of the week.
Use this information when calculating the required hours by checking the weekday for every day. This also applies to days off, where weekdays with 0 planned hours are ignored.
Currently it's a bit ill-formatted on mobile...
It seems like overtime might not be calculated correctly recently.
Check the calculations and fix any bugs.
Implement an overview over all hours in the database as well as all hours of the last month
Add a button to start a sync, this overwrites the database content by default
Use labels for better styling of the input elements (especially the date picker) and hide the actual inputs where useful.
Set up a NodeJS server to handle user backups.
on some days there are multiple entries at different times, those should be merged to calculate the total hours for that day.
This is (probably - check how days are counted) not an issue for the app itself but is important for exporting to Proz Helper
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.