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

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

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


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

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

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

Happy Bug Fixing Day,
Alex


Re: [xwiki-devs] [Need proposal] How to show "conflicting" macro parameters

2018-07-04 Thread Thomas Mortagne
Here are more details on the actual use case we need to support:

In include/Display macro either you set:

* "reference" and "type" (which default to DOCUMENT)
* or you set "page"


On Wed, Jul 4, 2018 at 10:57 AM, Marius Dumitru Florea
 wrote:
> For groups of parameters we could use tabs:
>
> --8<--
> Param 1
> [input]
>
> Param 2 | Param 3 | Param 4 <--- a group of 3 parameters displayed using
> tabs (we take into account only the value of the parameter from the active
> tab)
> [input for param 2]
>
> Param 5
> [input]
> -->8--
>
> But if you want to support subgroups of parameters also then it becomes
> more complicated.
>
> Thanks,
> Marius
>
> On Mon, Jul 2, 2018 at 11:52 AM, Thomas Mortagne 
> wrote:
>
>> Hi xwikiers,
>>
>> In the contact of bringing new Page concept (OK 7.4 is starting to get
>> old) to the API and macros too we decided (1) to introduce a "page"
>> shortcut property (even if we keep the reference/type for other
>> types).
>>
>> While it's nicer for wiki syntax, one issue is that on WYSIWYG macros
>> UI side, which display all properties, it means ending up with
>> conflicting parameters that needs to be displayed as such.
>>
>> I don't really have much clue on how best to display this so I'm
>> searching for ideas :)
>>
>> Then I will add in the macro descriptor what's required for whatever
>> UI we want to build (group and sub groups of properties, etc.).
>>
>> 1: http://design.xwiki.org/xwiki/bin/view/Proposal/
>> DeprecatingSpaceAndSpaceReference#HMacros
>>
>> Thanks,
>> --
>> Thomas Mortagnes
>>



-- 
Thomas Mortagne


Re: [xwiki-devs] [Need proposal] How to show "conflicting" macro parameters

2018-07-04 Thread Marius Dumitru Florea
For groups of parameters we could use tabs:

--8<--
Param 1
[input]

Param 2 | Param 3 | Param 4 <--- a group of 3 parameters displayed using
tabs (we take into account only the value of the parameter from the active
tab)
[input for param 2]

Param 5
[input]
-->8--

But if you want to support subgroups of parameters also then it becomes
more complicated.

Thanks,
Marius

On Mon, Jul 2, 2018 at 11:52 AM, Thomas Mortagne 
wrote:

> Hi xwikiers,
>
> In the contact of bringing new Page concept (OK 7.4 is starting to get
> old) to the API and macros too we decided (1) to introduce a "page"
> shortcut property (even if we keep the reference/type for other
> types).
>
> While it's nicer for wiki syntax, one issue is that on WYSIWYG macros
> UI side, which display all properties, it means ending up with
> conflicting parameters that needs to be displayed as such.
>
> I don't really have much clue on how best to display this so I'm
> searching for ideas :)
>
> Then I will add in the macro descriptor what's required for whatever
> UI we want to build (group and sub groups of properties, etc.).
>
> 1: http://design.xwiki.org/xwiki/bin/view/Proposal/
> DeprecatingSpaceAndSpaceReference#HMacros
>
> Thanks,
> --
> Thomas Mortagnes
>