-
Notifications
You must be signed in to change notification settings - Fork 114
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
map fixed, bug fixed #29
Conversation
Can one of the admins verify this patch? |
This is much better, but it doesn't contain all the little details from the mockups. And in the detail view, the time of the trip is also shown at the top, and there's a list of sections shown below the map with more details on their start and end times. Do you think that you can finish those small changes this week as well? |
window.Logger.log(window.Logger.LEVEL_DEBUG, | ||
"while reading data for "+day+" from server, got nTrips = "+tripList.length); | ||
console.log("About to hide 'Reading from server'"); | ||
console.log("About to show 'Reading from cache'"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these just indentation changes? You didn't actually change anything in the Timeline factory, did you?
We should probably have a standard for javascript indentation so that we don't run into issues like this that make it harder to review code.
What does your editor do? I don't mind following that..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I didn't change the factory. I'll reindent in the next pull request. I don't think I can make those changes this week. I'll try to do those next week.
Kris
Sent from my iPhone
On Apr 3, 2016, at 10:17, shankari notifications@github.com wrote:
In www/js/diary/services.js:
$ionicPopup.alert({template: JSON.stringify(error)})
.then(function(res) {console.log("finished showing alert");});
});
- };
- timeline.updateFromServer = function(day, foundFn, notFoundFn) {
console.log("About to show 'Reading from server'");
$ionicLoading.show({
template: 'Reading from server...'
});
CommHelper.getTimelineForDay(day, function(response) {
var tripList = response.timeline;
window.Logger.log(window.Logger.LEVEL_DEBUG,
"while reading data for "+day+" from server, got nTrips = "+tripList.length);
console.log("About to hide 'Reading from server'");
Are these just indentation changes? You didn't actually change anything in the Timeline factory, did you?console.log("About to show 'Reading from cache'");
We should probably have a standard for javascript indentation so that we don't run into issues like this that make it harder to review code.What does your editor do? I don't mind following that..
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
Items on list NOT implemented: |
Awesome! Shankari On Sun, Apr 10, 2016 at 10:57 PM, krisma notifications@github.com wrote:
|
The map now looks smoother, and the start stop icons have been changed to avoid blocking the map content.
A bug is fixed. When users have both running and walking mode, the percentage function, which should return a set of mode, turned out to have duplicate items since walking and running map to the save icon name. It's fixed now so running is filtered and changed to walking before mapping to icon names.