I mentioned the curriki tooltips issue because you noted performance issues
in waiting for certain actions in curriki's navigation. Ludovic gave the
example
http://www.curriki.org/xwiki/bin/view/Coll_curriki/RefineyourSearchforLearningResources?bc=;Coll_curriki.CurrikiHelp;Coll_curriki.HowtoSearchBrowseCurriki_0--
note the extensive use of tooltips on each item as you "hover" over
them
in the navigation. IMHO, this is the reason for the perfomance issues:

You noted:

> 1. The noticeable lag between clicking on a tree link and the next level
> opening. My internet connection isnt *that* slow and I'd guess even at
> intranet speeds it would still be noticeable. Taking a guess maybe the page
> needs to have the tree/toc preloaded/cached to avoid this lag or some other
> approach, but the pregnant pause waiting for the toc/tree part of the screen
> to redraw is somewhat disconcerting.
>

The point of my message was to point out  that some of the widgetry you were
looking at might perform differently in a different environment that doesn't
burden the browser with as much work. Because of the particular tooltips
approach used, JavaScript and the user's  browser can be a potential
performance bottleneck.

A generalized imlementation of the navigation Ludovic pointed out might want
to skip some of these performance bottlenecks, rather than replicating them.
Or solve the issue by coming up with an incremental approach for tooltips.
For example, using the "hover timeout" to fetch and compute the individual
toolktip HTML for the item one's mouse is over, as opposed to having to
precompute all the tooltips each time you expand a level in the navigation.

Regarding your navigation needs, have you considered using (or modifying)
Main.Dashboard or Main.SpaceIndex? The code snippet I put in the WebHome
page of most spaces created on my site comes from Main.SpaceIndex, (usage
example: /xwiki/bin/view/Main/SpaceIndex?space=Main ).

Additionally, the code in Main.Dashboard indicates it can be used on a
per-space basis:

## This dashboard can be used for both wikis (Main.WebHome)
## and spaces (*.WebHome).
##
#set($isSpaceDashboard = false)
#if($doc.space != "Main")
#set($isSpaceDashboard = true)
#end

However, it sounds lke you're looking for something closer to
Panels.Navigation, Panels.Spaces.
or Panels.SpaceDocs ...

Niels
http://nielsmayer.com



On Tue, Apr 14, 2009 at 2:36 AM, Manfred <[email protected]> wrote:

> Hi Niels,
>
> Thanks for the extensive exposition on tooltips and breadcrumbs. Will
> concede the technical aspects are a bit whoa for me, but I'm confident the
> Xwiki developers will know what you're on about ;-)
>
> Initial discussion topic was around ways to improve / provide a
> hierarchical page navigation tree, AFAIK no mention was made of tooltips -
> so that functionality may not even be on the agenda for Xwiki or I don't
> know at least. Its just that one of the developers mentioned an example page
> using Curriki to illustrate a point, so I gave some feedback round that.
>
> I then visited said page and the tree navigation structure of it I quite
> like, it was the other 'features' that irritated me, so I put in my 0.03 in
> case the xwiki developers were thinking of doing something similar, so that
> they at least have 1 user input of hopefully what not to do.
>
> I'm sure your input will be valuable to them as well,
>
> I did look at your xwiki site and I see how you've done it - the first page
> of the space you have created a TOC for the docs in it, it appears. Of
> course that works, but what I was asking for was an xwiki generated space
> aware, tree like hierarchical nested wiki page navigation structure to this
> which fits in the navigation, recently modified, etc area of the xwiki
> browser page rather than me needing to occupy the space page with a TOC or
> provide hyperlinks elsewhere, etc.
>
> Cheers
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to