From: Joe W. <jo...@gm...> - 2013-11-10 05:32:00
|
Hi all, I've just made some small improvements to the Indexes app - primarily to improve the loading speed of the landing page. (Thanks to Dannes' comment for prompting this.) As small as this change is, this is the first real divergence from the "old" admin web page version of the app, and paves the way for some future fixes and improvements. https://github.com/joewiz/indexes Joe On Fri, Sep 20, 2013 at 3:13 PM, Dannes Wessels <da...@ex...> wrote: > Hi Joe, > > thnx for creating the XAR file; I think having this as a separate XAR file > makes development much easier. > > I have two suggestions however: > > - to have some better overview we could consider the collapse-functionality > of bootstrap; not sure if this javascript is available yet). Link: > http://getbootstrap.com/2.3.2/javascript.html#collapse > > - i have a database with quite some indices; Loading of > /exist/apps/indexes/index.html alone took half a minute or so; second time a > bit less; What about loading the content of the page in two steps; first > load/render the html file, and when done load the tables via a javascript, > and have a 'please wait' message when loading? > > regards > > Dannes > > eXist-db Native XML Database > http://www.exist-db.org > > > > On 20 Sep 2013, at 18:55 , Joe Wicentowski <jo...@gm...> wrote: > > Hi all, > > As discussed earlier, I've created a .xar-based app that provides the > same functionality as the Browse Indexes panel in the old admin > webapp. It's available from: > > https://github.com/joewiz/indexes > > To create this app, I used the eXist-db app template in eXide 2.0.2, > copied the old indexes.xqm module from the admin webapp into the > modules collection, and made minimal modifications in order to make > the app work and incorporate basic bootstrap CSS styles for the tables > and forms. It took about an hour. > > I haven't yet updated the app to work with Wolfgang's new Lucene 4 > range indexes, but I think that's probably the next major addition > that's needed. > > Comments & pull requests welcome. I'm not sure if the core devs want > to use this same approach for the other panels from the old admin > webapp, or if you have other ideas in mind? Please let me know how > you think this could be most useful. > > Cheers, > Joe |