If you can’t measure it, you can’t improve it.
Peter Drucker
Following this principle we wanted to implement a time tracking app that forces the users to continuously track their activities throughout their day. An activity cannot be ended and therefore switching activities only works by starting a new one. This ensures that the user's activities during a day are measured without breaks which should lead to better coverage and therefore more capabilities to improve time spending.
This project was developed by four students at Munich University of Applied Science during a two weeks time frame in their fifth semester's PBLV (Praxisbegleitende Lehrveranstaltung).
By providing this application as open source, we want to enable others to use this app for themselves in order to improve their time spending.
- Content
- Usage
- Development Setup
3.1. Code style
3.2. Integration into Visual Studio Code
3.3. Build and serve
3.4. Run tests - Contributors
- References
The app is available at: https://ctt.sart.solutions/.
The Entrypoint of the CTT is the login screen:
If you have no account, you can create an account on the create account screen:
Once you signed up, you will receive a verification email.
Type this verification code in the relating input box on the confirmation screen:
After you signed in, you will land at the home screen:
At this screen you are prompted to start a new activity.
By clicking on the hamburger menu on the left of the "Continuous Time Tracking" label you can toggle the side navigation bar:
By clicking on "Categories" you can edit all categories or create a new one.
On the edit categories screen you can edit a certain category by clicking on the pen-icon:
On the edit categories screen you can add a category py clicking on the "+":
By switching to the "History"-Tab you can view the history of the current day and step trough the days:
By clicking on your account name you can see your account details:
Prerequisites:
- Node.js v10.x or later
- npm v5.x or later
- git v2.14.1 or later
Install the aws-amplify cli with (you might need sudo
):
npm install -g @aws-amplify/cli
Configure Amplify with:
amplify configure
- region: us-east-1
Install Amplify libraries:
npm install --save aws-amplify @aws-amplify/ui-angular
Get implemented api, database and authentication with:
amplify pull
Check your Amplify status with:
amplify status
We use the default ESLint angular configuration for static code analysis. Furthermore we use the default prettier configuration to ensure a consistent code formatting within the project.
Plugins:
- Name: ESLint
Id: dbaeumer.vscode-eslint
Description: Integrates ESLint JavaScript into VS Code.
Version: 2.1.14
Publisher: Dirk Baeumer
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint - Name: Prettier - Code formatter
Id: esbenp.prettier-vscode
Description: Code formatter using prettier
Version: 5.9.1
Publisher: Prettier
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode
You can build and serve your local changes locally by running:
npm install
ng serve
in the ./ctt-frontend directory.
You can run the tests by running:
ng test
in the ./ctt-frontend directory.
The following authors have contributed to this project (in alphabetical order):
Useful references and and documentations we used in our project: