Merge lp:~sergiusens/account-polld/application-names into lp:~ubuntu-push-hackers/account-polld/trunk

Proposed by Sergio Schvezov
Status: Rejected
Rejected by: Sergio Schvezov
Proposed branch: lp:~sergiusens/account-polld/application-names
Merge into: lp:~ubuntu-push-hackers/account-polld/trunk
Diff against target: 141 lines (+56/-12)
8 files modified
data/account-polld-facebook.application (+12/-0)
data/account-polld-facebook.desktop (+10/-0)
data/account-polld-gmail.application (+12/-0)
data/account-polld-gmail.desktop (+10/-0)
data/account-polld-twitter.application (+6/-6)
data/account-polld-twitter.desktop (+3/-3)
debian/control (+1/-1)
debian/rules (+2/-2)
To merge this branch: bzr merge lp:~sergiusens/account-polld/application-names
Reviewer Review Type Date Requested Status
Alberto Mardegan (community) Needs Information
PS Jenkins bot continuous-integration Approve
Review via email: mp+233116@code.launchpad.net

Commit message

Use application names instead of 'Notifications' to enable push messages.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
80. By Sergio Schvezov

Using service names instead of the service type to match applications.
Fixing the facebook icon.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alberto Mardegan (mardy) wrote :

I'm not sure why do you want to have multiple application files, and not just one. The only reason why you might want to do that, is if you want to have different icons or application name shown under the accounts.
I guess this is more of a UI design question, but to me the proposed change doesn't look like an improvement: you are using the facebook/gmail/twitter icons and "Facebook", "GMail", "Twitter" as names -- but this is not descriptive at all: when the user will open the facebook account settings, he will just see one more line with the facebook icon and the "Facebook" name. In other ideas, he will have no idea what this application is or does. I would vote for having a single .application and .desktop file, with an icon specific to notifications and a name like "Push notifications" or something like that.

Also, we were talking with Ted about having the notification service use the same .service files as the webapps; I'm not sure if a decision has been reached, but in that case account-polld wouldn't need to ship .application or .desktop files at all.

Revision history for this message
Alberto Mardegan (mardy) :
review: Needs Information

Unmerged revisions

80. By Sergio Schvezov

Using service names instead of the service type to match applications.
Fixing the facebook icon.

79. By Sergio Schvezov

Using real app names.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'data/account-polld-facebook.application'
2--- data/account-polld-facebook.application 1970-01-01 00:00:00 +0000
3+++ data/account-polld-facebook.application 2014-09-02 20:51:51 +0000
4@@ -0,0 +1,12 @@
5+<?xml version="1.0" encoding="UTF-8"?>
6+<application id="account-polld-facebook">
7+ <description>Account Polling</description>
8+ <desktop-entry>account-polld-facebook.desktop</desktop-entry>
9+ <translations>account-polld</translations>
10+
11+ <services>
12+ <service id="facebook-poll">
13+ <description>Receive notifications for this account</description>
14+ </service>
15+ </services>
16+</application>
17
18=== added file 'data/account-polld-facebook.desktop'
19--- data/account-polld-facebook.desktop 1970-01-01 00:00:00 +0000
20+++ data/account-polld-facebook.desktop 2014-09-02 20:51:51 +0000
21@@ -0,0 +1,10 @@
22+[Desktop Entry]
23+Categories=Office;
24+Exec=
25+GenericName=account-polld-facebook
26+Name=Facebook
27+NoDisplay=true
28+Terminal=false
29+Type=Application
30+Icon=facebook
31+X-Ubuntu-Gettext-Domain=account-polld
32
33=== added file 'data/account-polld-gmail.application'
34--- data/account-polld-gmail.application 1970-01-01 00:00:00 +0000
35+++ data/account-polld-gmail.application 2014-09-02 20:51:51 +0000
36@@ -0,0 +1,12 @@
37+<?xml version="1.0" encoding="UTF-8"?>
38+<application id="account-polld-gmail">
39+ <description>Account Polling</description>
40+ <desktop-entry>account-polld-gmail.desktop</desktop-entry>
41+ <translations>account-polld</translations>
42+
43+ <services>
44+ <service id="google-gmail-poll">
45+ <description>Receive notifications for this account</description>
46+ </service>
47+ </services>
48+</application>
49
50=== added file 'data/account-polld-gmail.desktop'
51--- data/account-polld-gmail.desktop 1970-01-01 00:00:00 +0000
52+++ data/account-polld-gmail.desktop 2014-09-02 20:51:51 +0000
53@@ -0,0 +1,10 @@
54+[Desktop Entry]
55+Categories=Office;
56+Exec=
57+GenericName=account-polld
58+Name=Gmail
59+NoDisplay=true
60+Terminal=false
61+Type=Application
62+Icon=gmail
63+X-Ubuntu-Gettext-Domain=account-polld
64
65=== renamed file 'data/account-polld.application' => 'data/account-polld-twitter.application'
66--- data/account-polld.application 2014-07-24 05:36:57 +0000
67+++ data/account-polld-twitter.application 2014-09-02 20:51:51 +0000
68@@ -1,12 +1,12 @@
69 <?xml version="1.0" encoding="UTF-8"?>
70-<application id="account-polld">
71+<application id="account-polld-twitter">
72 <description>Account Polling</description>
73- <desktop-entry>account-polld.desktop</desktop-entry>
74+ <desktop-entry>account-polld-twitter.desktop</desktop-entry>
75 <translations>account-polld</translations>
76
77- <service-types>
78- <service-type id="account-polld">
79+ <services>
80+ <service id="twitter-poll">
81 <description>Receive notifications for this account</description>
82- </service-type>
83- </service-types>
84+ </service>
85+ </services>
86 </application>
87
88=== renamed file 'data/account-polld.desktop' => 'data/account-polld-twitter.desktop'
89--- data/account-polld.desktop 2014-08-01 04:02:35 +0000
90+++ data/account-polld-twitter.desktop 2014-09-02 20:51:51 +0000
91@@ -1,10 +1,10 @@
92 [Desktop Entry]
93 Categories=Office;
94 Exec=
95-GenericName=account-polld
96-Name=Notifications
97+GenericName=account-polld-twitter
98+Name=Twitter
99 NoDisplay=true
100 Terminal=false
101 Type=Application
102-Icon=indicator-messages
103+Icon=twitter
104 X-Ubuntu-Gettext-Domain=account-polld
105
106=== modified file 'debian/control'
107--- debian/control 2014-08-24 00:04:44 +0000
108+++ debian/control 2014-09-02 20:51:51 +0000
109@@ -20,6 +20,7 @@
110 Homepage: https://launchpad.net/account-polld
111 Vcs-Browser: http://bazaar.launchpad.net/~phablet-team/account-polld/trunk/files
112 Vcs-Bzr: lp:account-polld
113+X-Ubuntu-Use-Langpack: yes
114
115 Package: account-polld
116 Architecture: any
117@@ -33,4 +34,3 @@
118 communicates with the postal service provided by the ubuntu push client
119 to expose notifications for the click webapps for the aforementioned
120 services.
121-X-Ubuntu-Use-Langpack: yes
122
123=== modified file 'debian/rules'
124--- debian/rules 2014-08-28 18:35:13 +0000
125+++ debian/rules 2014-09-02 20:51:51 +0000
126@@ -25,13 +25,13 @@
127 ${CURDIR}/debian/account-polld/usr/share/accounts/services \
128 ${CURDIR}/debian/account-polld/usr/share/accounts/service_types \
129 ${CURDIR}/debian/account-polld/usr/share/applications
130- cp ${CURDIR}/data/account-polld.application \
131+ cp ${CURDIR}/data/account-polld-*.application \
132 ${CURDIR}/debian/account-polld/usr/share/accounts/applications/
133 cp ${CURDIR}/data/*.service \
134 ${CURDIR}/debian/account-polld/usr/share/accounts/services/
135 cp ${CURDIR}/data/account-polld.service-type \
136 ${CURDIR}/debian/account-polld/usr/share/accounts/service_types/
137- cp ${CURDIR}/data/account-polld.desktop \
138+ cp ${CURDIR}/data/account-polld-*.desktop \
139 ${CURDIR}/debian/account-polld/usr/share/applications/
140 # translations
141 appname=account-polld; \

Subscribers

People subscribed via source and target branches