Skip to content

Debug frontend and database local settings#354

Merged
thaafei merged 5 commits intoTool/Devfrom
fix-main-page-toggle
Jan 25, 2026
Merged

Debug frontend and database local settings#354
thaafei merged 5 commits intoTool/Devfrom
fix-main-page-toggle

Conversation

@thaafei
Copy link
Owner

@thaafei thaafei commented Jan 25, 2026

Addings ability to run fullstack with debugging for both front and backend in vscode.
Allows to still us DBsqlite in local, with Mysql for non-local

Recording.2026-01-25.155203.mp4

@thaafei thaafei marked this pull request as ready for review January 25, 2026 20:36
@thaafei thaafei requested review from hamidizf and hatoumg January 25, 2026 20:36
@thaafei thaafei merged commit dc11d9e into Tool/Dev Jan 25, 2026
1 check failed
@thaafei thaafei added the feature New feature or request label Jan 27, 2026
thaafei added a commit that referenced this pull request Feb 5, 2026
* Setup Pytest and launch json

* More detailed readme

* Updated readme

* test workflow

* update path

* remove on push

* fix path

* change coverage to html

* fix

* update coverage path

* exclude setup files from coverage

* test for manage_local

* exlude unchange django default files from coverage report

* remove test files in backend

* exclude migrations

* update coverage path

* Create a new domain

* now users can create domains without errors

* removed the hardcoded domain Id from comparisontool and list the domains in main

* Removed hardcoded domain ID in the libraries page

* Removed hardcoded domain Id from edit page

* removed hardcoded domain ID from visualize page

* Fixed nav bar

* updated style on modal

* fixed issues with format and database

* uncommented mysql on settings

* removed hardcoded api link

* docker added

* updated gitignore

* dockerfile added

* update docker compose

* added .env path to docker compose

* .env to src

* .env path added to backend, redis, celery

* deleted require pass due to conflict

* added port to backend

* .gitignore on .src level for server

* override false on .env

* updated default autofield to test on docker

* rest of tables added

* added the scoring rules in json

* fixed the issue with the dropbox for metric type

* Add production Docker + nginx web proxy

* debug backend error on server

* wrap analysis inside try except

* bind redis to 0.0.0.0, remove protected

* add .pem file path

* edit metric page

* fix edit page

* updated manage_local

* deleted test files

* added rules and categories as well as calculating the AHP for a category

* Debug frontend and database local settings (#354)

* Debug frontend and database local settings

* fix tests

* another fix

* fix

* fix

* Fixed bugs with AHP

* deleted corrupted migration files, added analysis under util to access in different views

* updated library views to use analysis from utils

* migration on domains

* npm start issue

* updated edits page ui to have a cleaner table, added update button on rows and update all above table to run analysis on click, added functions to comparison view

* Added graphs in the main page

* removed summary page

* made sure no errors would show up if there are no domains

* add error message when creating domain

* added background colour of the selected domain

* docker changed to send data to server instead of docker db

* docker compose

* Dev/modular db (#360)

* docker changed to send data to server instead of docker db

* docker compose

* fixed sidebar toggle

* Dev/create domain (#324)

* Create a new domain

* now users can create domains without errors

* removed the hardcoded domain Id from comparisontool and list the domains in main

* Removed hardcoded domain ID in the libraries page

* Removed hardcoded domain Id from edit page

* removed hardcoded domain ID from visualize page

* Fixed nav bar

* updated style on modal

* fixed issues with format and database

* added the scoring rules in json

* fixed the issue with the dropbox for metric type

* added rules and categories as well as calculating the AHP for a category

* Fixed bugs with AHP

* Added graphs in the main page

* removed summary page

* made sure no errors would show up if there are no domains

* add error message when creating domain

* added background colour of the selected domain

* fixed sidebar toggle

---------

Co-authored-by: hamidizf <haniyehamidizadeh@gmail.com>

* added ahpy to requirements.txt

* added the metric attributes for user to see

* changed style of frontend

* added evidence: #363

* added extra host

* fixed bug: #366

* add weight on main page: #365

* More Domain Information Sidebar and Edit/Delete Domains (#370)

* Initial DB change to allow for multiple creators for a domain

* Modularize the main page

* Adjust middle graph to not expand the whole page

* Cleaned up sidebar

* Update more info sidebar with domain db information

* Edit domain button shown only when user is a creator of the domain, or is a superuser

* Update Create domain to allow for multiple users to be added, and updated error messages

* Update model to pass full_name so don't need to do that elsewhere

* slight update

* Edit domain and delete page done

* Finishing up domain edit page

* add unit test

* update test workflow

* add ahpy to requirements

* fixed range problem in add metric

* removed second graph

* added categories

* removed double button

* temp removal of coverage report fail if under 80 (#374)

* Revert "Dev/api update"

* DB merge

* fixed bugs

* Url alignment

* test analysis added

* comparison views test added

* resetting database

* sticky name

* align back button on all pages, fix url issues

* added apiUrl

* added apiUrl

* library view test added

* resolve migration issue

* resolve conflicts

* resolve conflicts

* removed https proxy for test

* DB needs maxlength for paper_name

* update migration

* test is local issue

* revert back changes

* migrate

* added edit on metrics page, adjusted table to be aligned with edit metric values

* update docker-compose and nginx config to redirect to our domain

* nginx update

* updated docker and nginx

* fixed typo in docker compose

* modal on edit and add metric, aligned modal styles

* aligned table with other pages

* cleaned up table on add library page

* Metric page and Metric URLS

* libraries url

* deleted views

* metric values urls

* domain url fix

* align tests

* fix broken unit test

* remove update-values library test to library_metric_values test file

* Initial admin page with edit. Adjusted test_db to refelct logic

* update of table ui

* Updated buttons based on who can see business logic.

* Update select labels to black colour via class

* Create success popup component

* Add Unit test

* Update edit user to include email and username

* scc added

* test push

* added a new page for the category weights

* can't save something that is more than a total sum of 1

* removed table from main

* added slider and view for the weights

* reformated weight page

* updated the graph

* adding gitstats

* added url path for report to library

* edited edit page to have status on page, not completed yet

* added gitstats analysis id since running on a separate worker

* added gitstats path to settings

* added second worker

* docker, nginx, and docker file update to take results

* disable save button if it doesn't add up to 100

* added table

* Admin Page (#393)

* Initial admin page with edit. Adjusted test_db to refelct logic

* update of table ui

* Updated buttons based on who can see business logic.

* Update select labels to black colour via class

* Create success popup component

* Add Unit test

* Update edit user to include email and username

* only graph top 10 graphs

* updates the values

* allow user to update their information

* added test for ahp calculation

* updated services, tasks and edit page

* Initial page changes

* add react plotly

* adding url to metric value

* initial setup and update test fixture

* pass library id

* display report under column edit page, add modal

* Initial setup to allow for downloading all graphs as svg

* updated docker compose and nginx config

* update to export as zip

* revert celery command

* update gitstats

* updated dockerfile to fix scc installation issue

* restrict library info editing on edit metrics value page

* view report on comparison tool page

* Update to category selection on metrics page

* test added for tasks.py

* test added for services.py

* separated test for metric values model and view and updated library test views

* test added for library model

* test updated for analysis and github_http

* remove unneeded file

* For now

* Functionality done

* fix styling

* updated celery time and docker compose to remove concurrency due to core limit

* Dev/GitHub data (#401)

* scc added

* test push

* adding gitstats

* added url path for report to library

* edited edit page to have status on page, not completed yet

* added gitstats analysis id since running on a separate worker

* added gitstats path to settings

* added second worker

* docker, nginx, and docker file update to take results

* updated services, tasks and edit page

* adding url to metric value

* pass library id

* display report under column edit page, add modal

* updated docker compose and nginx config

* revert celery command

* update gitstats

* updated dockerfile to fix scc installation issue

* restrict library info editing on edit metrics value page

* view report on comparison tool page

* test added for tasks.py

* test added for services.py

* separated test for metric values model and view and updated library test views

* test added for library model

* test updated for analysis and github_http

* updated celery time and docker compose to remove concurrency due to core limit

* Preview Visualizations and Export Visualizations (#410)

* Initial page changes

* add react plotly

* initial setup and update test fixture

* Initial setup to allow for downloading all graphs as svg

* update to export as zip

* Update to category selection on metrics page

* remove unneeded file

* For now

* Functionality done

* fix styling

* Adding the profile page

* added message and change format of the buttons

* increased timeout

* increase time limit on gitstats task

* updated so the domain shows up

* matched updated buttons

* Merge branch 'Tool/Dev' into fei-visualization

* Update to visualizations

* Add reset weights button

* added library edit, success message on page, test for update (#417)

* Changed Profile Page (#415)

* added test cases

* preselect the domains

* added a back button to the category weights page

* added tests and changed logic

* fixed the red box issue

* removed old work

---------

Co-authored-by: Fei <50682656+thaafei@users.noreply.github.com>

* Update to not visualize  bool and text type metrics

* Update readme - Haniye

* celery settings

* added back mstakenly removed parts adjusted celery timing

---------

Co-authored-by: Fei <50682656+thaafei@users.noreply.github.com>
Co-authored-by: hatoumg <ghena.ali.hatoum2003@gmail.com>
Co-authored-by: hatoumg <117422535+hatoumg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants