On Thu, Mar 13, 2014 at 7:16 AM, Ecaterina Moraru (Valica) < [email protected]> wrote:
On Wed, Mar 12, 2014 at 4:15 PM, Guillaume "Louis-Marie" Delhumeau < [email protected]> wrote:
Actually, we also need to find a way to determine which is the "active" application, in order to display it differently.
Alternative solution (suggested by Eduard): - Use the target from the UIX, example 'target=AppWithinMinutes.WebHome' and in Panels.Applications test if the current page is found in the target's space in order to add to the entry list an '.active' CSS class. The problem of course are for Application-Pages, like 'Users Index' or for applications that have the *Code spaces, so ... for these cases yes we need an AppDescriptor. Thanks, Caty
For this problem IMO the best solution would be use the space name. For every space, we add in the body element a space class, like ' space-Main', etc. We could have something like 'space-{$appSpaces}', example: .space-MoccaCalendar .appBar .calendarIcon { // extend active styling }
Thanks, Caty
2014-03-12 14:49 GMT+01:00 Guillaume "Louis-Marie" Delhumeau < [email protected]>:
Hi guys,
I have pushed a first version of flamingo in platform/XE, but it is only a prototype that need a LOT more do be ready for production.
One of the new things brought by flamingo is the "Applications" left bar, which is not exactly the same thing as the Applications Panel we already have.
We can see it more as a "dock" with a list of applications, and in the future, we could make it customizable by the user. Caty has written a proposal for this [1].
Right now, for the first implementation, I need to make some choices about the way we "populate" this bar. We can create new classes to describe the bar entries, or new UI Extensions (maybe not the good choice regarding the recent e-mails...), or by re-using the existing AddApplicationUIX... It is described on
http://design.xwiki.org/xwiki/bin/view/Proposal/AppBar#HImplementationConsid... .
Other thing: In my draft, I have created a new VM file on the filesystem for this concept. Maybe I should create it as an extension point stored
in
the database, but it means it won't appear on an empty wiki. WDYT?
I let you make some comments about this.
Thanks,
Caty & Louis-Marie
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs