Coder Social home page Coder Social logo

sensehack / health-sense Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 3.0 10.46 MB

All in one Health App - Computer Science Capstone Project

Home Page: https://sensehack.github.io/health-sense/

License: GNU General Public License v2.0

Swift 95.60% Ruby 0.68% JavaScript 1.41% HTML 1.50% CSS 0.81%

health-sense's Introduction

Kautilya Save ~ SensehacK - KS

Always context switching

Kautilya is looking for h1b sponsored jobs

sensehack.github.io

LinkedIn Medium Obsidian Twitter Spotify TraktTV


⚡️ A quick introduction

  • I’m currently working with at TrackVia with their Mobile team.
  • I'm a multimedia fanatic, amateur photographer, and automobile admirer. I like to write articles, experiment food and bike everyday!
  • Fun-Fact: I'm Team - Linux, Tabs, Vims, HTC, Firefox, Mac, AMD, LG, Microsoft, Manual Cars, PCMR.

Current

switch time { 
  case .day:
 	print("Software Engineer")
  case .night:
	print("Technophile")
  default: 
    print("Traveling, Biking, Hiking, Gaming, Consuming")
}

🛠️ My Favorite Tools

👨‍💻 Programming

Swift TypeScript JavaScript Bash CSS HTML Java JavaScript Node.js Python SQL PHP

🧰 Frameworks and Libraries

UIKit RxSwift React CocoaTouch Ionic Bootstrap Angular Express.js

🗄️ Databases and Cloud Hosting

Gitlab CI GitHub Pages MongoDB MySQL Obsidian Azure Markdown Heroku

💻 Software and Tools

Xcode Android Studio Arch Linux 1Password Figma Sketch Firefox Dash Discord Git Jupyter Postman Visual Studio Code

📊 Github Stats and Activity

🔥 Streak Stats

sensehack's streak

💻 GitHub Profile Stats

Kautilya Save's github stats

Kautilya Save's Activity Graph

health-sense's People

Contributors

abbas-shamshi avatar endri969 avatar manasitayade avatar rtrend96 avatar sensehack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

health-sense's Issues

App Charts Library Phase 2

Description

Functionality of adding a graphical Chart for iOS application which would display various charts in the application.

Types of chart

  • Pie Chart
  • Colored Chart

Expected behavior: [What you expected to happen]
Fluid charts displayed in the iOS application

Actual behavior: [What actually happened]
No charts currently displayed.

Dependency

  1. Xcode , iOS v+
  2. Macaw Library
  3. Patience
  4. Intelligence

Process

  • Cocoapods install
  • Library Pod
  • Healthkit Story Complete #39
  • Healthkit Integration #
  • Read Charts Documentation
  • Implement your understanding

Documentation

Feedback on other technical Papers

All the technical papers are on the Pace Portal.
We have to give feedback about each paper for the next team feedback.
So go through each technical paper and send your feedback in the WhatsApp group.

App Analytics

Description

Functionality of adding a feature for iOS application which would add in analytics build into the application.

Other options

Expected behavior: [What you expected to happen]
iOS application with in house app analytics

Actual behavior: [What actually happened]
No statistics.

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence

Process

  • Story Dependency
  • Read Documentation
  • Implement your understanding
  • Story Future Roadmap #24

Documentation

Apple HealthKit Phase 3

Description

Functionality of adding a feature for iOS application which would add in Apple HealthKit API data access throughout the application.

Story #39 is dependent on this Feature

Other options

Utilize different other libraries like ionic health extension(Hybrid approach)

Expected behavior: [What you expected to happen]
iOS application should display or modify health related data from our application.

Actual behavior: [What actually happened]
Doesn't do any of the aforementioned feature.

Phase 3

  • Water
  • Sleep
  • Mind
  • Audio Hearing

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence
  5. Money

Process

  • Cocoapods install
  • Library Pod
  • Feature dependent on #48
  • Read Apple HealthKit Documentation
  • Implement your understanding

Documentation

Settings Screen Phase 1

Description

Functionality of adding a feature for iOS application which would add in better settings options to the user.

Other options

Give the end user no options for changing settings

Expected behavior: [What you expected to happen]
iOS application should provide its users to modify certain settings according to their preference.

Actual behavior: [What actually happened]
Doesn't do any of the aforementioned feature.

Phase 1

  • Dark Mode Toggle
  • Randomized User Name
  • Show Onboard user screen once again

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence
  5. Money

Process

  • Feature dependent on #50
  • Read good Settings App options article
  • Implement your settings in User Defaults

Documentation

iOS First Launch UX

Description

Functionality of adding a feature for iOS application which would add in
Show welcome screen for first time on-boarding users.

Expected behavior: [What you expected to happen]
iOS application should dynamically show screens depending on its first launch or normal launch.

Actual behavior: [What actually happened]
No checking which launch state or dynamic screen allocation.

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence

Process

  • Apple default storage
  • Story future improvement #33
  • Read Documentation
  • Implement your understanding

Documentation

ReadME App Updates

  • I'm submitting a ...
    • feature request

Tasks

  • App Screenshots
  • Links for sources
  • Links for software tools, assets.
  • Grammar Check

Incorrect App analytics on first launch

Bug Report

Current Behavior
On the first launch of the app in settings, the app ran data shows 2 times.

Expected behavior/code
On the first launch the app ran data must show 1 time as the app is running for the first time.

Environment

  • Xcode version(s): 11.4.1
  • iPhone: 13.4.1
  • OS: MacOS 10.15.3
  • How you are using App build: Xcode run

Possible Solution

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots
Screen Shot 2020-05-07 at 9 40 13 PM

Quiz 9

Submit Quiz till 22nd April.

Quality Analysis

Prerequisites

  • Are you running the latest version?
  • Check code on Xcode.

Other options

If you don't have updated code then ask the developer to get that

Expected behavior: [What you expected to happen]
application run smoothly

  • Check running status
  • Bug report
  • Make issues on that report Assign it to developer

Dependency

  1. IDE , OS v+
  2. Library
  3. Patience
  4. Intelligence

Process

  • Tool install
  • Library Pod
  • Story Complete #
  • Read Documentation
  • Implement your understanding

Fully Functional CI/CD

  • I'm submitting a ...

    • feature request
  • What is the current behavior?
    Travis CI for Test automation
    Github Actions for Build generation ( Failing )

  • What is the expected behavior?
    Direct App deploys to Ad-Hoc App Store without human intervention.
    VS App Center deployed iOS apps to the beta testers or release candidates.

  • What is the motivation / use case for changing the behavior?
    CI/CD & I hate middlemen dependency. No need for support request to release signed build versions of Mobile Application.

  • Other information
    Good guide I stumbled upon, currently this won't be the priority as of now.
    But adding the link for future expansion as we already have Travis CI deployed.

You could read these articles:

Bug iPhone app crash on launch

Bug Report

Current Behavior
App is stuck on splash screen.

Expected behavior/code
It should run properly as it runs in simulator.

Environment

  • Xcode version(s): 11.4.1
  • OS: MacOS 10.15.3
  • iPhone: 13.3.1
  • How you are using App build: Xcode run

Possible Solution

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots
Screen Shot 2020-05-02 at 6 47 54 PM

Debug Logs

dyld: Library not loaded: @rpath/Macaw.framework/Macaw
  Referenced from: /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/HealthSense
  Reason: no suitable image found.  Did find:
	/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: code signature invalid for '/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw'

	/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: stat() failed with errno=25
	/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: code signature invalid for '/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw'

	/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: stat() failed with errno=1
	/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: code signature invalid for '/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw'

	/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: stat() failed with errno=1

App Charts Library Phase 1

Description

Functionality of adding a graphical Chart for iOS application which would display various charts in the application.

Types of chart

  • Bar Chart
  • Ring Chart

Expected behavior: [What you expected to happen]
Fluid charts displayed in the iOS application

Actual behavior: [What actually happened]
No charts currently displayed.

Dependency

  1. Xcode , iOS v+
  2. Macaw Library
  3. Patience
  4. Intelligence

Process

  • Cocoapods install
  • Library Pod
  • Healthkit Story Complete #31
  • Read Charts Documentation
  • Implement your understanding

Documentation

User Name Inference

Description

Functionality of adding a feature for iOS application which would be more personal from the UX perspective and would be more tailored.

Expected behavior: [What you expected to happen]
Should display welcome username which is dynamic to the user.

Actual behavior: [What actually happened]
Hard coded text displayed on every launch "Welcome Kautilya"

Tasks

  • Device Name
  • Strip off suffixes like ("iPhone", "iPad", or "'s "etc)
  • Unit Test

Dependency

  1. Xcode , iOS v9+

Process

  • Read Documentation
  • Implement your understanding
  • String manipulation
  • String Interpolation

Test Cases

The user shouldn't get text suffixes like ("iPhone", "iPad", "Mac" or "'s "etc)
Testing different scenarios by @ManasiTayade

eg. On Eminem's iPhone | Elon Musk's iPhone
It should display:
Welcome Eminem | Welcome Elon Musk

Documentation

Bug button view chart

Bug Report

Current Behavior
On the first launch when we press the 'view chart' button it takes you to the onboarding screen.

Expected behavior/code
It should display the chart.

Environment

  • Swift version(s): [e.g. v4.0.0, v5.0]
  • OS: [e.g. OSX 10.14.6, Windows 10]
  • How you are using App build

Possible Solution

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
Screen Shot 2020-04-30 at 6 33 03 PM

Apple HealthKit Phase 2

Description

Functionality of adding a feature for iOS application which would add in Apple Healthkit API data access throughout the application.

Story #30 is dependent on this Feature

Other options

Utilize different other libraries like ionic health extension(Hybrid approach)

Expected behavior: [What you expected to happen]
iOS application should display or modify health related data from our application.

Actual behavior: [What actually happened]
Doesn't do any of the aforementioned feature.

Phase 2

  • Heart Rate
  • Exercise
  • Move
  • Standing

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence
  5. Money

Process

  • Cocoapods install
  • Library Pod
  • Feature dependent on #31
  • Read Apple Healthkit Documentation
  • Implement your understanding

Documentation

Human Interface guidelines

Description

Functionality of adding a feature for iOS application which would incorporate in better support for Human Interface.

Behavior

Expected behavior: [What you expected to happen]
iOS application should conform to better Human Interface guidelines

Actual behavior: [What actually happened]
Currently there is no design thinking done as such by any external designers. All of the work is just trial and error with design decisions at developer's disposal.

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence

Process

  • Library Pod
  • Story Dependency #38 #48 #39
  • Read Documentation
  • Implement your understanding
  • Story Future Roadmap #24

Documentation

Information Gathering

Gather all information for the project to complete idea

Task list

  • Requirement Gathering
  • Design
  • Development
  • Testing

Efficient dynamic view code control flow

Description

Functionality of adding a feature for iOS application which would add in

//TODO: Maybe we can dynamically assign views control flow in SceneDelegate itself.

Performance Overhead

1 sec Black screen compared to Viewcontroller function viewDidLoad() and then viewDidAppear(), so there are already 4 extra overhead calls.

Expected behavior: [What you expected to happen]

  • On launch directly undercut the dynamic UI assignment logic and set it in Scene Delegate.
  • So no need of initializing extra 2 view controllers on UIKit and memory.
  • Setting default Window View Controller programmatically. We can also remove "Main" storyboard references in Main proj and info.plist
  • Also could utilize App Analytics lazy loading feature in future.

Actual behavior: [What actually happened]
Currently we set the UIView dynamic views in ViewController.swift file and then it assigns the

Storyboard "Main" -> "UITabBarVC"-> "Summary" Storyboard + View Controller

OR

Storyboard "Onboarding" -> "OnboardingVC"-> "1-2-3" Storyboards + View Controllers -> Summary Main Storyboard

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence

Process

  • Read Documentation
  • Implement your understanding
  • Story Future Roadmap #

Documentation

Summary screen shows no data on launch

Bug Report

Current Behavior
Once you open the application the summary screen displays no data on first launch.

Expected behavior/code
The saved data should appear every time you launch the application.

Environment

  • Xcode version(s): 11.4.1
  • iPhone : 13.4.1
  • OS: MacOS 10.15.3
  • How you are using App build: Xcode run

Possible Solution

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots
Screen Shot 2020-05-04 at 3 21 22 PM

Need Proper Data Formatting

Bug Report

Description of the bug!

Behavior

Current Behavior
The weight dimension is shown in decimal format on summary page.

Expected behavior/code
Appropriate metric system units should be followed according to different preferences with respected units.

Steps to Reproduce

  1. Open the Web/App
  2. Navigate to ...
  3. Click the button/link ...
  4. Observe the bug

Possible Solution

Environment

  • Xcode version(s): 11.4.1
  • iPhone: 13.4.1
  • OS: MacOS 10.15.3
  • How you are using App build: Xcode run

Other information

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots
Screen Shot 2020-05-11 at 3 56 55 PM

Apple HealthKit Phase 1

Description

Functionality of adding a feature for iOS application which would add in Apple Healthkit API data access throughout the application.

Story #30 is dependent on this Feature

Other options

Utilize different other libraries like ionic health extension(Hybrid approach)

Expected behavior: [What you expected to happen]
iOS application should display or modify health related data from our application.

Actual behavior: [What actually happened]
Doesn't do any of the aforementioned feature.

Phase 1

  • Profile Name
  • Date of Birth | Age
  • Blood Type
  • Gender
  • Height
  • Weight

Dependency

  1. Xcode , iOS v+
  2. Library
  3. Patience
  4. Intelligence
  5. Money

Process

  • Cocoapods install
  • Library Pod
  • Feature dependent on #
  • Read Apple Healthkit Documentation
  • Implement your understanding

Documentation

Technical Paper

Technical paper work

Manasi & rushi

  • Abstract
  • Introduction
  • Literature survey

Abbas and endri

  • Database schema
  • Data modeling

Kautilya

  • Project requirements
  • System diagram

Rushi

  • Conclusion and discussion
  • Summary
  • Give me all reference
  • Reference

submission is on wednesday

Android code

Commit your Android code.

  • ReadME
  • Build Steps
  • Android Code
  • Development

Test Cases

Description

Functionality of adding a feature for iOS application which would add in
[Description of the feature]
Add more test cases to support checking of various core functionalities of the app.

Behavior

Expected behavior: [What you expected to happen]
iOS application should incorporate more test cases which could be unit tests or UI tests.

Actual behavior: [What actually happened]
Currently we are at just 11% of the code coverage.

Dependency

  1. Core features
  2. Mac OS with Xcode
  3. Specific iOS simulator or real device

Process

  • Read Documentation
  • Implement your understanding
  • Story Future Roadmap #24
  • Unit Testing code
  • UI Testing code

Documentation

Inconvenience in changing Metric System

Bug Report

Description of the bug!

Behavior

Current Behavior
The Welcome page shows the data of the user, one of which is the weight data where the weight is displayed in lbs. Also, in the setting the user can change the the metric system to get their weight in kg by pressing the button ON but even after that the Welcome page doesn't show the weight in kg until the app is restarted.

Expected behavior/code
The Welcome page should display the weight data in kgs once the user press the metric system button ON without needing to restart the app.

Steps to Reproduce

  1. Open the App
  2. Navigate to Settings
  3. Click the Metric System button ON
  4. Observe the bug

Possible Solution

Environment

Swift version(s): 5
OS: MacOS 10.15.3
Xcode version: 11.4.1
iOS: 13.4.1
Cocoapods version(s): [e.g. v1.0.0, v1.9.1]
Branch: Status
Continuous Build: (Pass) - TravisCI / Github Actions
How you are using App build: Xcode run

Other information

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

📖👓Please READ GitHub Project Guidelines!

Thank you for taking the time to report a bug/request a feature 👍

Kinds of issues which can be raised in the project:

  • Bug Report
  • Checklist TODO
  • Conversational
  • Feature TODO
  • iOS Feature TODO

Please search and see if your issue has already been filed/asked before submitting it. Duplicates will be closed. If your issues do not have the questionnaire filled, it will be closed. If you feel the need to address an already filed issue, please comment in that issue itself.

Workflow

  • Please follow consistent Git messages, to describe the change and appropriately link issues, To Do and feature requests while pushing changes to your branch.
  • If you failed to adhere this methods, Git administrator may squash and rebase the git history according to the proper description of the code updates with Merge commit summary + description.
  • People looking to contribute please go through our Contributing guidelines and then filter issues by "good first issue", comment on the issue that they would like to be assigned to work on it.

Tasks

  • When a new category issue is created appropriate label & person would be automatically assigned to it.
  • Utilize appropriate color coded labels, don't clutter too much information with Issue titles.
  • Please follow consistent task creation and provide as much verbose information about the task or bug as possible.
  • For example, I would link you a task created for iOS app functionality. #31 #30

Git Commits

Please try to label your commit messages and description as much as possible.
You can use one of these commit message format.

  • Syntax:

(type)File/Feature name: What did you changed/ functionality

  • Example:

(feat)iOS Health: Workouts tracking added

  • Types:
    • feat: A new feature
    • fix: A bug fix
    • docs: Documentation only changes
    • style: Changes that do not affect the meaning of the code (UI)
    • refactor: A code change that neither fixes a bug nor adds a feature
    • perf: A code change that improves performance
    • chore: Unrelated to code or removing (white-space, commented code, formatting, missing semi-colons, etc)
    • build: Build related changes

Git commitzen

PR Merge

  • After your PR is been submitted for the change request, Bug Issue fix. You can add reviewers for your code merge to "Master" branch.
  • If someone approves the PR via Peer Review, you can merge the PR into "default master" branch.

Learn

You can watch some videos regarding good practices to be followed with GitHub Workflow. I'm linking some sources you could find useful.

Tools

✅ Documentation TODO

Prerequisites

  • Main README
  • Issues README
  • Contribution guidelines
  • Git Commit workflow
  • GitHub Project workflow
  • Milestone definition
  • Avoid duplicity and overhead
  • Design documents
  • Architecture documentation

For more information, see the CONTRIBUTING guide.

Description

Adding the documentation To Do checklist for listing all of the sub tasks.

Expected behavior:
Good documentation of the code base and project, so that we would have better control and scalable in the long run of the software product.

Actual behavior:
Currently we haven't documented a lot of stuff. Hopefully we would improve on this part.

Dark Mode Inconsistency

Bug Report

Description of the iOS App bug!

Behavior

Current Behavior
While switching to the dark mode the user cannot see their name on the summary page which they can in light mode.

Expected behavior/code
Even while accessing the application data in dark mode one can see all their information.

Steps to Reproduce

  1. Open the App
  2. Navigate to Setting
  3. Touch the Dark mode button and navigate back to summary screen
  4. Observe the bug there should be Welcome message on the top of the screen

Environment

  • Swift version(s): 5
  • OS: MacOS 10.15.3
  • Xcode version: 11.4.1
  • iOS: 13.4.1
  • Cocoapods version(s): [e.g. v1.0.0, v1.9.1]
  • Branch: Status
  • Continuous Build: (Pass) - TravisCI / Github Actions
  • How you are using App build: Xcode run

Possible Solution

Switch the font color according to screen mode settings

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
IMG_40670158509E-1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.