Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Byte me Byte me
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • JuvrajSingh.-
  • Byte meByte me
  • Wiki
  • Deliverable 3
  • Final document
  • Challenges and How We Solved Them

Challenges and How We Solved Them · Changes

Page history
Update Challenges and How We Solved Them authored Apr 11, 2025 by Dilpreet.Gill6's avatar Dilpreet.Gill6
Hide whitespace changes
Inline Side-by-side
Deliverable-3/Final-Document/Challenges-and-How-We-Solved-Them.md
View page @ a9a52d19
...@@ -29,15 +29,15 @@ Issue: Navigating to the inventory screen created multiple stacked instances, re ...@@ -29,15 +29,15 @@ Issue: Navigating to the inventory screen created multiple stacked instances, re
Root Cause: Improper navigation handling and lack of data refresh upon return. Root Cause: Improper navigation handling and lack of data refresh upon return.
Solution: Used navigation.goBack() combined with useFocusEffect to refresh inventory data automatically upon returning. Solution: Used navigation.goBack() combined with useFocusEffect to refresh inventory data automatically upon returning.
Outcome: Navigation streamlined; inventory updates instantly after item changes. Outcome: Navigation streamlined; inventory updates instantly after item changes.
**6. Api Integration** **6. Api Integration**
Issue: Integrating the API and displaying data that was both relevant and necessary to the user experience Issue: Integrating the API and displaying data that was both relevant and necessary to the user experience.
Root Cause: The root cause of the issue was with the api especially pertaining to image quality and also recipe information. For example the images when taken from the Api request were always blurry and did not look very good. Root Cause: The root cause of the issue was with the api especially pertaining to image quality and also recipe information. For example the images when taken from the Api request were always blurry and did not look very good.
Solution: Rather than making the images bigger I scaled them down on the screen and used things in the styling such as image: 'contain' which made the images look better but only to a certain extent. Solution: Rather than making the images bigger I scaled them down on the screen and used things in the styling such as image: 'contain' which made the images look better but only to a certain extent.
**7. Food Log** **7. Food Log**
Issue: Updating user calories correctly so that the calorie tracker page can track the calories and display them. Issue: Updating user calories correctly so that the calorie tracker page can track the calories and display them.
Root Cause: The root cause of this problem was that the update was being called wrong and instead of updating it was never sent. Root Cause: The root cause of this problem was that the update was being called wrong and instead of updating it was never sent.
Solution: rather than using the updateUser with userId and calories being passed, instead updateUserCalories was the correct way to update the calories. Solution: rather than using the updateUser with userId and calories being passed, instead updateUserCalories was the correct way to update the calories.
**8. Expense Tracker** **8. Expense Tracker**
Issue: Displaying variables within the pie chart and page without conflicting with the async and accessing variables before their values are updated. Issue: Displaying variables within the pie chart and page without conflicting with the async and accessing variables before their values are updated.
Root Cause: The root cause of this problem was that the variables would causes unexpected problems Root Cause: The root cause of this problem was that the variables would causes unexpected interactions.
Solution: Creating local variables within the async function to access values and also creating a loading screen so that the the async function would finish before displaying the on the screen. Solution: Creating local variables within the async function to access values and also creating a loading screen so that the the async function would finish before displaying the on the screen.
\ No newline at end of file \ No newline at end of file
Clone repository
  • Deliverable 2
    • Requirements Statement
    • UML Class Model
    • Use Case Descriptions and Scenarios
    • Use Case Model
  • Deliverable 3
    • Final Document
      • Challenges and How We Solved Them
      • Key summary of all participants
      • Video Link
    • System Architecture
    • Updated Class diagram
    • Updated Use case Diagram
  • Functional Properties
  • Participation Journal
View All Pages