With a stable framework in place, this release brings a slew of interesting add-ons from the community, as well as updates to existing ones. We are seeing an uptick in contributions from kbin members adding their own features and suggestions. Thank you!
@1chemistdown and @Twelph did some thorough testing on mobile devices, allowing us to diagnose and solve issues with iOS and the KES menu being inaccessible on phones with narrower screens. Now the KES wrench icon resides in the hamburger menu if on a mobile device with a viewport < 576 pixels.
First, a short summary of user-facing fixes, followed by a large list of exciting new add-ons.
Fixes
- Hamburger menu disappears when using toggle logo add-on on mobile
- Alignment of wrench icon in hamburger menu
- Notifier and settings icons: better visibility across all kbin themes
KES is now more compliant with kbin’s internal theming and the various icons and notifiers should resolve correctly regardless what theme you are using.
Notable new additions
-
Resize fonts globally (@minnieo)
We have added a new Accessibility page to the sidebar that will gradually be expanded with more content. The first addition is this add-on, which allows you to independently customize the font size in 0.1 pt increments of virtually every element onscreen, be it threads, comments, or the navbar. As you increment this number, the KES window will become transparent so you can see the changes. -
Hide threads permanently (@shazbot)
What if you could hide threads forever? This feature adds a “hide” button to the toolbar below posts. Clicking this will banish the thread and store its ID. If you wish to reset this history, you can toggle the feature off. This add-on works best with infinite scroll enabled, so you can hide as many posts as you like, and the thread index will continuously update with more content. -
Mobile cleanup (@Twelph)
This is the first in a series of proposed features geared at letting mobile users remove, resize, or change elements that may otherwise clutter the view on small devices, and make them more tappable. -
Move/hide federation warning (@PrinzKasper)
Coming from a new contributor, this add-on lets you move the large federation warning when browsing instances off-site. Choose to remove it altogether or tuck it into the sidebar. -
Always expand post bodies (@shazbot)
With this add-on enabled, long posts will start expanded, rather than being collapsed. When toggled off, it will roll-up previously expanded posts. -
Rearrange thread element order (@shazbot)
A lot of people like the post comment text area to be directly beneath the OP. This add-on lets you freely rearrange the order elements appear inside a thread based on a numerical index. Assign a number from 1 to 5, with increasing numbers indicating lower position on the page. You can move the text area and activity to the top, move the comments to the bottom, or reverse the entire order if you like. Try the suggested layout on the add-on’s settings page. -
Alpha sort subs list (@shazbot)
A simple fix that makes the subscriptions page easier to read by converting the magazines into an alpha-sorted list. -
Clarify recipient on compose (@shazbot)
It can be unclear to whom you are sending a message when composing a PM. This simply modifies the header above the compose area to read: “Sending message to <NAME>”.
Updated add-ons
-
Notifications panel: smoother load and pagination (@blobcat, @shazbot)
This is a collab between @blobcat and @shazbot to spruce up the existing panel, with the former handling the design and the latter handling the backend. Now the notifications panel fetches notifications in the background and loads in smoothly, with proper pagination and read/clear functionality. Though subtle, this necessitated a significant rewrite of the old panel. -
Hide sidebar: show/hide specific elements of the sidebar, such as random posts/threads (@shazbot)
Based on the idea suggested in this thread. Instead of just hiding the sidebar on or off, the feature now lets you granularly hide specific parts of the sidebar. -
Hide thumbnails: granular toggles for thread index/inline thumbnails (@shazbot)
You may want to hide thumbnails on the thread index but still see them in threads. Now you can do that. -
Collapsible comments: several fixes for nested replies, reply threads 10+ comments deep, infinite scrolling (@artillect)
This is a very complex add-on that needs to be aware of infinite scrolling, replying, long nested comment chains, et cetera. All of that functionality should be working as intended now.
API
- Pass mutation events through to mods for parsing
For add-ons that need to recur in the event of infinite scrolling or other changes, KES now passes through information about the caught mutation event so that the destination script can parse it and act accordingly. This further obviates the need to set up special observers and ensures that your script does not simply recur on mutation events, but can filter them accordingly.
Final remarks
Thank you for your interest, bug reports, and suggestions. We continue to receive useful feedback and contributions from the community. If you wish to include your own script or need help doing so, please do not hesitate to reach out.
2.2.0 was released today, so you should be installing via here
This is good feedback, wasn’t aware of the auto images feature. Will investigate how it works and issue a fix.
My bad. I’m on that version! I tried to deactivate and reactivate the hide feature. It reset everything but I noticed that, even for posts that I toggle shut the image and then hide the post, if I then refresh the page, the images reappear “without” the post. I used quote because for a split second, the post also appears
Hope this helps!
Also: kudos for responding to everyone so quickly!
Alright, this should be fixed with version 2.2.2 if you update again.
Yup! There’s a barely there moment on refresh for the script to suppress the already hidden posts but the images stay hidden even when switching to another page and back
Cheers for fixing this so quickly. Love having this feature
It’s a known limitation, won’t get into the technical reasons therefor, but will continue trying to narrow this gap to remove the blink.
It certainly doesn’t bother me. tbh my brain sort of anthropomorphizes it. Like, oh no! The script is working too hard
Yes, I just tested it and the issue was quite clear. I have the fix complete and ready to go here, just want to test it a bit to make sure there are no unforeseen effects.