To Whom It May Concern,
I need to make a side panel with "quick links" (links to favourite pages),
where user will be able to add or remove them (ideally by a button placed on
every page). But I don't know how to ideally do this.
My idea was, that I will create a new section with a new property in the
user template, which will contain the list of links (probably string in CSV
format) and later I'll just modify this property by some macro.
But, my main problem is, that I don't know if ( and if, then how :-) ) it is
possible to read and change current user's properties from outside.
Could you, please, help me with this one? I'd love to know some standard, or
elegant solution :-)
Thank you very much.
Yours faithfully, Martin Beseda
Hei devs,
By default, the ratings app uses JS to inject an HTML element right after
the #hierarchy element. This is a bit awkward since that element could be
(re)moved and the ratings element would not be present or follow the
position of the hierarchy (breadcrumb).
As a solution I propose implementing an extension point, namely
org.xwiki.platform.template.title.before which would go right before the
document title.
Due to the fact that in flamingo the "more actions" and "edit" buttons are
now in the same place that the ratings are displayed brings us to a point
where we will have to integrate the ratings in this interface as well.
As a future improvement we could add more extension points and choose where
to display the ratings depending on the skin.
For example: before title for colibri and after the content menu (where the
"edit" and "more actions" buttons are) for flamingo.
This extension point would replace the JS inject thus making the code
cleaner.
Thanks,
Victor
Hi everyone,
= Short Story =
I propose to change the behaviour of the top level menu from Flamingo
for tablet and desktop screens (so NOT for phones) to match the
behaviour we had in 6.2 BUT improving the separation between the
navigation links and the drop down toggle. The idea is that the top
level menu entries should behave like a drop down button (e.g. the Add
button) but without looking like one. You can see some screen shots at
http://jira.xwiki.org/browse/XWIKI-11517.
= Long Story =
I've heard complains that the current behaviour of the top level menu
from Flamingo skin is not perfect. The issue is that you need to click
twice to navigate. Ok, with a mouse you can use the middle click
(wheel) to open the link in a new tab but still it's annoying for
simple uses and for those that use the touch pad or a tablet.
An alternative I have investigated in
http://jira.xwiki.org/browse/XWIKI-11479 is to open the menu on hover
(on devices that support this of course). The result is quite nice and
effective but there is a problem: if you have a second horizontal menu
displayed under the top level menu then you'll have a hard time
hovering the second menu. So I decided to close XWIKI-11479 as Won't
Fix. For those that like the open-on-hover behaviour and which don't
plan to use a second menu I've published this extension
http://extensions.xwiki.org/xwiki/bin/view/Extension/Hover+and+Default+Acti…
.
The other alternative to fix the problem is to go back to the
behaviour from 6.2. Precisely, each menu has two sides:
* on the left is the label which is a link used for navigation
* on the right there is a toggle (arrow) used to open the menu.
The problem with this, and the reason we change it in 6.3, was that
the label and the toggle were not separated very well so the user
could easily think they were doing the same action (opening the menu).
At the same time this separation felt unnatural on extra small screens
(phones) because you couldn't tap easily on the toggle (arrow).
The solution I propose is to:
* Keep the current behaviour for extra small screens (phones). That
means the use has to tap twice to navigate: one tap to open the menu
and another one on the "Go to this XYZ".
* On desktop and tablet enable the default action (navigation link) as
in 6.2 but improve the separation so that the menu behaves as much as
possible as a drop down button (e.g. the Add button) without looking
like one. This means:
** You should understand there are two sides without hovering
** Separate hover and active state (e.g. the link is not hovered when
the toggle is hovered)
I've investigated *many* ways to achieve this and the result can be
seen on http://jira.xwiki.org/browse/XWIKI-11517. This is close to
http://extensions.xwiki.org/xwiki/bin/view/Extension/Enable+Default+Action+…
but not the same.
NOTE: The way the menu behaves and looks on hover and click (text and
background color) is strictly determined by the color theme. Some
themes highlight the hovered menu items by changing their background
color, others the text color and some do both. My changes are
independent on this. We can of course improve the default color theme
to better highlight the menu items. This is a different topic though.
I'd like to commit this changes in 6.4. Here's my +1.
Thanks,
Marius
The XWiki development team is proud to announce the availability of
XWik 6.4 Milestone 1.
6.4 branch is mainly dedicated to improvement and bugfixes on things
introduced during 6.x and in general. This version also introduce some
developer oriented improvements: allow wiki based skins to overwrite
macro.vm template, allow filesystem skins indicating explicitly the
skin they are inheriting from, allow any component to be injected with
its ComponentDescriptor, Panels and UI extensions are now executed
with the right of their author so among other things they can use APIs
requiring Programming rights.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki64M1
Thanks
-The XWiki dev team
Hi devs,
I plan to introduce a skin.properties file at the root of each
filesystem skin which will contain among other things the parent of
this skin.
The name of the property I propose "parent", when parent is set to
empyt string it means not parent (i.e. it ends up directly in the WAR
/templates or /resources folders). Yes I know we usually talk about
"base skin" right now but I tough "parent" is more explicit when
talking about inheritance (and the internal skin manager I'm working
on is also using "parent" naming).
Any tough ?
If I don't get any reaction I will take that as a general +0 and
commit it in master ;)
--
Thomas Mortagne
Hi committers,
So far we’re allowing only committers (and some special contributors) the permission to assign themselves and others (there’s no permission to only allow someone to assign himself in JIRA!). We did this because we didn’t want people assigning issues to others.
However this is causing several problems:
* It would be nice that contributors working on a project in the xwiki github orgzanition be able to assign themselves to issues for which they wish to send PRs
* For Contrib projects, since we allow anyone to become a committer there, it’s even more important that contrib developers be able to assign themselves to issues
We could of course do this in an ad-hoc manner and wait for people to ask a committer on IRC or on the mailing list to be given the permission. However this is painful for everyone.
Thus I propose to reopen again the “Assign issues” permission in JIRA for the “XWiki Open” permission scheme.
WDYT?
Thanks
-Vincent
Hello devs,
Can someone please create a Jira project for the XWiki Chat Application ?
If you follow the installation instructions from the extension page (
http://extensions.xwiki.org/xwiki/bin/view/Extension/XMPP+Chat+Application#…)
XWiki doesn't work at all.
I need to report this bug and someone needs to fix it.
Thanks,
Manuel