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

Proposed by Mihir Soni
Status: Rejected
Rejected by: Mihir Soni
Proposed branch: lp:~mihirsoni/ubuntu-calendar-app/1438910
Merge into: lp:ubuntu-calendar-app
Diff against target: 36 lines (+17/-2)
1 file modified
EventRepetition.qml (+17/-2)
To merge this branch: bzr merge lp:~mihirsoni/ubuntu-calendar-app/1438910
Reviewer Review Type Date Requested Status
Kunal Parmar Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Needs Fixing
Review via email: mp+255123@code.launchpad.net

Commit message

Description of the change

To post a comment you must log in.
622. By Mihir Soni

Removed debuged line

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
Nekhelesh Ramananthan (nik90) wrote :

Looking at Popey's screenshot https://i.imgur.com/OPLlBBK.png and his comment about the monthly/yearly being hidden inside the option selector and not being so obvious to the user, I had an idea.

Why not remove the entire option selector and just display the options in a listview spanning the entire page? That's how the other apps do it. Below are some examples,

https://imgur.com/rPRKccg&lLAACaw

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

Hi nekhelesh ,

we tried, but we have more options for users after selecting those options.

Like , if you select Daily , then you get list of all days and after that user provide information to Number of occurrence to be happen.

Would appreciate some designer feedback on same.

623. By Mihir Soni

resolved height issue as of now

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
Kunal Parmar (pkunal-parmar) wrote :

> FAILED: Continuous integration, rev:623
> http://91.189.93.70:8080/job/ubuntu-calendar-app-ci/1124/
> Executed test runs:
> UNSTABLE: http://91.189.93.70:8080/job/generic-mediumtests-utopic/2491
> deb: http://91.189.93.70:8080/job/generic-mediumtests-
> utopic/2491/artifact/work/output/*zip*/output.zip
> SUCCESS: http://91.189.93.70:8080/job/ubuntu-calendar-app-utopic-
> amd64-ci/595
> SUCCESS: http://91.189.93.70:8080/job/ubuntu-calendar-app-vivid-
> amd64-ci/121
>
> Click here to trigger a rebuild:
> http://91.189.93.70:8080/job/ubuntu-calendar-app-ci/1124/rebuild

If you merge latest trunk, this fail should be resolved.

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

I added comment inline, anyway I am proposing another MR for this fix.

review: Needs Fixing

Unmerged revisions

623. By Mihir Soni

resolved height issue as of now

622. By Mihir Soni

Removed debuged line

621. By Mihir Soni

 Fixed bug#1438910

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-10-22 14:03:01 +0000
3+++ EventRepetition.qml 2015-04-03 16:45:43 +0000
4@@ -100,8 +100,23 @@
5 var recurrenceRule = Defines.recurrenceValue[ recurrenceOption.selectedIndex ];
6 if (recurrenceRule !== RecurrenceRule.Invalid) {
7 rule.frequency = recurrenceRule;
8+ if( recurrenceOption.selectedIndex < 5 ){
9+ //If it is daily or weekly or alternate days
10+ rule.daysOfWeek = eventUtils.getDaysOfWeek(recurrenceOption.selectedIndex,weekDays );
11+ } else {
12+ //Monthly or Yearly
13+ switch(recurrenceOption.selectedIndex){
14+ case 6:
15+ //Monthly
16+ rule.daysOfMonth = [date.getMonth()];
17+ break;
18+ case 7:
19+ //Yearly
20+ rule.daysOfYear = [date.getYear];
21+ }
22+
23+ }
24 if (recurrenceOption.selectedIndex > 0) {
25- rule.daysOfWeek = eventUtils.getDaysOfWeek(recurrenceOption.selectedIndex,weekDays );
26 if (limitOptions.selectedIndex === 1
27 && recurrenceOption.selectedIndex > 0
28 && limitCount.text != "") {
29@@ -143,7 +158,7 @@
30 }
31
32 model: Defines.recurrenceLabel
33- containerHeight: itemHeight * 4
34+ containerHeight: itemHeight * 9
35 onExpandedChanged: Qt.inputMethod.hide();
36 }
37

Subscribers

People subscribed via source and target branches

to status/vote changes: