Merge lp:~mihirsoni/ubuntu-calendar-app/FixedMultipleBugs into lp:ubuntu-calendar-app

Proposed by Mihir Soni
Status: Merged
Approved by: David Planella
Approved revision: 476
Merged at revision: 469
Proposed branch: lp:~mihirsoni/ubuntu-calendar-app/FixedMultipleBugs
Merge into: lp:ubuntu-calendar-app
Diff against target: 67 lines (+11/-8)
2 files modified
EventRepetition.qml (+9/-7)
NewEvent.qml (+2/-1)
To merge this branch: bzr merge lp:~mihirsoni/ubuntu-calendar-app/FixedMultipleBugs
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
David Planella Approve
Nekhelesh Ramananthan Needs Fixing
Review via email: mp+235359@code.launchpad.net

Commit message

Fixed following bugs :

[1]Bug #1371863
[2]Bug #1371865
[3]Bug #1371866
[4]Bug #1371867

Description of the change

Fixed following bugs :

[1]Bug #1371863
[2]Bug #1371865
[3]Bug #1371866
[4]Bug #1371867

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: Approve (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Wow, that was quick, thanks Mihir!

Just a couple of small things I've noticed:

- bug 1371863 still seems not to be fixed. I.e. I still see a "Repeat": http://i.imgur.com/W9XFmxp.png
- What will be shown as "until" text when I set the end date of a recurring event?
- See other comments inline

review: Needs Fixing
Revision history for this message
David Planella (dpm) wrote :

Inline comments

review: Needs Fixing
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

In my opinion I think "Repeats" is a better wording than "This Happens". Can we use that instead every where. If changed to "Repeats" please do that in the "Event Details" page also.

@David can we get your opinion on this?

Also please provide a more descriptive commit message for the MP please. It should be clear what exactly it fixes when looking through the commit log of the trunk later.

review: Needs Fixing
Revision history for this message
Mihir Soni (mihirsoni) wrote :

Hi David.

If we remove Repeat from header it doesn't look consistent when other controls are visible :- http://imgur.com/jSbm9KV

-Yes "until" will displayed when occurrence ends with date.
-I have incorporate inline comments in next commit.

467. By Mihir Soni

code indetentation

468. By Mihir Soni

Resolved editing current occurence event issue

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
469. By Mihir Soni

Reverted changes which were by mistake

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
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I'd agree that "This happens" is clumsy wording. I'd rather see "Repeats"

470. By Mihir Soni

Replaced This happens with Repeats

471. By Mihir Soni

mege from trunk

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
472. By Mihir Soni

Merge from trunk

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
David Planella (dpm) wrote :

Added some trivial inline comments. Thanks!

review: Needs Fixing
473. By Mihir Soni

Merge from trunk

474. By Mihir Soni

changes as per review comments

Revision history for this message
David Planella (dpm) wrote :

Hm, the inline comment about spaces in the if statement still does not seem to be addressed.

review: Needs Fixing
475. By Mihir Soni

code formatted

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
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Still the space after the 'if' is missing. See the inline comment.

review: Needs Fixing
476. By Mihir Soni

Following coding guidlines

Revision history for this message
Mihir Soni (mihirsoni) wrote :

Hey david,

sorry for making large review for trivial MR, thanks for the reference. I'll keep following that for coding guidelines.

Revision history for this message
David Planella (dpm) wrote :

LGTM now, thanks!

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'EventRepetition.qml'
2--- EventRepetition.qml 2014-09-16 11:11:12 +0000
3+++ EventRepetition.qml 2014-09-22 19:05:28 +0000
4@@ -33,7 +33,7 @@
5 property var isEdit
6
7 visible: false
8- title: i18n.tr("Repeat")
9+ title: i18n.tr("Repeats")
10
11 EventUtils{
12 id:eventUtils
13@@ -89,22 +89,24 @@
14 iconName: "back"
15 onTriggered: {
16 var recurrenceRule = Defines.recurrenceValue[ recurrenceOption.selectedIndex ];
17- if( recurrenceRule !== RecurrenceRule.Invalid ) {
18+ if (recurrenceRule !== RecurrenceRule.Invalid) {
19 rule.frequency = recurrenceRule;
20- if(recurrenceOption.selectedIndex > 0) {
21+ if (recurrenceOption.selectedIndex > 0) {
22 rule.daysOfWeek = eventUtils.getDaysOfWeek(recurrenceOption.selectedIndex,weekDays );
23- if(limitOptions.selectedIndex === 1 && recurrenceOption.selectedIndex > 0){
24+ if (limitOptions.selectedIndex === 1
25+ && recurrenceOption.selectedIndex > 0
26+ && limitCount.text != "") {
27 rule.limit = parseInt(limitCount.text);
28 }
29- else if(limitOptions.selectedIndex === 2 && recurrenceOption.selectedIndex > 0){
30+ else if (limitOptions.selectedIndex === 2 && recurrenceOption.selectedIndex > 0) {
31 rule.limit = datePick.date;
32 }
33- else{
34+ else {
35 rule.limit = undefined;
36 }
37 }
38 }
39- else{
40+ else {
41 rule.frequency = 0
42 }
43 pop()
44
45=== modified file 'NewEvent.qml'
46--- NewEvent.qml 2014-09-21 09:39:21 +0000
47+++ NewEvent.qml 2014-09-22 19:05:28 +0000
48@@ -367,6 +367,7 @@
49 anchors.right: parent.right
50 width: parent.width / 5
51 visible: !allDayEventCheckbox.checked
52+ horizontalAlignment: Text.AlignRight
53
54 MouseArea{
55 anchors.fill: parent
56@@ -407,10 +408,10 @@
57 NewEventEntryField{
58 id: endTimeInput
59 objectName: "endTimeInput"
60-
61 text: ""
62 width: parent.width / 5
63 anchors.right: parent.right
64+ horizontalAlignment: Text.AlignRight
65
66 MouseArea{
67 anchors.fill: parent

Subscribers

People subscribed via source and target branches

to status/vote changes: