Merge lp:~pkunal-parmar/ubuntu-calendar-app/new_timeline into lp:ubuntu-calendar-app
- new_timeline
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | David Planella |
Approved revision: | 101 |
Merged at revision: | 106 |
Proposed branch: | lp:~pkunal-parmar/ubuntu-calendar-app/new_timeline |
Merge into: | lp:ubuntu-calendar-app |
Diff against target: |
122 lines (+13/-34) 4 files modified
DayComponent.qml (+1/-3) TimeLineBackground.qml (+10/-27) WeekComponent.qml (+1/-3) WeekView.qml (+1/-1) |
To merge this branch: | bzr merge lp:~pkunal-parmar/ubuntu-calendar-app/new_timeline |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Olivier Tilloy (community) | Needs Fixing | ||
Riccardo Padovani (community) | Approve | ||
Review via email: mp+183316@code.launchpad.net |
Commit message
New timeline background
Description of the change
New timeline background
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
Riccardo Padovani (rpadovani) wrote : | # |
Hi Kunal,
you do a great work :)
- 97. By Kunal Parmar
-
added id to component
Olivier Tilloy (osomon) wrote : | # |
74 + text: new Date(0, 0, 0, index).
Can you please add a comment for translators to explain what this string corresponds to? (with a link to http://
Olivier Tilloy (osomon) wrote : | # |
97. By Kunal Parmar 7 minutes ago
added id to component
Was this needed? I’m not seeing any reference to this component’s id anywhere.
Olivier Tilloy (osomon) wrote : | # |
The rest of the changeset looks good. Great job!
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:97
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Kunal Parmar (pkunal-parmar) wrote : | # |
> 97. By Kunal Parmar 7 minutes ago
> added id to component
>
> Was this needed? I’m not seeing any reference to this component’s id anywhere.
I just wanted to trigger auto build :). I tried to click that rebuild link many time but did not worked.
- 98. By Kunal Parmar
-
Translationl comment added
Kunal Parmar (pkunal-parmar) wrote : | # |
> 74 + text: new Date(0, 0, 0,
> index).
>
> Can you please add a comment for translators to explain what this string
> corresponds to? (with a link to http://
> qtquick2-
done, thanks
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:98
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Olivier Tilloy (osomon) wrote : | # |
> > 97. By Kunal Parmar 7 minutes ago
> > added id to component
> >
> > Was this needed? I’m not seeing any reference to this component’s id
> anywhere.
>
> I just wanted to trigger auto build :). I tried to click that rebuild link
> many time but did not worked.
OK :) Can you please remove it now? In the future, if you need to trigger a build again, you can do an empty commit, just run `bzr commit --unchanged`.
Kunal Parmar (pkunal-parmar) wrote : | # |
> > > 97. By Kunal Parmar 7 minutes ago
> > > added id to component
> > >
> > > Was this needed? I’m not seeing any reference to this component’s id
> > anywhere.
> >
> > I just wanted to trigger auto build :). I tried to click that rebuild link
> > many time but did not worked.
>
> OK :) Can you please remove it now? In the future, if you need to trigger a
> build again, you can do an empty commit, just run `bzr commit --unchanged`.
Removed. Thanks, I will use empty commit than,
- 99. By Kunal Parmar
-
Running build again
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:99
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 100. By Kunal Parmar
-
merge from trunk
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:100
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 101. By Kunal Parmar
-
merge from trunk
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:101
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === modified file 'DayComponent.qml' | |||
2 | --- DayComponent.qml 2013-09-02 23:31:37 +0000 | |||
3 | +++ DayComponent.qml 2013-09-03 15:15:54 +0000 | |||
4 | @@ -10,7 +10,7 @@ | |||
5 | 10 | property var day: new Date() | 10 | property var day: new Date() |
6 | 11 | property int weekWidth:0; | 11 | property int weekWidth:0; |
7 | 12 | 12 | ||
9 | 13 | contentHeight: timeLineColumn.height + units.gu(3) | 13 | contentHeight: timeLineColumn.height |
10 | 14 | contentWidth: width | 14 | contentWidth: width |
11 | 15 | 15 | ||
12 | 16 | clip: true | 16 | clip: true |
13 | @@ -48,7 +48,6 @@ | |||
14 | 48 | TimeLineBackground{ | 48 | TimeLineBackground{ |
15 | 49 | id: timeLineColumn | 49 | id: timeLineColumn |
16 | 50 | anchors.top: parent.top | 50 | anchors.top: parent.top |
17 | 51 | anchors.topMargin: units.gu(3) | ||
18 | 52 | width: parent.width | 51 | width: parent.width |
19 | 53 | } | 52 | } |
20 | 54 | 53 | ||
21 | @@ -59,7 +58,6 @@ | |||
22 | 59 | width: timeLineColumn.width | 58 | width: timeLineColumn.width |
23 | 60 | height: timeLineColumn.height | 59 | height: timeLineColumn.height |
24 | 61 | anchors.top: parent.top | 60 | anchors.top: parent.top |
25 | 62 | anchors.topMargin: units.gu(3) | ||
26 | 63 | delegate: infoBubbleComponent | 61 | delegate: infoBubbleComponent |
27 | 64 | day: timeLineView.day | 62 | day: timeLineView.day |
28 | 65 | } | 63 | } |
29 | 66 | 64 | ||
30 | === modified file 'TimeLineBackground.qml' | |||
31 | --- TimeLineBackground.qml 2013-07-18 18:48:26 +0000 | |||
32 | +++ TimeLineBackground.qml 2013-09-03 15:15:54 +0000 | |||
33 | @@ -6,37 +6,20 @@ | |||
34 | 6 | Repeater{ | 6 | Repeater{ |
35 | 7 | model: 24 // hour in a day | 7 | model: 24 // hour in a day |
36 | 8 | 8 | ||
39 | 9 | delegate: Item { | 9 | delegate: Rectangle { |
38 | 10 | id: delegate | ||
40 | 11 | width: parent.width | 10 | width: parent.width |
41 | 12 | // FIXME: get hour hight from somewhere | ||
42 | 13 | height: units.gu(10) | 11 | height: units.gu(10) |
66 | 14 | 12 | color: ( index % 2 == 0) ? "#e5dbe6" : "#e6e4e9" | |
67 | 15 | Row { | 13 | Label{ |
68 | 16 | width: parent.width | 14 | id: timeLabel |
69 | 17 | y: -timeLabel.height/2 | 15 | // TRANSLATORS: this is a time formatting string, |
70 | 18 | Label{ | 16 | // see http://qt-project.org/doc/qt-5.0/qtqml/qml-qtquick2-date.html#details for valid expressions |
71 | 19 | id: timeLabel | 17 | text: new Date(0, 0, 0, index).toLocaleTimeString(Qt.locale(), i18n.tr("hh ap")) |
49 | 20 | // TRANSLATORS: this is a time formatting string, | ||
50 | 21 | // see http://qt-project.org/doc/qt-5.0/qtqml/qml-qtquick2-date.html#details for valid expressions | ||
51 | 22 | text: new Date(0, 0, 0, index).toLocaleTimeString(Qt.locale(), i18n.tr("HH")) | ||
52 | 23 | color:"gray" | ||
53 | 24 | anchors.top: parent.top | ||
54 | 25 | } | ||
55 | 26 | Rectangle{ | ||
56 | 27 | width: parent.width - timeLabel.width | ||
57 | 28 | height:units.dp(1) | ||
58 | 29 | color:"gray" | ||
59 | 30 | anchors.verticalCenter: parent.verticalCenter | ||
60 | 31 | } | ||
61 | 32 | } | ||
62 | 33 | |||
63 | 34 | Rectangle{ | ||
64 | 35 | width: parent.width - units.gu(5) | ||
65 | 36 | height:units.dp(1) | ||
72 | 37 | color:"gray" | 18 | color:"gray" |
73 | 19 | anchors.horizontalCenter: parent.horizontalCenter | ||
74 | 38 | anchors.verticalCenter: parent.verticalCenter | 20 | anchors.verticalCenter: parent.verticalCenter |
76 | 39 | anchors.horizontalCenter: parent.horizontalCenter | 21 | fontSize: "x-large" |
77 | 22 | opacity: 0.3 | ||
78 | 40 | } | 23 | } |
79 | 41 | } | 24 | } |
80 | 42 | } | 25 | } |
81 | 43 | 26 | ||
82 | === modified file 'WeekComponent.qml' | |||
83 | --- WeekComponent.qml 2013-09-02 23:31:37 +0000 | |||
84 | +++ WeekComponent.qml 2013-09-03 15:15:54 +0000 | |||
85 | @@ -10,7 +10,7 @@ | |||
86 | 10 | property var weekStart: new Date().midnight(); | 10 | property var weekStart: new Date().midnight(); |
87 | 11 | property int weekWidth:0; | 11 | property int weekWidth:0; |
88 | 12 | 12 | ||
90 | 13 | contentHeight: timeLineColumn.height + units.gu(3) | 13 | contentHeight: timeLineColumn.height |
91 | 14 | contentWidth: width | 14 | contentWidth: width |
92 | 15 | 15 | ||
93 | 16 | clip: true | 16 | clip: true |
94 | @@ -48,7 +48,6 @@ | |||
95 | 48 | TimeLineBackground{ | 48 | TimeLineBackground{ |
96 | 49 | id: timeLineColumn | 49 | id: timeLineColumn |
97 | 50 | anchors.top: parent.top | 50 | anchors.top: parent.top |
98 | 51 | anchors.topMargin: units.gu(3) | ||
99 | 52 | width: parent.width | 51 | width: parent.width |
100 | 53 | } | 52 | } |
101 | 54 | 53 | ||
102 | @@ -76,7 +75,6 @@ | |||
103 | 76 | width: timeLineColumn.width - x | 75 | width: timeLineColumn.width - x |
104 | 77 | height: timeLineColumn.height | 76 | height: timeLineColumn.height |
105 | 78 | anchors.top: parent.top | 77 | anchors.top: parent.top |
106 | 79 | anchors.topMargin: units.gu(3) | ||
107 | 80 | x: timeLabel.width | 78 | x: timeLabel.width |
108 | 81 | spacing: 0 | 79 | spacing: 0 |
109 | 82 | 80 | ||
110 | 83 | 81 | ||
111 | === modified file 'WeekView.qml' | |||
112 | --- WeekView.qml 2013-08-19 13:14:23 +0000 | |||
113 | +++ WeekView.qml 2013-09-03 15:15:54 +0000 | |||
114 | @@ -83,7 +83,7 @@ | |||
115 | 83 | 83 | ||
116 | 84 | width: parent.width | 84 | width: parent.width |
117 | 85 | height: parent.height | 85 | height: parent.height |
119 | 86 | weekWidth: weekRibbon.weekWidth //dummy.width + units.gu(1) | 86 | weekWidth: weekRibbon.weekWidth |
120 | 87 | weekStart: getWeekStart(); | 87 | weekStart: getWeekStart(); |
121 | 88 | 88 | ||
122 | 89 | function getWeekStart() { | 89 | function getWeekStart() { |
FAILED: Continuous integration, rev:96 91.189. 93.70:8080/ job/ubuntu- calendar- app-ci/ 29/ 91.189. 93.70:8080/ job/generic- mediumtests/ 123 91.189. 93.70:8080/ job/ubuntu- calendar- app-precise- amd64-ci/ 29 91.189. 93.70:8080/ job/ubuntu- calendar- app-quantal- amd64-ci/ 29 91.189. 93.70:8080/ job/ubuntu- calendar- app-raring- amd64-ci/ 29 91.189. 93.70:8080/ job/ubuntu- calendar- app-saucy- amd64-ci/ 29
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- calendar- app-ci/ 29/rebuild
http://