ITR3:
Major changes:
- Structure of the code changed so that all of the components are linked with the database
- Behaviour of adding tasks changed so that the user can add the specific hour and minute of the task being due and instead of typing in the priority level of high, medium or low, users can press either of three buttons that do the same thing.
- Behaviour of tasks changed so that they become invalid after the due date has passed encouraging users to complete their tasks on time.
Issues:
- In the progress tracker chart, we originally planned for it to track across sessions but it turned out to be counterproductive as when the tracker is opened for a long time then it becomes hard to read all of the timestamps. To resolve this issue we opted for it to become session specific so it resets when the user logs back in.
- We were not able to solve the issue of users being able to make tasks without having to add a due date and users not being able to change due dates of existing tasks as we believed it to be an insignificant issue to fix for this iteration.
- The Pomodoro timer stays open when the main application is closed. This issue was not able to be resolved this iteration as the timer opens up as a new application.
Getting Started:
- Clone the repository
git clone https://github.com/Cpoing/2311-productivity-app.git
- Set up the database: Make sure you have PostgreSQL installed on your machine. Then go to the Tables section from Servers > PostgreSQL 16 > postgres > Schemas > public > Tables. Make the tables login_table, notes, scores_table, and task_tables with the properties shown below.
NOTE: in the notes table the number column's datatype is SERIAL not integer but it switches to integer after saving
- Open the DB.java file, under the public boolean init() method, change the password to the password used to open Postgresql.
String password = "your_password";
- Run the application.java file to run the app.
- Register with a username and password that is 10 or more characters.
- Login using the same credentials.
Note: To use the music player, download an mp3 file and open the music player button, it will prompt a file search and select the music file.
Architecture Sketch: https://github.com/Cpoing/2311-productivity-app/blob/main/Architecture%20Sketch%20-%20ITR1.pdf
Big User Stories: https://github.com/Cpoing/2311-productivity-app/blob/main/Big%20User%20Stories.pdf
Group 6 Log Report: https://github.com/Cpoing/2311-productivity-app/blob/main/Group%206%20Log%20Report.pdf
ITR1 Planning Document: https://github.com/Cpoing/2311-productivity-app/blob/main/ITR1%20Planning%20Document.pdf
ITR2 Planning Document: https://github.com/Cpoing/2311-productivity-app/blob/main/ITR2%20Planning%20Document.pdf
ITR3 Planning Document: https://github.com/Cpoing/2311-productivity-app/blob/main/ITR3%20Planning%20Document.pdf
UML Diagram: https://github.com/Cpoing/2311-productivity-app/blob/main/UML%20Diagram%20.pdf
Vision Statement: https://github.com/Cpoing/2311-productivity-app/blob/main/Vision%20Statement.pdf
Refactoring Document: https://github.com/Cpoing/2311-productivity-app/blob/main/Refactoring%20Document.pdf