HASEL-UZH / TACOS-labstudy-tasks

0 stars 0 forks source link

Time-Tracking App: Adding PDF Export #9

Open AlexanderLill opened 2 weeks ago

AlexanderLill commented 2 weeks ago

Project

For this task, you will be working on an app to track working hours called "Time to Leave". "Time to Leave" is a web-application written in JavaScript running in Electron, and allows to enter working and break times to show a notification, when the daily amount of work hours is reached.

Setup

  1. Start the app in the terminal using the command npm run dev
  2. To stop the app, use CTRL+C within the terminal

Feature Request

Users have requested to export their monthly overview of logged times and overall overtime as a PDF. The already included button in the user interface (indicated in red in the picture) should trigger the PDF export of the currently shown month, instead of exporting a screenshot of the app. Please read the following text carefully to implement this task.

time-to-leave

While coding

πŸ‘‰ While working, search online for needed information. It is quicker than navigating through the entire codebase. πŸ‘‰ Save the file to see the effects of your changes - no need to restart the app.

Task Description

To implement this feature, two changes are necessary:

Change 1: Implement PDF export functionality

Change 2: Change the button icon

time-to-leave-icon