Skip to content

Dev#154

Merged
salsaady merged 13 commits intomainfrom
dev
Jan 21, 2026
Merged

Dev#154
salsaady merged 13 commits intomainfrom
dev

Conversation

@salsaady
Copy link
Collaborator

@salsaady salsaady commented Jan 21, 2026

Dev branch ready for demo

jaberhuda901 and others added 13 commits January 14, 2026 19:25
* feat: modified login to get ack from the firebase

* feat: added the regestation page an the linking from app to web-app

* feat: added a new page in app to start/stop ML

* feat: added a session so no need to login everytime
* ATT-46: Wired mediapipe.py script to store focus samples in local SQLite db.

* ATT-46: Added script to sync local SQLite db with cloud Firestore db.
* fix: trains ml model with remaining data

* refactor: changes the path of venv
* feat(ML): added mediapipe_script for tracking
facial coordiantes

* fix: added a column for focus status

* fix(mediapipe_script): added 50ms delay, improved
coordinate accuracy, added toggles for focus

* chore: added raw coordinates for the session 1

* chore: added raw coordinates for session 2

* chore: added raw coordinates for session 3

* refactor: cleaned up raw_coordinates.csv

* refactor: formatted code

* fix: changed true/false to 1/0 and removed emojis

* Ignore .venv311 virtualenv

* collected the data for building model

* feat(data): adds a new script to get coordinates from images

* refactor: updates requirements.txt

* fix: trains ml model with remaining data

* refactor: changes the path of venv

* fix: draws circles for eyes and nose

---------

Co-authored-by: jaberhuda901 <jaberulhuda@cmail.carleton.ca>
* add filter component

* add tanstack table and fix duration + focus filter units

* delete unused files

* link sessions table rows to session detail page

* change duration filter to text input

* parse user string input into minutes

* display different unit types in menu

* add session history header

* increase font size of app logo

* fix session details page layout

* use date formatter in session history table

* fix date filter

* rename focus column title

* align submenu input with submenu trigger

* add header for overall progress
* ATT-46: Added logic in the mediapipe_script.py to call the sync local db with cloud upon each program run.

* ATT-46: Changed name of local db.

* ATT-46: Added error handling logic upon adding entries to the local database.

* ATT-46: Changed attention_state variable type from text to integer for consistency.

* ATT-46: Added initial code to attempt avoiding overwriting cloud db with local db upon every db sync - needs more work and testing.

* ATT-46: Handle ML subprocesss shutdown cleanly for a graceful stop.

* ATT-46: Created a script to perform report calculation for each session.

* ATT-46: Modified sync_firestore.py to run build_reports.py scripts after every DB sync.
* hide achievements card for now

* add stat rings with dummy values

* rearrange and change colours

* make rings slightly bigger

* update getUserRports() to use doc id for joining with sessions

* use tanstack query to cache sessions and reports

* fix average focus score unit

* remove unused component

* add fixed goals

* refactor sessions list page to use query hooks

* use query hooks in session details page

* remove unused imports
* ATT-46: Added logic in the mediapipe_script.py to call the sync local db with cloud upon each program run.

* ATT-46: Changed name of local db.

* ATT-46: Added error handling logic upon adding entries to the local database.

* ATT-46: Changed attention_state variable type from text to integer for consistency.

* ATT-46: Added initial code to attempt avoiding overwriting cloud db with local db upon every db sync - needs more work and testing.

* ATT-46: Handle ML subprocesss shutdown cleanly for a graceful stop.

* ATT-46: Created a script to perform report calculation for each session.

* ATT-46: Modified sync_firestore.py to run build_reports.py scripts after every DB sync.

* ATT-46: Wired mediapipe_script.py to fetch user info from .session.json file.

* ATT-46: Modified user_repository.py to add new users to the DB.
* fix: added the chnages to the btn star/stop

* feat: added the unit tests for the pyside6 app

* feat: added some doc string to the unit test code
* remove grey background

* make loading states look better

* same ui fixes on register page

* remove register button on login page and add link instead

* shorter padding

* same padding on register
* rename userId variable

* update requirements mediapipe and numpy versions

* update gitignore

* gracefully kill ml process on both windows and mac
@vercel
Copy link

vercel bot commented Jan 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
attention-agent Ready Ready Preview, Comment Jan 21, 2026 6:29pm

@salsaady salsaady merged commit da72eb7 into main Jan 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants