Merge lp://qastaging/~pkunal-parmar/ubuntu-calendar-app/timelinefix into lp://qastaging/ubuntu-calendar-app

Proposed by Kunal Parmar
Status: Merged
Approved by: Olivier Tilloy
Approved revision: 100
Merged at revision: 100
Proposed branch: lp://qastaging/~pkunal-parmar/ubuntu-calendar-app/timelinefix
Merge into: lp://qastaging/ubuntu-calendar-app
Diff against target: 137 lines (+18/-29)
4 files modified
DayComponent.qml (+3/-2)
EventDetails.qml (+2/-2)
TimeLineBase.qml (+9/-22)
WeekComponent.qml (+4/-3)
To merge this branch: bzr merge lp://qastaging/~pkunal-parmar/ubuntu-calendar-app/timelinefix
Reviewer Review Type Date Requested Status
Olivier Tilloy (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+183549@code.qastaging.launchpad.net

Commit message

fix for bug #1219930

Description of the change

fix for bug #1219930,

Map removed using Model data directly.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

87 if( i === intern.now.getHours()
88 && intern.now.isSameDay( bubbleOverLay.day )) {
89 - bubbleOverLay.showSeparator(i);
90 + bubbleOverLay.showSeparator(event.startTime.getHours());
91 }

This condition is outdated, i is not an hour any longer, it’s the index of the current event in the model.
I think the separator should be shown at the end of instantiating all the event bubbles, not in the for loop itself.

review: Needs Fixing
Revision history for this message
Olivier Tilloy (osomon) wrote :

Note that the autopilot tests are failing due to a change in the UITK’s Toolbar API which went in without notice, I’ve been told that it is being reverted.

100. By Kunal Parmar

current time fix

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Olivier Tilloy (osomon) wrote :

Looks good, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: