On Wed, May 18, 2011 at 15:47, Thomas Mortagne
<[email protected]> wrote:
> On Wed, May 18, 2011 at 15:08, Luca Anca <[email protected]> wrote:
>> Hi devs,
>>
>> I was thinking to implement the user dashboard as follows:
>>
>> 1/ store the gadget objects for a user dashboard in the user page
>> (XWiki.username)
>> 2/ add a tab on the user profile to display (and edit) this dashboard
>> 3/ make the Main.WebHome display the user dashboard when a user is
>> logged in (with various mechanisms to provide nice UX when his dashboard
>> is empty, etc)
>> 4/ add a configuration flag in the user class to say if the behaviour
>
> I think a specific related object would be cleaner to not make user
> class too big, plus it make easier to see dashboard as an extension.
> Important thing is that it's in the user profile object but there is

s/user profile object/user profile document/

> no reason to make it part of user class.
>
> The same way we stopped constantly adding things to XWikiPreferences
> class for not deep core things we should do the same for user class
> IMO, plus it makes easier to upgrade.
>
>> described at 3/ should apply or not ("display my dashboard on main
>> page") -- default value to be decided, I would say it should be 'true'.
>>
>> WDYT?
>
> Appart from my comment about user class this sounds good, +1
>
>>
>> I will start a proof of concept of this these days...
>>
>> Thanks,
>> Anca
>>
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Thomas Mortagne
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to