petykowski / sleepy Goto Github PK
View Code? Open in Web Editor NEWSleep tracking app with HealthKit support.
Sleep tracking app with HealthKit support.
Statistics data should be persisted in core data to allow for faster response time and foundation for 7 day and month stats.
If the system is unable to determine the time at which the user fell asleep, the proposed sleep start time view should allow the user to select a sleep start time using the digital crown.
Currently when there is no sleep data, the user is able to send sleep data to iOS which causes a crash. We should not display this menu button if no sleep data exists.
When a sleep session ends the user can observe a jump/jitter in the labels because of how the wake indicator disappears. This should not occur.
When a user completes on boarding there is no indication that action needs to occur. View should display a No Results message and a line instructing to sleep. This should also include the Stats screen as well.
If a user peeks at a sleep session from the main tableview, no data is populated in the preview and is missing into the pop of the interface.
At the moment the user on boarding is not complex enough to require auto layout but for consistency across multiple screen sizes should allow for the use of auto layout. This is also important as currently the layout is affected if the screen is rotated from portrait to landscape.
After moving data from NSDates to NSMutableArrays the Last Night View is no longer able to present data to user.
It is unlikely that a user will start sleep session and not be asleep after 2 hours. Menu item should no longer be visible to user.
Currently if a user wakes, and then returned back to sleep. Pending and delivered notifications continue to exist and be delivered.
Currently nothing is displayed on iOS app. Should display some past sleep sessions.
If a user encounters an error where the sleep session displays in last night sleep interface, but not on the iOS app; then the user should have the ability to push sleep session data to iOS device.
If a user is listening to music/audio while launching Sleepy app for the first time the audio will be paused as Sleep App overrides audio channel.
When the user approves/rejects the proposed sleep time the view controller disappears without dismissing.
The detail of including seconds on the statistics page is unhelpful and leads to clutter on screen.
Launch Screen should be updated to reflect Sleepy style.
SleepInputInterfaceController and InterfaceControllerSleep are both presented via the presentControllerWithName method. By function, this controller is allowed to be dismissed. Sleepy does not currently support this dismissal and fails with an error when the sleep session attempts to start again.
If a user checks the time, it should be easier to read the current time. Instead of the focus being on the time they started the in bed session.
After switching to a Tabbed View Controller the on boarding setup for the main controller no longer calls the correct View Controller. This should be updated to call the tab view.
- (void)setupNormalRootViewController {
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *mainViewController = [storyboard instantiateViewControllerWithIdentifier:@"Main Application"];
[self.window.rootViewController presentViewController:mainViewController animated:YES completion:NULL];
}
Currently In Bed Start and Still Awake times are not clearly outlined on the watch interface.
Navigate away from temp use of document directory and implement core data.
https://developer.apple.com/library/prerelease/content/documentation/Cocoa/Conceptual/CoreData/
The UITableViewCells for the main iOS interface should include more relevant information as well as feature a more organized and engaging design.
I noticed on the apple watch app that it anyways says "last night" when viewing the previously recorded sleep information. I haven't recorded my sleep in a few days so it's not accurate. Maybe showing the date of last record, or just "previous sleep".
Currently only iOS logging output is written to the logs, many times a user will interact with the Apple Watch app that may cause issues. It is important to also log these messages. When selecting the export icon; the user should be prompted to export either the iOS or Apple Watch logs.
There should be a process to allow for user on boarding. Brief explanation of app, health kit access.
AppDelegate.m
if( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone ){
CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;
CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;
if( screenHeight < screenWidth ){
screenHeight = screenWidth;
}
}
screenHeight and screenWidth should be defined outside of the each interface to allow for a single definition.
This issue seems to occur if user starts sleep session and then cancels sleep session.
There are many different types of sleep which a user can log and should be able to assign a tag/type/category. (Nap, Sick, Late-Night ect.)
If there is no heart rate data available, the chart should not display an empty grid, instead it should display a message indicating no sleep data exists.
Example: When starting a sleep session at 10:52 PM the watch app will set this value as Sleep Start, upon waking up the application will check when the user fell asleep. It appears that the app believes the user fell asleep immediately, and proposed 10:52PM.
Currently HealthKit awake sample is not supported in iOS 9. Should implement a check for this to allow use on pre-iOS 10 devices.
If a user forgets to end the sleep session. There should be an option to trim the sleep session.
User should be able to review sleep session data as an average of the past 7 days.
Current Apple Watch menu icons only support 42 mm. Export and include assets for 38mm.
Menu buttons should be organized into methods so there is less chance of providing user with incorrect options.
When selecting a cell within the iOS application the user should be presented with a detail view of the row selected that contains all information and metrics from the sleep session.
http://stackoverflow.com/questions/28532926/if-no-table-view-results-display-no-results-on-screen
If a user forgets to end sleep after determining that they've woken up, there should be a reminder to end the sleep.
https://www.appcoda.com/ios-programming-local-notification-tutorial/
*Should we send a notification or should sleep automatically end after enough movement sensed
The sleep indicator should fade out if the user returns back to bed.
It is becoming increasingly useful to be aware of a user's average sleeping heart rate. We should query HealthKit for the user's average heart rate while they were asleep.
*I think the "you're in a current sleep session" could be more obvious. Like a bed with some zzzS coming out
Setting in Apple Watch bundle should give user choice to choose Last Night or 7 day average.
If a user is interested in tracking how many times they wake up or leave bed (water, bathroom) Sleep App should track these events.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.