On Wed, Oct 5, 2016 at 12:37 PM, Vincent Massol <vincent(a)massol.net> wrote:
Hi devs,
With the recent introduction of the Applications Index (see
http://extensions.xwiki.org/xwiki/bin/view/Extension/
Application+Index+Application/) we need to agree on a few things.
In the past we had:
* We wanted all new app that you installed to automatically be visible in
the Applications Panel
* This is why the Applications Panel config had a blacklist (and not a
white list)
There are some nice side effects of the current behavior that I would not
want to lose:
A. after you install an app with the EM, it immediately appears (if it has
the UIX defined) in the AppBar and is ready for usage. The admin does not
need to do the second step manually. We save him a click (in practice is
more than a click).
B. after you create a new app with AWM, you automatically have it in the
AppBar. In theory that app should be useful for the user, since he manually
create it to his own liking. We are saving him a click+.
The only problem is when the wiki is getting out of control, too many apps,
no favorite order, just alphabetical. For this there is this issue
http://jira.xwiki.org/browse/XWIKI-13075
What we’ve done:
* We add the Applications Index
* We removed some apps from the Applications Panel. Namely: Invitation,
Panels, Scheduler, User Directory and Tour
applications. this was done
using hardcoded blacklist xobjects in PanelsCode.
ApplicationsPanelConfiguration.
The need:
* We need to remove this hack. It’s not normal for the Panels module to
know all the apps that shouldn’t be listed in it!
So the main problem is that currently the AppBar is defined in Panels
module, instead of the Application module. This is known and we also have
an issue for the move, see
http://jira.xwiki.org/browse/XWIKI-13502 , we
just didn't had the time to do it.
Proposal:
* Replace the blacklist configuration of the Applications Panel by a
whitelist one
* When a new app is installed, list it in the Applications Index but don’t
add it to the Applications Panel
* If an admin wants to add this new for his users, he’ll need to add it in
the Admin UI for the Applications Panel.
WDYT?
I'm not sure I like this very much :)
IMO the main problem is that we are using the "Add Application" UIX
http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/AddApplicationUIX
to define applications.
For me, ideally, we would have a separate mechanism to define an app (not
this UIX). Application Index would display all the XARs that contain an app
descritor, while the AppBar would list the apps that have the UIX.
The problem with the AppBar and the blacklisting appeared when we added the
UIX to applications that were not "user-oriented", not useful in the daily
flow, not needed for fast navigation prioritization, but that contained the
UIX since we added this step to our recommended development app practices.
Ideally the UIX should be added to applications intended for normal users
that need a fast access point in the AppBar.
Having it as a white list, will reduce the user-centered applications
discoverability and rapid access.
WDYT?
Thanks,
Caty
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs