Re: [xwiki-devs] [UX][Idea] User Index Cards

2018-06-07 Thread Ecaterina Moraru (Valica)
Well the livetable will not be removed, you will still have it in the other
view.

The "Filter..." would mostly/at least filter by name, but it depends how we
implement it. It would be nice to be able to make advanced queries like
"group:XWikiAdmin group:Committers SAS" or look for email addresses, but
this is just wishful thinking.

It's hard to find a replacement for the filtering capabilities of the
livetable and this is not the purpose of this proposal. Unfortunately the
livetable is not necessarily good looking and suited for all the use cases.
Users are expecting User Directories / Indexes / People / Contacts to look
in a certain way, and currently that is proposed by using cards.

Thanks,
Caty

On Thu, Jun 7, 2018 at 5:22 PM, Thomas Mortagne 
wrote:

> Looks very nice but it's not clear for me what is supported in
> "Filter..." input. Would it support filtering on any property like the
> livetable does ?
>
> Custom columns and filtering on them is the reason why I go to the
> user index 90% of the time :)
>
> On Thu, Jun 7, 2018 at 4:13 PM, Ecaterina Moraru (Valica)
>  wrote:
> > Hi devs,
> >
> > This proposal displays an additional layout mode for the User Index,
> where
> > users are displayed using cards.
> > http://design.xwiki.org/xwiki/bin/download/Proposal/Users/
> UserIndex/UserIndexCards/WebHome/userindex_proposal.png
> >
> > This idea was proposed / discussed by Nicolas Lemoine. The initial
> purpose
> > was to improve the UI of our User Index.
> >
> > I've iterated also on some other ideas, like application specific actions
> > integration inside content menu, user actions (send message, follow) in
> the
> > card display, user groups display, etc.
> >
> > Proposal:
> > http://design.xwiki.org/xwiki/bin/view/Proposal/Users/
> UserIndex/UserIndexCards/
> >
> > Let me know what you think,
> > Caty
>
>
>
> --
> Thomas Mortagne
>


Re: [xwiki-devs] [UX][Idea] User Index Cards

2018-06-07 Thread Thomas Mortagne
Looks very nice but it's not clear for me what is supported in
"Filter..." input. Would it support filtering on any property like the
livetable does ?

Custom columns and filtering on them is the reason why I go to the
user index 90% of the time :)

On Thu, Jun 7, 2018 at 4:13 PM, Ecaterina Moraru (Valica)
 wrote:
> Hi devs,
>
> This proposal displays an additional layout mode for the User Index, where
> users are displayed using cards.
> http://design.xwiki.org/xwiki/bin/download/Proposal/Users/UserIndex/UserIndexCards/WebHome/userindex_proposal.png
>
> This idea was proposed / discussed by Nicolas Lemoine. The initial purpose
> was to improve the UI of our User Index.
>
> I've iterated also on some other ideas, like application specific actions
> integration inside content menu, user actions (send message, follow) in the
> card display, user groups display, etc.
>
> Proposal:
> http://design.xwiki.org/xwiki/bin/view/Proposal/Users/UserIndex/UserIndexCards/
>
> Let me know what you think,
> Caty



-- 
Thomas Mortagne


[xwiki-devs] [UX][Idea] User Index Cards

2018-06-07 Thread Ecaterina Moraru (Valica)
Hi devs,

This proposal displays an additional layout mode for the User Index, where
users are displayed using cards.
http://design.xwiki.org/xwiki/bin/download/Proposal/Users/UserIndex/UserIndexCards/WebHome/userindex_proposal.png

This idea was proposed / discussed by Nicolas Lemoine. The initial purpose
was to improve the UI of our User Index.

I've iterated also on some other ideas, like application specific actions
integration inside content menu, user actions (send message, follow) in the
card display, user groups display, etc.

Proposal:
http://design.xwiki.org/xwiki/bin/view/Proposal/Users/UserIndex/UserIndexCards/

Let me know what you think,
Caty


Re: [xwiki-devs] [Brainstorming] Best practices on indentation for rendering macros in scripts

2018-06-07 Thread Denis Gervalle
Hi,

Not a matter of preference for me, since not all macro contents afford being 
indended, A-1 is the most natural option IMO.
Regards,

--
Denis Gervalle

On 6 Jun 2018, 11:49 +0200, Vincent Massol , wrote:
> Hi,
>
> Context 1: https://jira.xwiki.org/browse/WIKIEDITOR-58
> Context 2: Fill the “velocity code style” section of 
> http://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle/
>
> Option A-1: No top level indentation
> =
>
> {{velocity}}
> #set ($var = …)
> #if (…)
> …
> #if (…)
> #end
> #end
> {{/velocity}}
>
> Nested example:
>
> {{velocity}}
> #if ($doc.fullName != 'XWiki.AdminInlineSheet')
> #set($formname = 'inline')
> #set($saveaction = 'save')
> #set($previewenabled = true)
> #set($xnotification = $!request.getParameter('xnotification'))
> {{html}}
> 
> 
> …
> {{/velocity}}
>
> Pros:
> * This is what we currently do which IMO means it’s the more natural way
> * Makes content more visible when editing inside xwiki since it takes less 
> horizontal space
> * Less typing and less chance to make it wrong
>
> Option A-2: Top level indentation
> 
>
> {{velocity}}
> #set ($var = …)
> #if (…)
> …
> #if (…)
> #end
> #end
> {{/velocity}}
>
> Nested example:
>
> {{velocity}}
> #if ($doc.fullName != 'XWiki.AdminInlineSheet')
> #set($formname = 'inline')
> #set($saveaction = 'save')
> #set($previewenabled = true)
> #set($xnotification = $!request.getParameter('xnotification'))
> {{html}}
> 
> 
> …
> {{/velocity}}
>
> Pros:
> * More logical since a macro is a container (even though it’s different 
> syntax - wiki markup vs velocity - so it’s arguable)
> * More legible?
>
> Cons
> * This means slowly changing everywhere we use scripting.
>
> WDYT?
>
> I think my preference goes to A-1 FTM since I’ve never thought to myself that 
> it was an issue all these years of using it.
>
> Thanks
> -Vincent
>
>


Re: [xwiki-devs] [Brainstorming] Best practices on indentation for rendering macros in scripts

2018-06-07 Thread Marius Dumitru Florea
I've always used A-1 and I'd like to keep it that way.

Thanks,
Marius

On Wed, Jun 6, 2018 at 12:49 PM, Vincent Massol  wrote:

> Hi,
>
> Context 1: https://jira.xwiki.org/browse/WIKIEDITOR-58
> Context 2: Fill the “velocity code style” section of
> http://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle/
>
> Option A-1: No top level indentation
> =
>
> {{velocity}}
> #set ($var = …)
> #if (…)
>   …
>   #if (…)
>   #end
> #end
> {{/velocity}}
>
> Nested example:
>
> {{velocity}}
> #if ($doc.fullName != 'XWiki.AdminInlineSheet')
>   #set($formname = 'inline')
>   #set($saveaction = 'save')
>   #set($previewenabled = true)
>   #set($xnotification = $!request.getParameter('xnotification'))
>   {{html}}
>   
> 
> …
> {{/velocity}}
>
> Pros:
> * This is what we currently do which IMO means it’s the more natural way
> * Makes content more visible when editing inside xwiki since it takes less
> horizontal space
> * Less typing and less chance to make it wrong
>
> Option A-2: Top level indentation
> 
>
> {{velocity}}
>   #set ($var = …)
>   #if (…)
> …
> #if (…)
> #end
>   #end
> {{/velocity}}
>
> Nested example:
>
> {{velocity}}
>   #if ($doc.fullName != 'XWiki.AdminInlineSheet')
> #set($formname = 'inline')
> #set($saveaction = 'save')
> #set($previewenabled = true)
> #set($xnotification = $!request.getParameter('xnotification'))
> {{html}}
>   
> 
> …
> {{/velocity}}
>
> Pros:
> * More logical since a macro is a container (even though it’s different
> syntax - wiki markup vs velocity - so it’s arguable)
> * More legible?
>
> Cons
> * This means slowly changing everywhere we use scripting.
>
> WDYT?
>
> I think my preference goes to A-1 FTM since I’ve never thought to myself
> that it was an issue all these years of using it.
>
> Thanks
> -Vincent
>
>
>


[xwiki-devs] [XWiki Day] BFD#180

2018-06-07 Thread Alex Cotiugă
Hello devs,

This Thursday is BFD#180:
http://dev.xwiki.org/xwiki/bin/view/Community/XWikiDays#HBugfixingday


Our current status is:
* -51 bugs over 120 days (4 months), i.e. we need to close 51 bugs to have
created bugs # = closed bugs #
* -89 bugs over 365 days (1 year)
* -146 bugs over 500 days (between 1 and 2 years)
* -306 bugs over 1600 days (4.3 years)

See https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=10352

Here's the BFD#180 dashboard to follow the progress during the day:
https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=14301

Happy Bug Fixing Day,
Alex