Brainstorming XWiki Favorites

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Brainstorming XWiki Favorites

MikeOliverAZ
We are looking at creating an internal Favorites system.  with large XWiki's it is easy for a user to forget where things are and search is not always productive. Tags don't offer enough info to help much.

So we are thinking about creating a Favorites class with fields for name, link/path and description. then a panel that shows your favorites.

Does that sound right to the group or is there a better way?

Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Wright, Philip
Idea is to allow the user to create the description?  If so sounds like a
GREAT idea.


 

Philip Wright

Reports Analyst

ACS: BPS

Affiliated Computer Services, Inc

 

Affiliated Computer Services, Inc (ACS) Proprietary and Confidential
Information
This document (or any part thereof) may not be disseminated outside of ACS
in either electronic or physical form without specific authorization of the
office of the ACS Chief Information Security Officer. The information
included in this document represents no commitment by ACS to any other
party. The policies and standards described do not consider any country law
or other directive outside of the United States.

P Please consider the environment before printing this email


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Mike Oliver
Sent: Tuesday, July 01, 2008 11:14 AM
To: [hidden email]
Subject: [xwiki-users] Brainstorming XWiki Favorites


We are looking at creating an internal Favorites system.  with large XWiki's
it is easy for a user to forget where things are and search is not always
productive. Tags don't offer enough info to help much.

So we are thinking about creating a Favorites class with fields for name,
link/path and description. then a panel that shows your favorites.

Does that sound right to the group or is there a better way?


--
View this message in context:
http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18222048.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

MikeOliverAZ
Ok if we assume this is a good idea, then is it correct to assume we can follow the Photo Album paradigm and create a class and sheet for favorites, and then create a page that shows the favorites in a filtered list?  I suspect the panel will only be for creating favorites while in a page and adding the name and description before saving.

The list of favorites would be a page the user can get to from the panel.

Can I filter on the user that created the record of the favorites class?

Ollie
Wright, Philip wrote
Idea is to allow the user to create the description?  If so sounds like a
GREAT idea.


 

Philip Wright
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Guillaume Lerouge
Hi Mike,

Ok if we assume this is a good idea, then is it correct to assume we can
> follow the Photo Album paradigm and create a class and sheet for favorites,
> and then create a page that shows the favorites in a filtered list?  I
> suspect the panel will only be for creating favorites while in a page and
> adding the name and description before saving.
>
> The list of favorites would be a page the user can get to from the panel.
>
> Can I filter on the user that created the record of the favorites class?
>

Sure... But why don't you have your users use the Watchlist feature that
basically already is XWiki's favorites system for individual users ?

Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication ,
it's bundled with all recent versions of XWiki Enterprise AFAIR ...

You might still want to add that description field though...

Guillaume



>
> Ollie
>
> Wright, Philip wrote:
> >
> > Idea is to allow the user to create the description?  If so sounds like a
> > GREAT idea.
> >
> >
> >
> >
> > Philip Wright
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

MikeOliverAZ
Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace?  Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick "Oh that WebHome".

Ollie
Guillaume Lerouge wrote
Hi Mike,


> Can I filter on the user that created the record of the favorites class?
>

Sure... But why don't you have your users use the Watchlist feature that
basically already is XWiki's favorites system for individual users ?

Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication ,
it's bundled with all recent versions of XWiki Enterprise AFAIR ...

You might still want to add that description field though...

Guillaume



>
> Ollie
>
> Wright, Philip wrote:
> >
> > Idea is to allow the user to create the description?  If so sounds like a
> > GREAT idea.
> >
> >
> >
> >
> > Philip Wright
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Guillaume Lerouge
>
> Well two reasons, one is that for the watchlist, which will show you a list
> of all the pages and spaces you are watching, is a sort of favorites, but
> what if you want to navigate to a place over and over again and it is
> buried
> down in a space someplace?  Then what if you don't want to watch it and be
> notified for some reason, and then lastly what if you want to save a
> description so you can look at your favorites and pick "Oh that WebHome".
>

Indeed. I'd still advise looking at how the watchlist feature is implemented
since it somehow manages to store user preferences in their profiles and
you're going to need that feature in your implementation I guess...

Not sure whether there's been any recent discussion on creating easy-to)use
user profiles extension points - though this kind of use cases (as well as a
bunch of others) show they're needed. I think there is a way to access them
right now without changing the UserClassSheet (maybe by adding new kind of
objects to user profile pages...)

Re your implementation, I'd advise having the list of favorited pages stored
in one (or many) objects attached to the user profile page of the current
user and writing a panel taking the currently logged user UserName as a
parameter, retrieving the data from those favorite objects stored on his
user page and displaying their values in the panel ...

Guillaume



> Ollie
>
> Guillaume Lerouge wrote:
> >
> > Hi Mike,
> >
> >
> >> Can I filter on the user that created the record of the favorites class?
> >>
> >
> > Sure... But why don't you have your users use the Watchlist feature that
> > basically already is XWiki's favorites system for individual users ?
> >
> > Cf
> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
> > ,
> > it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >
> > You might still want to add that description field though...
> >
> > Guillaume
> >
> >
> >
> >>
> >> Ollie
> >>
> >> Wright, Philip wrote:
> >> >
> >> > Idea is to allow the user to create the description?  If so sounds
> like
> >> a
> >> > GREAT idea.
> >> >
> >> >
> >> >
> >> >
> >> > Philip Wright
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

MikeOliverAZ
In reply to this post by MikeOliverAZ
Ok so I can't count, that's three reasons.

I created a Favorites class in XWiki with three properties, Name(string), Link(string) and Description(textarea).

I create a sheet and template  and attached the Favorites Object to the template.

I then created a page with

#set ($hql = ", BaseObject as obj where obj.name=doc.fullName
        and obj.className='XWiki.FavoritesClass' and obj.name<>'XWiki.FavoritesClassTemplate'")
#set ($favs= $xwiki.searchDocuments($hql))
#if ($favs.size() > 0)
  #foreach ($fav in $favs)
    * [${fav.Name}>{$fav.Link}]
  #end
#else
  #info("There are no Favorites in this wiki!")
#end

and since I had not yet created the first Favorite it showed No Favorites in this wiki.  Cool

Then I went back to the XWiki Favorites Class and created a new document and populated the Name Property, Link Property and Description properties and went back to the page with the search above...

it shows the literal fav.Name in the name of the link and Link as the URI for the target.

if $fav the FavoritesClass object?  I am guessing not.


Mike Oliver wrote
Well two reasons, one is that for the watchlist, which will show you a list of all the pages and spaces you are watching, is a sort of favorites, but what if you want to navigate to a place over and over again and it is buried down in a space someplace?  Then what if you don't want to watch it and be notified for some reason, and then lastly what if you want to save a description so you can look at your favorites and pick "Oh that WebHome".

Ollie
Guillaume Lerouge wrote
Hi Mike,


> Can I filter on the user that created the record of the favorites class?
>

Sure... But why don't you have your users use the Watchlist feature that
basically already is XWiki's favorites system for individual users ?

Cf http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication ,
it's bundled with all recent versions of XWiki Enterprise AFAIR ...

You might still want to add that description field though...

Guillaume



>
> Ollie
>
> Wright, Philip wrote:
> >
> > Idea is to allow the user to create the description?  If so sounds like a
> > GREAT idea.
> >
> >
> >
> >
> > Philip Wright
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Guillaume Lerouge
>
> Ok so I can't count, that's three reasons.


That's the benefit of iterative designs, you've been able to correct
yourself in no time ;-)


> I created a Favorites class in XWiki with three properties, Name(string),
> Link(string) and Description(textarea).
>
> I create a sheet and template  and attached the Favorites Object to the
> template.
>
> I then created a page with
>
> #set ($hql = ", BaseObject as obj where obj.name=doc.fullName
>        and obj.className='XWiki.FavoritesClass' and
> obj.name<>'XWiki.FavoritesClassTemplate'")
> #set ($favs= $xwiki.searchDocuments($hql))
> #if ($favs.size() > 0)
>  #foreach ($fav in $favs)
>    * [${fav.Name}>{$fav.Link}]
>  #end
> #else
>  #info("There are no Favorites in this wiki!")
> #end
>
> and since I had not yet created the first Favorite it showed No Favorites
> in
> this wiki.  Cool


Ok, I hadn't understood that those favorites were the same for all users, I
thought they would be user-specific, hence my previous remarks.


> Then I went back to the XWiki Favorites Class and created a new document
> and
> populated the Name Property, Link Property and Description properties and
> went back to the page with the search above...
>
> it shows the literal fav.Name in the name of the link and Link as the URI
> for the target.
>
> if $fav the FavoritesClass object?  I am guessing not.


From figure 23 on that page :
http://www.theserverside.com/tt/articles/article.tss?l=XWiki it seems you're
missing the $xwiki.getDocument() API call in your code :

#foreach ($todo in $todos)
  #set ($todoDoc = $xwiki.getDocument($todo))
  #set ($todoObj = $todoDoc.getObject("XWiki.TodoClass"))
[$todoObj.Description>$todo] | $todoObj.Assignee | $todoObj.TargetDate |
$todoObj.Status
#end

Hope this helps,

Guillaume


>
>
> Mike Oliver wrote:
> >
> > Well two reasons, one is that for the watchlist, which will show you a
> > list of all the pages and spaces you are watching, is a sort of
> favorites,
> > but what if you want to navigate to a place over and over again and it is
> > buried down in a space someplace?  Then what if you don't want to watch
> it
> > and be notified for some reason, and then lastly what if you want to save
> > a description so you can look at your favorites and pick "Oh that
> > WebHome".
> >
> > Ollie
> >
> > Guillaume Lerouge wrote:
> >>
> >> Hi Mike,
> >>
> >>
> >>> Can I filter on the user that created the record of the favorites
> class?
> >>>
> >>
> >> Sure... But why don't you have your users use the Watchlist feature that
> >> basically already is XWiki's favorites system for individual users ?
> >>
> >> Cf
> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
> >> ,
> >> it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >>
> >> You might still want to add that description field though...
> >>
> >> Guillaume
> >>
> >>
> >>
> >>>
> >>> Ollie
> >>>
> >>> Wright, Philip wrote:
> >>> >
> >>> > Idea is to allow the user to create the description?  If so sounds
> >>> like a
> >>> > GREAT idea.
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > Philip Wright
> >>> >
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> >>> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>>
> >>> _______________________________________________
> >>> users mailing list
> >>> [hidden email]
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>
> >>
> >>
> >> --
> >> http://wikibc.blogspot.com/
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

MikeOliverAZ
In reply to this post by Guillaume Lerouge
Good ideas, I followed the ToDo example and created a Favorites space to store the documents but agree better to store them by user.  I guess I can get it working in the ToDo model first and then move the location of the documents and change the filter accordingly.

Our messages passed on the wires where Posted my first pass.

Ollie

Guillaume Lerouge wrote
Indeed. I'd still advise looking at how the watchlist feature is implemented
since it somehow manages to store user preferences in their profiles and
you're going to need that feature in your implementation I guess...

Not sure whether there's been any recent discussion on creating easy-to)use
user profiles extension points - though this kind of use cases (as well as a
bunch of others) show they're needed. I think there is a way to access them
right now without changing the UserClassSheet (maybe by adding new kind of
objects to user profile pages...)

Re your implementation, I'd advise having the list of favorited pages stored
in one (or many) objects attached to the user profile page of the current
user and writing a panel taking the currently logged user UserName as a
parameter, retrieving the data from those favorite objects stored on his
user page and displaying their values in the panel ...

Guillaume



> Ollie
>
> Guillaume Lerouge wrote:
> >
> > Hi Mike,
> >
> >
> >> Can I filter on the user that created the record of the favorites class?
> >>
> >
> > Sure... But why don't you have your users use the Watchlist feature that
> > basically already is XWiki's favorites system for individual users ?
> >
> > Cf
> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
> > ,
> > it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >
> > You might still want to add that description field though...
> >
> > Guillaume
> >
> >
> >
> >>
> >> Ollie
> >>
> >> Wright, Philip wrote:
> >> >
> >> > Idea is to allow the user to create the description?  If so sounds
> like
> >> a
> >> > GREAT idea.
> >> >
> >> >
> >> >
> >> >
> >> > Philip Wright
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Guillaume Lerouge
By the way, 2 additional ideas :

   - You could add a static list property (with [1,2,3,4,5] as allowed
   values) to rank the importance / interest of favorites and display them
   according to their ranking on the page (thru a hql sort query)
   - Don't forget to add your application on http://code.xwiki.org/ once a
   first working version is out ;-)

Guillaume

On Tue, Jul 1, 2008 at 11:32 PM, Mike Oliver <[hidden email]> wrote:

>
> Good ideas, I followed the ToDo example and created a Favorites space to
> store the documents but agree better to store them by user.  I guess I can
> get it working in the ToDo model first and then move the location of the
> documents and change the filter accordingly.
>
> Our messages passed on the wires where Posted my first pass.
>
> Ollie
>
>
> Guillaume Lerouge wrote:
> >
> > Indeed. I'd still advise looking at how the watchlist feature is
> > implemented
> > since it somehow manages to store user preferences in their profiles and
> > you're going to need that feature in your implementation I guess...
> >
> > Not sure whether there's been any recent discussion on creating
> > easy-to)use
> > user profiles extension points - though this kind of use cases (as well
> as
> > a
> > bunch of others) show they're needed. I think there is a way to access
> > them
> > right now without changing the UserClassSheet (maybe by adding new kind
> of
> > objects to user profile pages...)
> >
> > Re your implementation, I'd advise having the list of favorited pages
> > stored
> > in one (or many) objects attached to the user profile page of the current
> > user and writing a panel taking the currently logged user UserName as a
> > parameter, retrieving the data from those favorite objects stored on his
> > user page and displaying their values in the panel ...
> >
> > Guillaume
> >
> >
> >
> >> Ollie
> >>
> >> Guillaume Lerouge wrote:
> >> >
> >> > Hi Mike,
> >> >
> >> >
> >> >> Can I filter on the user that created the record of the favorites
> >> class?
> >> >>
> >> >
> >> > Sure... But why don't you have your users use the Watchlist feature
> >> that
> >> > basically already is XWiki's favorites system for individual users ?
> >> >
> >> > Cf
> >> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
> >> > ,
> >> > it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >> >
> >> > You might still want to add that description field though...
> >> >
> >> > Guillaume
> >> >
> >> >
> >> >
> >> >>
> >> >> Ollie
> >> >>
> >> >> Wright, Philip wrote:
> >> >> >
> >> >> > Idea is to allow the user to create the description?  If so sounds
> >> like
> >> >> a
> >> >> > GREAT idea.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > Philip Wright
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> >> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >> >>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> [hidden email]
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > http://wikibc.blogspot.com/
> >> > _______________________________________________
> >> > users mailing list
> >> > [hidden email]
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18224067.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225762.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

MikeOliverAZ
In reply to this post by Guillaume Lerouge
Yes actually I do plan on moving it and making it by user, but thought I best get it working first, picollo passo

yes I guess I did miss somethign thanks.

Ollie
Guillaume Lerouge wrote
>
> Ok so I can't count, that's three reasons.


That's the benefit of iterative designs, you've been able to correct
yourself in no time ;-)


> I created a Favorites class in XWiki with three properties, Name(string),
> Link(string) and Description(textarea).
>
> I create a sheet and template  and attached the Favorites Object to the
> template.
>
> I then created a page with
>
> #set ($hql = ", BaseObject as obj where obj.name=doc.fullName
>        and obj.className='XWiki.FavoritesClass' and
> obj.name<>'XWiki.FavoritesClassTemplate'")
> #set ($favs= $xwiki.searchDocuments($hql))
> #if ($favs.size() > 0)
>  #foreach ($fav in $favs)
>    * [${fav.Name}>{$fav.Link}]
>  #end
> #else
>  #info("There are no Favorites in this wiki!")
> #end
>
> and since I had not yet created the first Favorite it showed No Favorites
> in
> this wiki.  Cool


Ok, I hadn't understood that those favorites were the same for all users, I
thought they would be user-specific, hence my previous remarks.


> Then I went back to the XWiki Favorites Class and created a new document
> and
> populated the Name Property, Link Property and Description properties and
> went back to the page with the search above...
>
> it shows the literal fav.Name in the name of the link and Link as the URI
> for the target.
>
> if $fav the FavoritesClass object?  I am guessing not.


From figure 23 on that page :
http://www.theserverside.com/tt/articles/article.tss?l=XWiki it seems you're
missing the $xwiki.getDocument() API call in your code :

#foreach ($todo in $todos)
  #set ($todoDoc = $xwiki.getDocument($todo))
  #set ($todoObj = $todoDoc.getObject("XWiki.TodoClass"))
[$todoObj.Description>$todo] | $todoObj.Assignee | $todoObj.TargetDate |
$todoObj.Status
#end

Hope this helps,

Guillaume


>
>
> Mike Oliver wrote:
> >
> > Well two reasons, one is that for the watchlist, which will show you a
> > list of all the pages and spaces you are watching, is a sort of
> favorites,
> > but what if you want to navigate to a place over and over again and it is
> > buried down in a space someplace?  Then what if you don't want to watch
> it
> > and be notified for some reason, and then lastly what if you want to save
> > a description so you can look at your favorites and pick "Oh that
> > WebHome".
> >
> > Ollie
> >
> > Guillaume Lerouge wrote:
> >>
> >> Hi Mike,
> >>
> >>
> >>> Can I filter on the user that created the record of the favorites
> class?
> >>>
> >>
> >> Sure... But why don't you have your users use the Watchlist feature that
> >> basically already is XWiki's favorites system for individual users ?
> >>
> >> Cf
> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplication
> >> ,
> >> it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >>
> >> You might still want to add that description field though...
> >>
> >> Guillaume
> >>
> >>
> >>
> >>>
> >>> Ollie
> >>>
> >>> Wright, Philip wrote:
> >>> >
> >>> > Idea is to allow the user to create the description?  If so sounds
> >>> like a
> >>> > GREAT idea.
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > Philip Wright
> >>> >
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18223339.html
> >>> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>>
> >>> _______________________________________________
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>
> >>
> >>
> >> --
> >> http://wikibc.blogspot.com/
> >> _______________________________________________
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p18225432.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Wright, Philip
In reply to this post by MikeOliverAZ
Drool, I'll be watching this string and looking for that app :)


 

Philip Wright

Reports Analyst

ACS: BPS

 

Office: 503-907-1501 ext 3714

Cell: 503-891-4920

[hidden email]

 

 

 

 

Affiliated Computer Services, Inc

 

Affiliated Computer Services, Inc (ACS) Proprietary and Confidential
Information
This document (or any part thereof) may not be disseminated outside of ACS
in either electronic or physical form without specific authorization of the
office of the ACS Chief Information Security Officer. The information
included in this document represents no commitment by ACS to any other
party. The policies and standards described do not consider any country law
or other directive outside of the United States.

P Please consider the environment before printing this email


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Guillaume Lerouge
Sent: Tuesday, July 01, 2008 2:39 PM
To: XWiki Users
Subject: Re: [xwiki-users] Brainstorming XWiki Favorites

By the way, 2 additional ideas :

   - You could add a static list property (with [1,2,3,4,5] as allowed
   values) to rank the importance / interest of favorites and display them
   according to their ranking on the page (thru a hql sort query)
   - Don't forget to add your application on http://code.xwiki.org/ once a
   first working version is out ;-)

Guillaume

On Tue, Jul 1, 2008 at 11:32 PM, Mike Oliver <[hidden email]> wrote:

>
> Good ideas, I followed the ToDo example and created a Favorites space
> to store the documents but agree better to store them by user.  I
> guess I can get it working in the ToDo model first and then move the
> location of the documents and change the filter accordingly.
>
> Our messages passed on the wires where Posted my first pass.
>
> Ollie
>
>
> Guillaume Lerouge wrote:
> >
> > Indeed. I'd still advise looking at how the watchlist feature is
> > implemented since it somehow manages to store user preferences in
> > their profiles and you're going to need that feature in your
> > implementation I guess...
> >
> > Not sure whether there's been any recent discussion on creating
> > easy-to)use user profiles extension points - though this kind of use
> > cases (as well
> as
> > a
> > bunch of others) show they're needed. I think there is a way to
> > access them right now without changing the UserClassSheet (maybe by
> > adding new kind
> of
> > objects to user profile pages...)
> >
> > Re your implementation, I'd advise having the list of favorited
> > pages stored in one (or many) objects attached to the user profile
> > page of the current user and writing a panel taking the currently
> > logged user UserName as a parameter, retrieving the data from those
> > favorite objects stored on his user page and displaying their values
> > in the panel ...
> >
> > Guillaume
> >
> >
> >
> >> Ollie
> >>
> >> Guillaume Lerouge wrote:
> >> >
> >> > Hi Mike,
> >> >
> >> >
> >> >> Can I filter on the user that created the record of the
> >> >> favorites
> >> class?
> >> >>
> >> >
> >> > Sure... But why don't you have your users use the Watchlist
> >> > feature
> >> that
> >> > basically already is XWiki's favorites system for individual users ?
> >> >
> >> > Cf
> >> http://code.xwiki.org/xwiki/bin/view/Applications/WatchlistApplicat
> >> ion
> >> > ,
> >> > it's bundled with all recent versions of XWiki Enterprise AFAIR ...
> >> >
> >> > You might still want to add that description field though...
> >> >
> >> > Guillaume
> >> >
> >> >
> >> >
> >> >>
> >> >> Ollie
> >> >>
> >> >> Wright, Philip wrote:
> >> >> >
> >> >> > Idea is to allow the user to create the description?  If so
> >> >> > sounds
> >> like
> >> >> a
> >> >> > GREAT idea.
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > Philip Wright
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822333
> 9.html
> >> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >> >>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> [hidden email]
> >> >> http://lists.xwiki.org/mailman/listinfo/users
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > http://wikibc.blogspot.com/
> >> > _______________________________________________
> >> > users mailing list
> >> > [hidden email]
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822406
> 7.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> users mailing list
> >> [hidden email]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > http://wikibc.blogspot.com/
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Brainstorming-XWiki-Favorites-tp18222048p1822576
> 2.html Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>



--
http://wikibc.blogspot.com/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

Hamster
4 years later...

I searched the XWiki Extensions, but did not find any "Favorites" Extension of any kind.

Did anything got developed?
Reply | Threaded
Open this post in threaded view
|

Re: Brainstorming XWiki Favorites

vmassol
Administrator
Hi Hamster,

On Aug 15, 2012, at 7:27 AM, Hamster wrote:

> 4 years later...
>
> I searched the XWiki Extensions, but did not find any "Favorites" Extension
> of any kind.
>
> Did anything got developed?

I don't think so.

However:

* The Watchlist application can almost be used as a Favorite application. Personally I'd also be in favor of improving the watchlist app so that you could set the notification period on a per-item basis (with a default period of course) and add a "no notification" option. We would probably still need a Favorite app but at least it would allow more use cases including a poor-man's favorite app

* It's relatively easy to create an app for Favorites. The only tricky part is to add a "Add as Favorite" menu entry but that'll become very simple soon with the UI Extension feature that we're currently adding in XWiki 4.2. Actually with this UI Extension you would even be able to add a new Tab in your user profile for listing all your favorites for example.

If you're interested here's how I would code it:
* Create a FavoriteClass XClass
* Register a new menu entry (in an existing vm file ATM) to add a new favorite
* When the user clicks the menu entry, create a XObject of type FavoriteClass and add it to the current user document
* Modify the User Profile Sheet to add a new Favorite tab and create a page to list all your favorites; it would use a Livetable to display all your favorites by getting all FavoriteClass XObjects for the current user
* Add a new Menu entry in the Profile menu in the top right corner to directly go to your favorites page (again done currently by modifying a vm file)

Hope it helps,
-Vincent



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users