[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: Review Request: Group Offline contacts into a separate group
From: "Raphael Kubo da Costa" <kubito () gmail ! com>
Date: 2010-07-04 2:14:47
Message-ID: 20100704021447.11583.78556 () localhost
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2179/#review6362
-----------------------------------------------------------
Well, nobody has given a NACK yet, so I presume this is a tacit ACK :)
Does this patch still apply fine to trunk? It'd be good to apply it now tha=
t trunk is unfrozen for SC 4.6.
- Raphael
On 2009-11-18 04:12:17, Barry Carter wrote:
> =
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/2179/
> -----------------------------------------------------------
> =
> (Updated 2009-11-18 04:12:17)
> =
> =
> Review request for Kopete.
> =
> =
> Summary
> -------
> =
> This patch allows a new configuration option to be set which will show al=
l offline users grouped into a folder called "Offline Users".
> =
> When a contact comes online, the metacontact is removed from the offline =
group, and added to the normal group folder. Likewise when the contact goes=
offline, the contact is added to the offline users folder.
> =
> Rules: =
> If "Show Offline" is set, then the offline folder group is removed from v=
iew.
> If a search is in progress, the offline folder is removed from view.
> Using the proxyfilter lessThan, the Offline folder is always pushed to th=
e bottom of the list.
> =
> Protection:
> Removed right click access to the folder so no renaming etc can be done (=
wise?).
> Removed ability for a user to move a contact to the offline folder.
> =
> Side Effects:
> The offline users folder is always visible even when not connected to a n=
etwork.
> =
> Implementation:
> The offline folder is a "special" group like temporary or toplevel. This =
allows it to hide away from the group menus while still being filterable.
> =
> Future:
> Assuming anyone is interested in this feature, there are a couple of cosm=
etic changes that might be made. One is... The offline folder will never ha=
ve an online contact, so instead of showing "Offline Users (0/1000)" it cou=
ld be abbreviated to "Offline Users (1000)"
> =
> Questions:
> If we simply call the folder "Offline" would we get better i18n?
> Is there a better way to do this?
> =
> built against 0.80.2
> =
> =
> Diffs
> -----
> =
> /branches/KDE/4.3/kdenetwork/kopete/kopete/config/appearance/appearance=
config_contactlist.ui 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/contactlistproxy=
model.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/contactlisttreem=
odel.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/kopetecontactlis=
tview.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/kopeteitemdelega=
te.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/contactlist/kopetecontact=
liststorage.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/contactlist/xmlcontactsto=
rage.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/kopeteappearancesettings.=
kcfg 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetecontactlist.cpp 104=
6954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetegroup.h 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetegroup.cpp 1046954 =
> /branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetemetacontact.cpp 104=
6954 =
> =
> Diff: http://reviewboard.kde.org/r/2179/diff
> =
> =
> Testing
> -------
> =
> Tested against 0.80.2 in /branches/KDE/4.3/kdenetwork/
> =
> =
> Screenshots
> -----------
> =
> Offline Users
> http://reviewboard.kde.org/r/2179/s/262/
> Show offline contacts in a separate folder
> http://reviewboard.kde.org/r/2179/s/265/
> Offline Users cleanup
> http://reviewboard.kde.org/r/2179/s/266/
> =
> =
> Thanks,
> =
> Barry
> =
>
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://reviewboard.kde.org/r/2179/">http://reviewboard.kde.org/r/2179/</a>
</td>
</tr>
</table>
<br />
<pre>Well, nobody has given a NACK yet, so I presume this is a tacit ACK :)
Does this patch still apply fine to trunk? It'd be good to apply it now that \
trunk is unfrozen for SC 4.6.</pre> <br />
<p>- Raphael</p>
<br />
<p>On November 18th, 2009, 4:12 a.m., Barry Carter wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Kopete.</div>
<div>By Barry Carter.</div>
<p style="color: grey;"><i>Updated 2009-11-18 04:12:17</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0;">This patch allows a new configuration option \
to be set which will show all offline users grouped into a folder called \
"Offline Users".
When a contact comes online, the metacontact is removed from the offline group, and \
added to the normal group folder. Likewise when the contact goes offline, the contact \
is added to the offline users folder.
Rules:
If "Show Offline" is set, then the offline folder group is removed from \
view. If a search is in progress, the offline folder is removed from view.
Using the proxyfilter lessThan, the Offline folder is always pushed to the bottom of \
the list.
Protection:
Removed right click access to the folder so no renaming etc can be done (wise?).
Removed ability for a user to move a contact to the offline folder.
Side Effects:
The offline users folder is always visible even when not connected to a network.
Implementation:
The offline folder is a "special" group like temporary or toplevel. This \
allows it to hide away from the group menus while still being filterable.
Future:
Assuming anyone is interested in this feature, there are a couple of cosmetic changes \
that might be made. One is... The offline folder will never have an online contact, \
so instead of showing "Offline Users (0/1000)" it could be abbreviated to \
"Offline Users (1000)"
Questions:
If we simply call the folder "Offline" would we get better i18n?
Is there a better way to do this?
built against 0.80.2</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0;">Tested against 0.80.2 in \
/branches/KDE/4.3/kdenetwork/</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>/branches/KDE/4.3/kdenetwork/kopete/kopete/config/appearance/appearanceconfig_contactlist.ui \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/contactlistproxymodel.cpp \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/kopetecontactlistview.cpp \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/kopete/contactlist/kopeteitemdelegate.cpp \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/contactlist/kopetecontactliststorage.cpp \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/contactlist/xmlcontactstorage.cpp \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/kopeteappearancesettings.kcfg \
<span style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetecontactlist.cpp <span \
style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetegroup.h <span style="color: \
grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetegroup.cpp <span \
style="color: grey">(1046954)</span></li>
<li>/branches/KDE/4.3/kdenetwork/kopete/libkopete/kopetemetacontact.cpp <span \
style="color: grey">(1046954)</span></li>
</ul>
<p><a href="http://reviewboard.kde.org/r/2179/diff/" style="margin-left: 3em;">View \
Diff</a></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Screenshots </h1>
<div>
<a href="http://reviewboard.kde.org/r/2179/s/262/"><img \
src="http://reviewboard.kde.org/media/uploaded/images/2009/11/15/newKopeteOfflineGroup_400x100.png" \
style="border: 1px black solid;" alt="Offline Users" /></a>
<a href="http://reviewboard.kde.org/r/2179/s/265/"><img \
src="http://reviewboard.kde.org/media/uploaded/images/2009/11/17/kopeteofflinegroupedsettings_400x100.png" \
style="border: 1px black solid;" alt="Show offline contacts in a separate folder" \
/></a>
<a href="http://reviewboard.kde.org/r/2179/s/266/"><img \
src="http://reviewboard.kde.org/media/uploaded/images/2009/11/18/kopeteImageOfflineCleanup_400x100.png" \
style="border: 1px black solid;" alt="Offline Users cleanup" /></a>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic