-
Notifications
You must be signed in to change notification settings - Fork 118
UI changes (Kate F), New Features, Other Fixes #16
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
Conversation
* Implemented UI design from Kate F * New battery indicator from Jon M * Bigger fonts in general, especially for time * New special value icons instead of special value numbers (??? instead of "10") * Switched black and white backgrounds, to improve readability * New space for T1D name * Made JS faster based on inputs from John C and Christine D, to help with reliability and refresh problems * New "two time" fix, to quickly diagnose refresh problem (when pebble app has crashed or gotten lost) * Time and date are from system, so always up to date and watch can function like a watch * More descriptive error messages * Implemented bug fixes, especially for Rajat build users * Commented code in much greater detail * Will publish FAQ to quickly identify problems and address faster
UI changes (Kate F), New Features, Other Fixes
…ld and the directionToTrand mapping; some reformatting
… still isn't right logo isn't showing now
|
@ELUTE / @YYGIRL, I think a have most things working after bringing directionToTrend back and removing the isRajat detection. Seems like I somehow broke the logo, too late too figure it out now. Something else really strange that it says "X mins ago", but the code should be displaying "X min ago", I can't figure out where that extra "s" is coming from. Because of that the extra clock gets truncated and shows ... I'll leave this on my watch for now, and see if I notice anything else. |
|
Some relevant discussion from nightscout/android-uploader#7
|
|
In addition to the 2nd clock the other issue that we need to consider is backwards compatibility. Because of the way Pebble has to bundle the applications' JS with the iOS pebble app we need the new c code to work with the old js code for some period of time. This means that we can't require the message sent by the js is different than what we're getting right now. We should be ok now just need to make sure the c code doesn't fail if the battlevel or t1dname isn't sent. |
… pebble is offline
|
I got the TickTimerService to work, the clock on the bottom will always be correct now. https://www.dropbox.com/s/14u09scjghsfg40/tick-timer-service.mov |
|
Thanks for everyone's hard work on this. For future changes/backward compatibility concerns, and apologies if this On Thu, Jul 31, 2014 at 8:02 PM, Jason Calabrese [email protected]
|
|
@hackingtype1 currently the pebble app isn't using the api, but I'm sure it will. The api is version in the url, so for right now the base uri is passphrase@http://host.example.com/api/v1 The js and c code can get out of sync when the face is published to the app store and they're waiting get a new version of the iOS app published and accepted into the apple app store. It's only an iOS problem. During that time new version of the app is available, but the new version of the js isn't bundled. |
|
Thanks for the pebble store js/c clarification (and the pebble endpoint v. If we look to simplify the Pebble JS to GET, parse JSON, and send message, On Thu, Jul 31, 2014 at 11:42 PM, Jason Calabrese [email protected]
|
|
Trying to update the X min ago in the c code for each clock tick, need to send the read timestamp to the c code and calc the difference. Also my watch is picking up the old js (version 5), can't figure out how to fix that. |
|
Just want to do it update the X ago label on the tick based on last reading, then I'll be happy |
|
Super excited about this. |
…ide the value so it's clear that the data isn't current
|
Unless I can get some help in the c code, propose that we stop here and merge. My last sticking point was handling the last read timestamp and build the time ago label, to get around that I just clear those values when the pebble can't get fresh data. |
|
I found what seems like a bug in the c code, but I'm not sure how to work with the data types to fix it. For some reason 266 gets converted to 10 and then the ??? icon is displayed, I think it's something with the conversion from cstring to a uint8_t or the comparison of that. @hackingtype1 @YYGIRL any ideas? Would it be better to compare the cstring? strncpy(last_bg, new_tuple->value->cstring, 124);
current_bg = atoi(last_bg);
//...
} else if (current_bg == QUESTION_MARKS_VALUE) { //QUESTION_MARKS_VALUE == 10
text_layer_set_text(bg_layer, "");
specialvalue_bitmap = gbitmap_create_with_resource(SPECIAL_VALUE_ICONS[4]);
bitmap_layer_set_bitmap(icon_layer, specialvalue_bitmap);
} else {
//... |
|
The 338a382 commit fixes the issue, but I'm sure there is a better way than this hack. |
… info on the pebble, not perfect, but better
|
I'm going to merge this to develop and then create a release branch. From the release branch I'll build a 2 new pbw's with new guids for a beta version and a beta-slot2 version. I'll wait till they are available on iOS before announcing anything. |
UI changes (Kate F), New Features, Other Fixes
|
Did you get the time ago working? Sent from my iPhone
|
|
No, I'll need some help with that. This was only merged to the develop branch, it won't be merged to master till the release is accepted by the community. To make testing easier a beta and beta 2 watchface were published to the pebble app store with new uuids. The primary/old version wasn't effected. This will let people safely test the new version while still keeping the old version in place. |
|
Hi Jason. I have been testing Beta2 watch face from pebble store. There are a couple of things that I have noticed that I thought I should flag up.
|
|
@GrantKY if you get a chance can you add this comment to the release PR, this one has already been merged to develop branch and I don't want you comment to be missed. The issue you mention is the primary reason we released this as a beta. I know what fix we need to make, but need some help with the C code to get it working. Did you notice the pebble vibrate even when the display didn't update? |
|
Jason, this issue is exactly why we had the second time. Sent from my iPhone
|
|
No pebble did not vibrate. |



Continuing from #13 and #14
From @ELUTE / @YYGIRL:
Also: