On Sun, Nov 1, 2009 at 3:29 PM, Vincent Massol <[email protected]> wrote:
> Hi Caty,
>
> On Thu, Oct 29, 2009 at 4:13 PM, Ecaterina Valica <[email protected]> wrote:
>> Hi devs,
>>
>
>>   - Profile - things related to the user
>>      -
>>      
>> http://incubator.myxwiki.org/xwiki/bin/view/Improvements/UserProfileProposal
>
> Nice. However I think I would have preferred a way to go more easily
> from profile to preferences to watchlist. Maybe some tabs. In this
> case there might not be a need for the various menu entries for the
> logged-in user. Anyway I'm ok with whatever you guys feel is good
> since it's already an improvement from what we have.
>

I think we need tabs for one reason, with the current proposal an
admin cannot easily view/edit users preferences or watchlists since
the only way to access them is the action menu (which is pointing to
current user pages). The need to edit other peoples watchlists has
been identified in the past.
There is also a technical reason to use tabs for this: if we want to
use the default view/inline modes for the user profile (with 3
different sheets) we won't be able to determine which sheet to use
when entering the inline mode so we need a way to switch between those
views. I think horizontal tabs would make the page look too crowded
but we could have a vertical menu on the left of the page, like the
music genre list on the left of this page: http://www.last.fm/music .

>>      - Preferences - things related to user's account
>>      -
>>      
>> http://incubator.myxwiki.org/xwiki/bin/view/Improvements/UserPreferencesProposal
>
> Nice. It's missing the ability to change the avatar.
>

About the avatar, can we position it like this only with CSS or would
we need to hardcode something in templates to achieve it ?

> In general for both the profile and the preferences we need an
> extensible solution (it's probably something to pay attention to when
> we implement it) since every company using XWiki will want to have
> different fields displayed and even custom fields.
>
> Question 1: Imagine someone wants to write an application (XAR) that
> extends the User Profile. For example a Bookmark application. How
> would we write this in a dynamic manner?

I think tabs/vertical-menu could allow that, provided we implement a
mechanism to retrieve sheets that must appear in the menu, it is also
what we should have for the administration app in the future (it has
been done with that in mind but never finished). The menu has one
advantage compared to gadgets, it allows to use our inline mode to
edit user preferences for the given app.

> Question 2: For the further future, maybe the user profile should be
> made out of google social gadgets and we would implement predefined
> gagdets such as recent activity, user info, use groups, etc. This
> could solve question 1.

Thanks,
JV.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to