<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Am 10.05.2011 09:37, schrieb Sebastian Trüg:
<blockquote cite="mid:4DC8EB4A.9060001@kde.org" type="cite">
<pre wrap="">On 05/09/2011 11:28 PM, Marco Martin wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
let's see what happened recently in the usage of Nepomuk by Plasma Active,
also building blocks for one of the main user interface pieces for Contour.
(long message but has pictures ;)
a central point is using Activities to organize all our resources, being
files, contacts or applications, in brief what will be represented by Nepomuk
resources.
a central piece for wiring up Plasma and Nepomuk is the metadata DataEngine.
here is possible to do arbitrary queries to Nepomuk.
Today i did a little marathon to rework its api, to permit more easily to use
more than one applet connected to the dataengine and track of the queries that
can auto update over time.
Now each query is a separate dataengine source and a custom DataContainer for
each source.
this means a separate QueryServiceClient per query, that can keep track of any
change.
there is now a new source type, called CurrentActivityResources: (followed by
the activity id)
this lists all the resources associated with the given activity, and this will
be used in a view used by default in the center on the Contour activity view.
a service is present too to make possible to add/remove associations between
activity and resources.
a user interface has been done as well, and here it is how it looks right now:
<a class="moz-txt-link-freetext" href="http://i.imgur.com/GpmUM.png">http://i.imgur.com/GpmUM.png</a>
this is a qml only containment, and uses the common resource delegates
developed before/during Tokamak. (for different resource types they will
eventually look in a different way)
it's still rough, (for instance resource types still have the internal user
unfriendly name, like PaginatedTextDocument) but at this point, modulo some
bugs i will talk about later, just needs refinements.
</pre>
</blockquote>
<pre wrap="">
Just a hint here: these still user-unfriendly names need to be fixed in
shared-desktop-ontologies. I would very much like some help here. Not
only are there many types to name properly, it is also not easy to
decide on good names.
</pre>
</blockquote>
From a concept part we could work together here - what makes sense,
what would be the useful information for the user etc. I started a
list for resource types recently in my UI documentation - for me
there is also the question of clustering types (not technical types,
but logical groups for the user). This is open for discussion...<br>
<ul>
<li>
<p style="margin-bottom: 0.21cm;"><font style="font-size: 11pt;"
size="2">Resources can be:</font></p>
<ul>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">Files (like PDF,
OpenOfficeWriter Documents, Images, html sites ...)</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">Media (music files
mp3, movies flv, games, podcast?)</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">Contacs (Peoples name,
adress, email adress, chat accounts, phone number, etc)</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">aplications (any
aplications on the device, like Office, graphics
programs, email clients, media player etc)</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">bookmarks? Urls</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">locations (adress,
name, tag)</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">events? = calendar
entries</font></p>
</li>
<li>
<p style="margin-bottom: 0.21cm; page-break-before: auto;"><font
style="font-size: 11pt;" size="2">tasks?</font></p>
</li>
</ul>
</li>
</ul>
<br>
Greetings,<br>
Fania<br>
<br>
<blockquote cite="mid:4DC8EB4A.9060001@kde.org" type="cite">
<pre wrap="">
Cheers,
Sebastian
</pre>
<blockquote type="cite">
<pre wrap="">what is possible to do with those icons?
a single click opens it, a press and hold opens a menu:
<a class="moz-txt-link-freetext" href="http://i.imgur.com/L8NBx.png">http://i.imgur.com/L8NBx.png</a>
the entries present are just a proof of concept for demo purposes, they just
show a brief feedback message (they will eventually use the actions provided
by the share/like/connect service)
one entry that does work is the last: "add to the current activity".
tapping on it it will add that resource to the default view (when no query is
present)
this entry, in the default view becomes instead "remove from current activity"
It does actually work, however there are still some bugs.
it seems that when a resource is removed, QueryServiceClient sends
entriesRemoved() for all of the associated resources, and is necessary to
reset the query and do it again to get the correct results.
Sebastian, any ideas?
To conclude, a question about the api:
right now the add/remove association is done by a service with those two
possible operations:
it requires to pass both the nepomuk url of the resources and of the activity
(means that would even be possible to associate a resource with an activity
different from the current one, if there will be a ui for it)
a different implementation would be to use kactivityconsumer to figure out the
current activity and just let add/remove associations to the current *running*
activity.
Cheers,
Marco Martin
_______________________________________________
Active mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Active@kde.org">Active@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/active">https://mail.kde.org/mailman/listinfo/active</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Active mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Active@kde.org">Active@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/active">https://mail.kde.org/mailman/listinfo/active</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Fania Jöck
Interaction Designer
basysKom GmbH
Robert-Bosch-Str.7 | 64293 Darmstadt | Germany
Tel: +49 6151 870589 122 | Fax: +49 6151 3969 736
<a class="moz-txt-link-abbreviated" href="mailto:fania.joeck@basyskom.de">fania.joeck@basyskom.de</a> | <a class="moz-txt-link-abbreviated" href="http://www.basyskom.de">www.basyskom.de</a>
Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Eva Brucherseifer
</pre>
</body>
</html>