-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release a version 2.5 #457
Comments
@mossroy That said, it looks like that the milestone if far from being over... But I support to release often, in particular if a few important features are newly available. |
I agree that this release is important enough to do it ahead of schedule (yay!). It makes a whole class of ZIMs usable (those with video). |
I also think we have enough improvements to make a release. It's probably necessary to update the README and the about section to reflect the new ZIM compatibilities of this version, before doing the 2.5 release. |
Second thought, I'm not sure we should update README and about section about new ZIM compatibilities, at least for now. To sum up, I would not claim about new ZIM files compatibility for now. |
Could we call it "Preliminary support for x" and add a brief explanation that users need to use the built-in search functionality? The way I've worked around lack of JS in Kiwix JS Windows is documented in Provide a UI for accessing content of inaccessible ZIMs. While it would be preferable to use the supplied UI, it's currently extremely challenging to do it generically, because I can't intercept JS calls to the "server" in the proprietary UIs in jQuery mode. There are some tricky patches that allow interception of XMLHttpRequest in non-SW contexts, but that's not enough, as it's not the only method the UIs use to fetch content. The Kiwix JS Windows workaround is generic -- it's just an extension of our current search functionality. I also add an instruction when active content is first detected. It looks like below except the standard Bootstrap colour would be light blue in Kiwix JS, not purple ;-) . User can dismiss it permanently. It would be possible to make certain bits of these UIs work non-generically, but we'd have to detect and patch the UI elements ourselves, and then keep them up to date as the ZIM UIs change. Life is short! ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
I suggest to add the "Preliminary support for x" lines in the changelog, at least. |
I currently test the raw html (in jQuery mode) for Would you like me to backport just the warning at this stage? We'd have to word the warning a bit differently, because without the Archive Index UI, the spacebar in Kiwix JS currently just shows the first 50 items, but there is no way to select the next 50 other than to guess the starting letter. That's why I added an alphabet selector and Previous | Next. |
PS You can test the current Kiwix JS Windows implementation of this feature in Firefox or another browser from the github.io test environment here (only in jQuery mode, I haven't incorporated all the latest updates to SW mode yet): https://kiwix.github.io/kiwix-js-windows/www/ (Switching ZIM files is currently a bit buggy in that interface, because UWP doesn't use that functionality and I broke something with monkey wrenching -- just search for a new page, any page, after you've loaded a different ZIM, and it should clear the remnants of the old ZIM.) |
The test on script blocks you describe suits different needs.
|
I don't see metadata that would allow us to tell, generically, that a ZIM has a proprietary UI that depends on technologies we can't support. If I understand you correctly, we would have to maintain a known list of ZIM types that are problematic, and we'd need to distinguish between earlier ZIMs that didn't use a React-based UI, and those later ones that now use such a UI, so I don't think it would be straightforward. This is why, in Kiwix JS Windows, I opted to have a small test that detects the type of code that can't be run in jQuery mode and then activates a Bootstrap alert. The test can be made more or less subtle as needed. |
You're right. Your approach is much better. If it's not complicated, I'd vote for a backport of the bootstrap alert, based on the detection of Regarding the wording, here is a proposal : |
@mossroy I'll have a go at backporting just the bootstrap alert. |
OK now that #466 is done, I think we can follow the usual procedure for a release :
|
I've created the tag, published on Firefox and Ubuntu Touch stores, and prepared the source for version 2.6 |
Reminder for @kelson42 : the Google Chrome store and https://download.kiwix.org/bin/browsers/ don't have version 2.5 yet. |
@mossroy Yes, really sorry for this extrem delay on my side. Will try to do it this evening. |
@mossroy I finally have done it :) |
Great, thanks! |
I think we have implemented a few significant improvements, at least :
It might be worth a new release?
The text was updated successfully, but these errors were encountered: