Your comments

Couple of questions for those in the know:

1.  Are there any plans on changing the current lexicographical sorting method or, perhaps, adding the feature of numeric sorting in Ubooquity?  I ask because I have over 50,000 comics/books/magazines that are sorted numerically.  And while it's no big deal to use a batch script to rename them so they'll sort correctly with a lexicographical sort, I'd rather hold off if there's something in the works.

2.  I saw someone else reported that {{parentUrl}} will not go back to the home page when "bypass root folder" is on.  For anyone intersted, here is a small javascript fix to add to your inc-library-topbar.html:

document.addEventListener('DOMContentLoaded', function() { const currentUrl = window.location.href;
if (!(currentUrl.includes('latest=true') && currentUrl.includes('random=true') && currentUrl.includes('search=simple'))) { const parentUrl = document.querySelector('#arrowup').getAttribute('href'); const rootPath = '{{rootPath}}'; const category = '{{category}}'; const targetUrl = `${rootPath}/${category}/`;
if (parentUrl === targetUrl) { document.querySelector('#arrowup').setAttribute('href', rootPath); } } });

3. Has anyone else noticed that {{parentUrl}} becomes {{rootPath}} when closing the reader app after reading a book/comic/magazine displayed during a search?  Likewise, when you enter a folder that's displayed during a search, {{parentUrl}} becomes the parent of that particular folder instead of going back to the search results page. Fortunately, I have been able to fix most of this with javascript but I was wondering if it's going to stay that way or if there are plans to address this in the future?

4.  My final question is probably more directed at Tom and it's regarding the "items to display" setting.  There are times when I would really like to change the number of cellcontainers displayed in a page.  If I set "items to display" at a higher value, I am able to truncate the results.  However, it seems I can't prefetch or get information from the {{nextPageUrl}} without loading it.  Am I missing something or is what I'm trying to do a futile attempt?

Thanks,

G

Hi Tom!

I've been playing around with writing a theme for Ubooquity v3 and I've noticed a few things that I thought I should bring to your attention:

1.  If your numbering system follows 1 thru 10 and 10 thru 100 then the sorting system lists 1, 10 thru 19, and then starts at 100.  Of course, someone could rename of their collections 001 thru 100 and the problem goes away.  But it is a bug that been around since version 2.

2. I would really like to be able to access {{#userName}} mustache tag while using the files in the /library folder because, as it is, you can't logout anywhere except the page-home.htm (especially the page-library and page-library-category-root-dir.html files).

3. Would it be too much to ask for a "items per page" for each used category so we have the option to load more or less depending on those categories?  Similarly, can we have a way to turn off the items per page when displaying the page-library-category-root-dir.html?  Maybe a mustache tag override? :)

4. I'm assuming this is a scripting error that I'll find and fix eventually, but the arrow up that goes to the {{parentUrl}} in the toppagebar <div> in the default theme does not go back any farther that the page-library-category-root-dirs,html page.  In other words, there is no way to get back to the page-home.html page once you've entered the page-library-category-root-dirs.html page. The easy workaround was to add and <a href="{{rootPath}}"> tag around the Ubooquity banner.

Also, I would like to thank you so much for continuing Ubooquity.  I am pretty happy with v2 using my heavily edited comixology 2 theme.  I like the sliders on the homepage and the added ability to listen to my audio books. I even used some javascript to remember which header image I was displaying in the parent folders so I didn't have to have one in every sub-folder (I thought that was pretty slick). ;)

Anyway, I plan on doing something a bit more original with v3.  I've already integrated a dual color scheme that seems to be fully functional on every page (which was a challenge because lots of things disappeared until I realized you were using svgs all over the place that I had to use filter on to get to display).  After I finish integrating the color schemes into the popups I'm going to really focus on a snazzy looking homepage and some audiobook functionality.  If it turns out decent I'll submit it for your approval and share. 

Peace out \/

G