CSE-112-Team-3 / FoodJournal2.0

our new repository
1 stars 2 forks source link

81 frontend profile page settings #89

Closed Yuz167 closed 2 weeks ago

github-actions[bot] commented 3 weeks ago

Dependency Review

βœ… No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

netlify[bot] commented 3 weeks ago

Deploy Preview for foodjournal2 ready!

Name Link
Latest commit a0551744f8a707404e34b1fcb5c939afcd0822b9
Latest deploy log https://app.netlify.com/sites/foodjournal2/deploys/6660c0161842bf000906a211
Deploy Preview https://deploy-preview-89--foodjournal2.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Yuz167 commented 3 weeks ago

This PR integrates the API into the settings page, allowing users to view and update their profile settings.

The PR addresses the issue by first retrieving information from the database and then checking if the information has been updated when the β€˜save’ button is clicked. This ensures that the same username, email, etc., are not saved to the database twice, and any updated information that differs from the database will be saved.

An β€˜edit’ button has been added, which prevents users from changing any information until this button is clicked. The PR includes logic for retrieving information from the database, checking if the data to be saved already exists in the database, and storing the updated information in the database.

lkimdaryl commented 2 weeks ago

closes #60 closes #81