Then +1 for me :)
2014-09-25 13:36 GMT+02:00 Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com>gt;:
On Thu, Sep 25, 2014 at 1:47 PM, Guillaume
"Louis-Marie" Delhumeau
<gdelhumeau(a)xwiki.com> wrote:
Hi Marius.
I would like to know if you have considered using
an AngularJS based
tree.
Yes. Event though the File Manager is based on AngularJS, for the
folder tree I've used jsTree.
Does it exists? Why would not it be a better idea
instead of using an
'old-fashion' jQuery tree?
See
http://ngmodules.org/modules?query=tree . There are a few, but
nothing mature and far from being as powerful as jsTree. I've checked
the top results and most have only a few commits so they are not
actively maintained. Moreover, their authors don't bother to answer
the user questions on
ngmodules.org
AngularJS integrates very well with jQuery so I don't see any problem
in using a (very powerful and mature) jQuery tree.
Thanks,
2014-09-25 12:24 GMT+02:00 vincent(a)massol.net <vincent(a)massol.net>et>:
> +1 too.
>
> I assume you’ve checked the license, the community and its activity and
> found them compatible?
>
> Thanks
> -Vincent
>
> On 25 Sep 2014 at 12:13:41, Marius Dumitru Florea (
> mariusdumitru.florea@xwiki.com(mailto:mariusdumitru.florea@xwiki.com))
> wrote:
>
> > Hi devs,
> >
> > There are a couple of places in XWiki were a tree widget is used or
> > needed: document index, WYSIWYG editor wiki page linking, XAR import,
> > navigation panel, database tree list, report step of Distribution
> > Wizard, extension upgrade when asking confirmation to clean unused
> > pages, etc. But we don't have a standard / recommended tree widget /
> > library. We use either SmartClient which is very heavy or a custom
> > tree based on Prototype.js.
> >
> > Since we want to ditch the heavy SmartClient tree and we decided to
> > move away from the dead Prototype.js to jQuery I propose to use jsTree
> > (
http://www.jstree.com/ ) as the standard / recommended library for
> > creating trees in XWiki.
> >
> > It is one of the best and most used tree widgets written using jQuery.
> > I have used jsTree on the File Manager (
> >
>
http://extensions.xwiki.org/xwiki/bin/view/Extension/File+Manager+Applicati…
> > ) and it was a positive experience.
Moreover, there are other
> > extensions based on, like the Dynamic Hierarchy Macro (
> >
>
http://extensions.xwiki.org/xwiki/bin/view/Extension/Dynamic+Hierarchy+Macro
).
My plan is:
* include jsTree in the default distribution (through a webjar
dependency); it won't be loaded by default, obviously; you'll have to
use Require.js to load it.
* start rewriting the current trees using jsTree
Here's my +1.
Thanks,
Marius
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the
XWiki.org project
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the