Re: [xwiki-users] Re-organize the Drawer's entries

2016-10-26 Thread Jan-Paul Kleijn
P5 is also my favorite because it draws more attention to the content. 
It's the more grown-up version.



Op 26-10-2016 om 10:28 schreef Guillaume Delhumeau:

No opinion?

2016-10-24 18:09 GMT+02:00 Guillaume Delhumeau <
guillaume.delhum...@xwiki.com>:


Hello dear developers and XWiki users.

I would you to take a look at the issue http://jira.xwiki.org/browse/
XWIKI-13070.

The problem is that the current order (that I have implemented based on my
intuition) seems to not be clear for our users. The main point is that the
menu mixes up global items (Home wiki, Wiki Index) and local ones
(Administer Wiki, Page Index, Delete wiki, etc...).

Caty and Oliver have made some proposals that you could find in the issue.

They are called P1, P2, P3, P4 and P5.

I propose you to express your preferences so we can implement it based on
a consensus.

Here are mine:

P1: There is a logical order and separation between item. However, it
seems the more used actions (Wiki Index, Page Index) are less visible than
some other (Delete Wiki, Create Wiki...)

P2: The order and the separation are logic. The "delete wiki" action is
still very visible but all other items are good.

P3: Same than P2. Except that having "Wiki Index" along with "User, Page
and Application Index" mixes up local and global items.

P4: Why not, but maybe the 3 first actions should be placed after the
other ones, since they would be less used. Same remark about the mixing of
local and global items.

P5: A clear distinction between local and global scope. More used items
are located first. This is my favorite one.


So +1 for P5, +0 for the other options so far.

Now, what about you?

Thanks,
Guillaume

PS: I send this message to both devs and users mailing lists, because I
think users are directly concerned by this topic.

--
Guillaume Delhumeau (guillaume.delhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project






___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Re-organize the Drawer's entries

2016-10-26 Thread Ecaterina Moraru (Valica)
The Navigation additions of P6 are better suited for Wiki Index
application, than the Drawer.

So from what we currently have P5 looks like the better candidate (if
nobody else has any other suggestions) (and because of its focus on local
actions), but we need to fix the naming inconsistencies.

Thanks,
Caty

On Wed, Oct 26, 2016 at 4:34 PM, Ecaterina Moraru (Valica) <
vali...@gmail.com> wrote:

> P6: http://jira.xwiki.org/secure/attachment/33161/P6.png
>
> On Wed, Oct 26, 2016 at 4:33 PM, Ecaterina Moraru (Valica) <
> vali...@gmail.com> wrote:
>
>> Hi Guillaume,
>>
>> Thanks for starting this thread.
>>
>> --
>> Current Drawer analysis:
>>
>> Languages( L / G )
>> ---
>> Home ( G )  [N]
>> ---
>> Administer wiki   ( L )   [A] [W]
>> ---
>> Wiki Index   ( G )  [I]  [W]
>> Page Index ( L )   [I]
>> User Index  ( L / G ) [I]
>> Applications Index  ( L)[I]
>> ---
>> Create wiki  ( G )  [A] [W]
>> ---
>> Delete wiki   ( L )  [A] [W]
>>
>>
>> L = Local/Wiki setting/action/effect
>> G = Global/Farm setting/action/effect
>>
>> N = Navigation
>> A = Action
>> W = Wiki entity
>>
>> --
>>
>> Some examples of grouping:
>> 1. Local / Global effect grouping (ex. Main/Subwiki actions should be
>> grouped)
>> 2. Entities grouping (Wiki related actions should be grouped: create,
>> administer, delete, etc.)
>> 3. Index grouping (group all index applications together)
>> 4. Navigation grouping (to Main wiki or other wikis)
>> 5. Actions grouping
>> 6. other?
>>
>> So the main question is what grouping would we want to prioritize first:
>> 1-5?
>>
>> --
>>
>> Some things to consider:
>> A. Naming consistency:
>> A1. Across wiki: we need to consider the terms usage. For example Home
>> vs. Homepage; Wiki vs. Subwiki; Settings vs. Administration; Wiki Index vs.
>> Browse all wikis vs. Show all wikis
>> -- We need to align these usages and pick the one most relevant for the
>> end user and correct as terminology
>> A2. Across the menu: this implies having all entries plural/singular or
>> having the same additional text (ex. do we mark Indexes the same way?
>> Administer wiki / Delete this wiki / Create a new wiki, etc.)
>>
>> B. Explicit (vs. Cryptic)
>> -- how explicit should we make the labels vs. icons usage
>>
>> C. Quick access to local actions
>> -- in subwikis we should optimize for local actions and try to display
>> them first, since some teams might have dedicated wikis and the main wiki
>> could be used just as a portal or as a farm
>>
>> D. Order most used actions first
>> -- for example 'Delete wiki' is not a very used action
>>
>> E. Navigation vs. Actions grouping
>> E1. Actions removal
>> -- for example we could even remove 'Delete wiki' action and consider
>> that the wiki management actions can be accessed just from Wiki Index
>> -- this would mean that 'Administrate wiki' would be removed too, and we
>> use that action a lot in the initial configuration phases, so that would
>> increase the time to reach Administration
>> E2. Adding more wiki navigation
>> -- For example http://jira.xwiki.org/browse/XWIKI-12538 talks about
>> having a way to add quick access to other subwikis (ideally as favorites,
>> since listing all wikis does not scale)
>>
>> --
>>
>> Proposals grouping feedback:
>> Current. -1 (Local/Global), -2 (Wiki grouping), +3 (Indexes), partial 4
>> (Navigation), -5 (Actions) || +A2 (Naming consistency), -C (Quick access)
>> P1. -1 (Local/Global), partial 2 (Wiki grouping), +3 (indexes), partial 4
>> (Navigation), partial 5 (Actions)  || +A2 (Naming consistency), -C (Quick
>> access)
>> P2. partial 1 (Local/Global), -2 (Wiki grouping), partial 3 (Indexes), -4
>> (Navigation), -5 (Actions) || +A2 (Naming consistency), +C (Quick access)
>> P3. partial 1 (Local/Global), -2 (Wiki grouping), +3 (Indexes), -4
>> (Navigation), -5 (Actions) || +A2 (Naming consistency), +C (Quick access)
>> P4. -1 (Local/Global), partial 2 (Wiki grouping), +3 (Indexes), -4
>> (Navigation), +5 (Actions) || +A2 (Naming consistency), partial C (Quick
>> access)
>>
>> --
>>
>> The problem is that when you approach an usability problem using these
>> kind of grouping / grading it's very easy to fall in the 'technicalities'
>> trap and not think about the user perspective.
>>
>> So although I understand why I proposed P1-4, for users it will not make
>> sense. That's why I like P5, because the grouping comes natural and is more
>> explicit, although is not using the consistent terminology.
>>
>> P5: +1 (Local/Global), -2 (Wiki grouping), -3 (Indexes), partial 4
>> (Navigation), -5 (Actions) || 

Re: [xwiki-users] Re-organize the Drawer's entries

2016-10-26 Thread Ecaterina Moraru (Valica)
P6: http://jira.xwiki.org/secure/attachment/33161/P6.png

On Wed, Oct 26, 2016 at 4:33 PM, Ecaterina Moraru (Valica) <
vali...@gmail.com> wrote:

> Hi Guillaume,
>
> Thanks for starting this thread.
>
> --
> Current Drawer analysis:
>
> Languages( L / G )
> ---
> Home ( G )  [N]
> ---
> Administer wiki   ( L )   [A] [W]
> ---
> Wiki Index   ( G )  [I]  [W]
> Page Index ( L )   [I]
> User Index  ( L / G ) [I]
> Applications Index  ( L)[I]
> ---
> Create wiki  ( G )  [A] [W]
> ---
> Delete wiki   ( L )  [A] [W]
>
>
> L = Local/Wiki setting/action/effect
> G = Global/Farm setting/action/effect
>
> N = Navigation
> A = Action
> W = Wiki entity
>
> --
>
> Some examples of grouping:
> 1. Local / Global effect grouping (ex. Main/Subwiki actions should be
> grouped)
> 2. Entities grouping (Wiki related actions should be grouped: create,
> administer, delete, etc.)
> 3. Index grouping (group all index applications together)
> 4. Navigation grouping (to Main wiki or other wikis)
> 5. Actions grouping
> 6. other?
>
> So the main question is what grouping would we want to prioritize first:
> 1-5?
>
> --
>
> Some things to consider:
> A. Naming consistency:
> A1. Across wiki: we need to consider the terms usage. For example Home vs.
> Homepage; Wiki vs. Subwiki; Settings vs. Administration; Wiki Index vs.
> Browse all wikis vs. Show all wikis
> -- We need to align these usages and pick the one most relevant for the
> end user and correct as terminology
> A2. Across the menu: this implies having all entries plural/singular or
> having the same additional text (ex. do we mark Indexes the same way?
> Administer wiki / Delete this wiki / Create a new wiki, etc.)
>
> B. Explicit (vs. Cryptic)
> -- how explicit should we make the labels vs. icons usage
>
> C. Quick access to local actions
> -- in subwikis we should optimize for local actions and try to display
> them first, since some teams might have dedicated wikis and the main wiki
> could be used just as a portal or as a farm
>
> D. Order most used actions first
> -- for example 'Delete wiki' is not a very used action
>
> E. Navigation vs. Actions grouping
> E1. Actions removal
> -- for example we could even remove 'Delete wiki' action and consider that
> the wiki management actions can be accessed just from Wiki Index
> -- this would mean that 'Administrate wiki' would be removed too, and we
> use that action a lot in the initial configuration phases, so that would
> increase the time to reach Administration
> E2. Adding more wiki navigation
> -- For example http://jira.xwiki.org/browse/XWIKI-12538 talks about
> having a way to add quick access to other subwikis (ideally as favorites,
> since listing all wikis does not scale)
>
> --
>
> Proposals grouping feedback:
> Current. -1 (Local/Global), -2 (Wiki grouping), +3 (Indexes), partial 4
> (Navigation), -5 (Actions) || +A2 (Naming consistency), -C (Quick access)
> P1. -1 (Local/Global), partial 2 (Wiki grouping), +3 (indexes), partial 4
> (Navigation), partial 5 (Actions)  || +A2 (Naming consistency), -C (Quick
> access)
> P2. partial 1 (Local/Global), -2 (Wiki grouping), partial 3 (Indexes), -4
> (Navigation), -5 (Actions) || +A2 (Naming consistency), +C (Quick access)
> P3. partial 1 (Local/Global), -2 (Wiki grouping), +3 (Indexes), -4
> (Navigation), -5 (Actions) || +A2 (Naming consistency), +C (Quick access)
> P4. -1 (Local/Global), partial 2 (Wiki grouping), +3 (Indexes), -4
> (Navigation), +5 (Actions) || +A2 (Naming consistency), partial C (Quick
> access)
>
> --
>
> The problem is that when you approach an usability problem using these
> kind of grouping / grading it's very easy to fall in the 'technicalities'
> trap and not think about the user perspective.
>
> So although I understand why I proposed P1-4, for users it will not make
> sense. That's why I like P5, because the grouping comes natural and is more
> explicit, although is not using the consistent terminology.
>
> P5: +1 (Local/Global), -2 (Wiki grouping), -3 (Indexes), partial 4
> (Navigation), -5 (Actions) || -A2 (Naming consistency), -A1 (Across wiki),
> +B (Explicit), +C (Quick access to local), ? D (Most used actions)
>
> Things to fix for P5:
> - Think where to fit the "Languages"
> - A1 + A2: we need to think about the naming of Indexes (especially Wiki
> Index in this case) and fix them in drawer and across; replace Settings
> with Administration; fix the "Go to ..."; consistent actions naming.
>
> Additionally we should fix A1 (see http://jira.xwiki.org/browse/XWIKI-9363
> )
>
> 

Re: [xwiki-users] Re-organize the Drawer's entries

2016-10-26 Thread Ecaterina Moraru (Valica)
Hi Guillaume,

Thanks for starting this thread.

--
Current Drawer analysis:

Languages( L / G )
---
Home ( G )  [N]
---
Administer wiki   ( L )   [A] [W]
---
Wiki Index   ( G )  [I]  [W]
Page Index ( L )   [I]
User Index  ( L / G ) [I]
Applications Index  ( L)[I]
---
Create wiki  ( G )  [A] [W]
---
Delete wiki   ( L )  [A] [W]


L = Local/Wiki setting/action/effect
G = Global/Farm setting/action/effect

N = Navigation
A = Action
W = Wiki entity

--

Some examples of grouping:
1. Local / Global effect grouping (ex. Main/Subwiki actions should be
grouped)
2. Entities grouping (Wiki related actions should be grouped: create,
administer, delete, etc.)
3. Index grouping (group all index applications together)
4. Navigation grouping (to Main wiki or other wikis)
5. Actions grouping
6. other?

So the main question is what grouping would we want to prioritize first:
1-5?

--

Some things to consider:
A. Naming consistency:
A1. Across wiki: we need to consider the terms usage. For example Home vs.
Homepage; Wiki vs. Subwiki; Settings vs. Administration; Wiki Index vs.
Browse all wikis vs. Show all wikis
-- We need to align these usages and pick the one most relevant for the end
user and correct as terminology
A2. Across the menu: this implies having all entries plural/singular or
having the same additional text (ex. do we mark Indexes the same way?
Administer wiki / Delete this wiki / Create a new wiki, etc.)

B. Explicit (vs. Cryptic)
-- how explicit should we make the labels vs. icons usage

C. Quick access to local actions
-- in subwikis we should optimize for local actions and try to display them
first, since some teams might have dedicated wikis and the main wiki could
be used just as a portal or as a farm

D. Order most used actions first
-- for example 'Delete wiki' is not a very used action

E. Navigation vs. Actions grouping
E1. Actions removal
-- for example we could even remove 'Delete wiki' action and consider that
the wiki management actions can be accessed just from Wiki Index
-- this would mean that 'Administrate wiki' would be removed too, and we
use that action a lot in the initial configuration phases, so that would
increase the time to reach Administration
E2. Adding more wiki navigation
-- For example http://jira.xwiki.org/browse/XWIKI-12538 talks about having
a way to add quick access to other subwikis (ideally as favorites, since
listing all wikis does not scale)

--

Proposals grouping feedback:
Current. -1 (Local/Global), -2 (Wiki grouping), +3 (Indexes), partial 4
(Navigation), -5 (Actions) || +A2 (Naming consistency), -C (Quick access)
P1. -1 (Local/Global), partial 2 (Wiki grouping), +3 (indexes), partial 4
(Navigation), partial 5 (Actions)  || +A2 (Naming consistency), -C (Quick
access)
P2. partial 1 (Local/Global), -2 (Wiki grouping), partial 3 (Indexes), -4
(Navigation), -5 (Actions) || +A2 (Naming consistency), +C (Quick access)
P3. partial 1 (Local/Global), -2 (Wiki grouping), +3 (Indexes), -4
(Navigation), -5 (Actions) || +A2 (Naming consistency), +C (Quick access)
P4. -1 (Local/Global), partial 2 (Wiki grouping), +3 (Indexes), -4
(Navigation), +5 (Actions) || +A2 (Naming consistency), partial C (Quick
access)

--

The problem is that when you approach an usability problem using these kind
of grouping / grading it's very easy to fall in the 'technicalities' trap
and not think about the user perspective.

So although I understand why I proposed P1-4, for users it will not make
sense. That's why I like P5, because the grouping comes natural and is more
explicit, although is not using the consistent terminology.

P5: +1 (Local/Global), -2 (Wiki grouping), -3 (Indexes), partial 4
(Navigation), -5 (Actions) || -A2 (Naming consistency), -A1 (Across wiki),
+B (Explicit), +C (Quick access to local), ? D (Most used actions)

Things to fix for P5:
- Think where to fit the "Languages"
- A1 + A2: we need to think about the naming of Indexes (especially Wiki
Index in this case) and fix them in drawer and across; replace Settings
with Administration; fix the "Go to ..."; consistent actions naming.

Additionally we should fix A1 (see http://jira.xwiki.org/browse/XWIKI-9363)

--

Before starting this thread I tried to rethink about a new solution and I
came up with
P6: -1 (Local/Global), +2 (Wiki grouping), +3 (Indexes), +4 (Navigation),
+5 (Actions) || +A2 (Naming consistency), -A1 (Across wiki), -B
(Cryptic/Iconography), -C (Quick access), ? D (Most used actions), +E2
(More navigation)

i) Having Indexes 

[xwiki-users] Change Numbering in TOC Macro

2016-10-26 Thread Hofstätter Mario
There is an example on how to change TOC numbering: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro#HExample3:Differentnumberingofsublists
However, it does not work, and even the screenshot on that page does not 
display the expected result, namely "Level 2" with prefix "1.1"
Can you provide a working example and update the TOC macro documentation? Our 
desired result is like this: http://i.imgur.com/J1V7Z5n.png (as it was the 
default in mediawiki)

Thank you,
Mario
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Strange and too long sql query to statistic table

2016-10-26 Thread aleksey-s
Hi,

XWiki version 7.1.2. We use Tomcat and MySQL. In query statistic we see many
long queries such as below:

# *Query_time: 49.708503 * Lock_time: 0.89 Rows_sent: 0  Rows_examined:
4979
SET timestamp=1477308512;
select visitstats0_.XWV_ID as XWV1_22_, visitstats0_.XWV_NUMBER as XWV2_22_,
visitstats0_.XWV_NAME as XWV3_22_, visitstats0_.XWV_CLASSNAME as XWV4_22_,
visitstats0_.XWV_IP as XWV5_22_, visitstats0_.XWV_USER_AGENT as XWV6_22_,
visitstats0_.XWV_COOKIE as XWV7_22_, visitstats0_.XWV_UNIQUE_ID as XWV8_22_,
visitstats0_.XWV_PAGE_VIEWS as XWV9_22_, visitstats0_.XWV_PAGE_SAVES as
XWV10_22_, visitstats0_.XWV_DOWNLOADS as XWV11_22_,
visitstats0_.XWV_START_DAT
E as XWV12_22_, visitstats0_.XWV_END_DATE as XWV13_22_ from xwikistatsvisit
visitstats0_ where visitstats0_.XWV_UNIQUE_ID='10.10.10.10Mozilla/4.0 (com
patible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR
2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)' and
visi
tstats0_.XWV_END_DATE>'2016-10-24 13:57:42' order by
visitstats0_.XWV_END_DATE desc;

If I understand correctly these queries check if the user entered the last
30 minutes. But why ? And why so long query time ? I try to reproduce in
mysql console (do select for my unique id for last 30 minutes) and query so
fast (~0,1s)



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Strange-and-too-long-sql-query-to-statistic-table-tp7601717.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


Re: [xwiki-users] Re-organize the Drawer's entries

2016-10-26 Thread Miroslav Galajda
Hi, I vote for P5 proposal.

Mirec

On 26 October 2016 at 10:28, Guillaume Delhumeau <
guillaume.delhum...@xwiki.com> wrote:

> No opinion?
>
> 2016-10-24 18:09 GMT+02:00 Guillaume Delhumeau <
> guillaume.delhum...@xwiki.com>:
>
> > Hello dear developers and XWiki users.
> >
> > I would you to take a look at the issue http://jira.xwiki.org/browse/
> > XWIKI-13070.
> >
> > The problem is that the current order (that I have implemented based on
> my
> > intuition) seems to not be clear for our users. The main point is that
> the
> > menu mixes up global items (Home wiki, Wiki Index) and local ones
> > (Administer Wiki, Page Index, Delete wiki, etc...).
> >
> > Caty and Oliver have made some proposals that you could find in the
> issue.
> >
> > They are called P1, P2, P3, P4 and P5.
> >
> > I propose you to express your preferences so we can implement it based on
> > a consensus.
> >
> > Here are mine:
> >
> > P1: There is a logical order and separation between item. However, it
> > seems the more used actions (Wiki Index, Page Index) are less visible
> than
> > some other (Delete Wiki, Create Wiki...)
> >
> > P2: The order and the separation are logic. The "delete wiki" action is
> > still very visible but all other items are good.
> >
> > P3: Same than P2. Except that having "Wiki Index" along with "User, Page
> > and Application Index" mixes up local and global items.
> >
> > P4: Why not, but maybe the 3 first actions should be placed after the
> > other ones, since they would be less used. Same remark about the mixing
> of
> > local and global items.
> >
> > P5: A clear distinction between local and global scope. More used items
> > are located first. This is my favorite one.
> >
> >
> > So +1 for P5, +0 for the other options so far.
> >
> > Now, what about you?
> >
> > Thanks,
> > Guillaume
> >
> > PS: I send this message to both devs and users mailing lists, because I
> > think users are directly concerned by this topic.
> >
> > --
> > Guillaume Delhumeau (guillaume.delhum...@xwiki.com)
> > Research & Development Engineer at XWiki SAS
> > Committer on the XWiki.org project
> >
>
>
>
> --
> Guillaume Delhumeau (guillaume.delhum...@xwiki.com)
> Research & Development Engineer at XWiki SAS
> Committer on the XWiki.org project
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Re-organize the Drawer's entries

2016-10-26 Thread Guillaume Delhumeau
No opinion?

2016-10-24 18:09 GMT+02:00 Guillaume Delhumeau <
guillaume.delhum...@xwiki.com>:

> Hello dear developers and XWiki users.
>
> I would you to take a look at the issue http://jira.xwiki.org/browse/
> XWIKI-13070.
>
> The problem is that the current order (that I have implemented based on my
> intuition) seems to not be clear for our users. The main point is that the
> menu mixes up global items (Home wiki, Wiki Index) and local ones
> (Administer Wiki, Page Index, Delete wiki, etc...).
>
> Caty and Oliver have made some proposals that you could find in the issue.
>
> They are called P1, P2, P3, P4 and P5.
>
> I propose you to express your preferences so we can implement it based on
> a consensus.
>
> Here are mine:
>
> P1: There is a logical order and separation between item. However, it
> seems the more used actions (Wiki Index, Page Index) are less visible than
> some other (Delete Wiki, Create Wiki...)
>
> P2: The order and the separation are logic. The "delete wiki" action is
> still very visible but all other items are good.
>
> P3: Same than P2. Except that having "Wiki Index" along with "User, Page
> and Application Index" mixes up local and global items.
>
> P4: Why not, but maybe the 3 first actions should be placed after the
> other ones, since they would be less used. Same remark about the mixing of
> local and global items.
>
> P5: A clear distinction between local and global scope. More used items
> are located first. This is my favorite one.
>
>
> So +1 for P5, +0 for the other options so far.
>
> Now, what about you?
>
> Thanks,
> Guillaume
>
> PS: I send this message to both devs and users mailing lists, because I
> think users are directly concerned by this topic.
>
> --
> Guillaume Delhumeau (guillaume.delhum...@xwiki.com)
> Research & Development Engineer at XWiki SAS
> Committer on the XWiki.org project
>



-- 
Guillaume Delhumeau (guillaume.delhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users