Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphs #71

Merged
merged 17 commits into from
Mar 20, 2022
Merged

Graphs #71

merged 17 commits into from
Mar 20, 2022

Conversation

AbhB2303
Copy link
Collaborator

  • updated code with new main-dev code
  • added region comments sections to organize code
  • added type of drink fragment to specify before measurement and include in pie chart

- UI 2.1: Created a button to move to the graphs activity (temporary button to be changed with new homepage)

- UI 2.3: Displayed all user inputs retrieved on data plot

-made use of MPAndroidChart library to be able to plot values

-Work to still be done: add different types of graphs
- completion of 3 graphs based on user inputs over time
- still needs proper documentation
- code needs to be cleaned up and prepped to merge
-removed unneeded files in models
# Conflicts:
#	.gradle/7.2/executionHistory/executionHistory.bin
#	.gradle/7.2/executionHistory/executionHistory.lock
#	.gradle/7.2/fileHashes/fileHashes.bin
#	.gradle/7.2/fileHashes/fileHashes.lock
#	.gradle/7.2/fileHashes/resourceHashesCache.bin
#	.gradle/buildOutputCleanup/buildOutputCleanup.lock
#	.gradle/buildOutputCleanup/outputFiles.bin
#	.gradle/checksums/checksums.lock
#	.idea/misc.xml
#	.idea/modules/app/Drinking_Buddy.app.iml
#	app/build.gradle
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/com/example/drinkingbuddy/Controllers/Config.java
#	app/src/main/java/com/example/drinkingbuddy/Controllers/DBHelper.java
#	app/src/main/java/com/example/drinkingbuddy/Views/MainActivity.java
#	app/src/main/res/layout/activity_main.xml
- updated code with new main-dev code
- added region comments sections to organize code
- added type of drink fragment to specify before measurement and include in pie chart
- fixed all warnings
- changed drink specifying to floating action button
- included text view on home page to clarify drink that is specified
-
Fixed out of bounds exception on start with no measurements
- removed description label at corner of graph
- fixed some warnings on homepage
Removed unessential code from graphs
# Conflicts:
#	app/src/main/java/com/example/drinkingbuddy/Controllers/DBHelper.java
#	app/src/main/java/com/example/drinkingbuddy/Views/HomePage.java
#	app/src/main/res/values/strings.xml
- added needed library
- minor glitch still in code when going to trends
- merged menu items together
- fixed issue with rendering pie graph
- fixed issue with opening trends activity
@AbhB2303 AbhB2303 reopened this Mar 20, 2022
@AbhB2303 AbhB2303 removed the request for review from RGSkokos March 20, 2022 15:13
# Conflicts:
#	app/src/main/java/com/example/drinkingbuddy/Controllers/DBHelper.java
@mihaicolaru mihaicolaru added the user interface User interface related task label Mar 20, 2022
@mihaicolaru mihaicolaru added this to the Sprint 2 milestone Mar 20, 2022
- fixed graph discrepancy
- fixed timestamp issue
- fix of skipping every other measurement
- still need to fix overwrite of first graph value
breathalyzer result was handled differently for graphs then it was in homepage
Copy link
Collaborator

@linaism linaism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@linaism linaism merged commit 89b353e into main-dev Mar 20, 2022
@linaism linaism deleted the Graphs branch March 20, 2022 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user interface User interface related task
Projects
None yet
3 participants