Improved Channel Select Menu 0.2.0 — Makes your subscribed magazines and liked channels more accessible angielski

One of my most wanted features as of late has been for the channel select menu to have my subscribed magazines and liked collections. Right now, it just contains some general feeds, but I thought it'd be super useful to also have your mags and collections there for easy access! However, given that Kbin development priorities are currently elsewhere, I'd try to implement something myself for the time being.

This userscript does exactly what the title says. All of the magazines you've subscribed to and the collections you've liked are now in the channel select menu that you can find in the top right. This should make getting to your favorite mags and collections a lot more convenient.

Download here

Given that this is my first time making a userscript and that I made this in a day, there are probably (definitely) a few bugs. If you find any, please let me know.

Prouvaire,

Thanks very much for this. I've been hoping that raltsm4k updates Floating Subs List to incorporate collections, but they haven't been active since mid-last year.

Given your code is partly based on this script, I wonder if you might consider modifyingraltsm4k's Floating Subs List script so that collections appear as part of the sidebar. As a fallback, maybe modify your script so that collections appear before magazines rather than after. This would make it easier to use both scripts, one to access magazines in the sidebar, and the other to more easily access liked collections.

ThatOneKirbyMain2568,
@ThatOneKirbyMain2568@kbin.social avatar

I'd definitely be up for that! I also got a lot of use out of raltsm4k's sub list, so I can see how some might prefer to have it in that format.

As for sorting collections and magazines in my script, I plan on making a setting so that you can toggle which comes first.

olorin99,
@olorin99@kbin.social avatar

Found a bug. On mobile the menu is partly offscreen. image. Looks like the menu is aligned with the button rather than with the edge of the screen.

ThatOneKirbyMain2568,
@ThatOneKirbyMain2568@kbin.social avatar

Just released a new update. Is it fixed?

olorin99,
@olorin99@kbin.social avatar

Yep, all good now.

Pamasich,

Thanks, this is the best implementation idea for this I've seen yet imo, will definitely be using this from now on.

I haven't found any bugs yet, but I'd like to request two future improvements:

  • Changing the order of magazines and collections

::: spoiler Details
I have like three collections and a ton of magazines, so having to scroll through all the magazines to reach the collections is a bit of a pain. It's still much easier than before this script, but it would be even better if I could move the collections above the magazines.
On the other hand, someone else might have the opposite situation and would prefer it the way it currently is, so unlike the other user I'm not asking you to just swap the order.
I think the ideal solution would be adding a setting somewhere to determine which comes first. So every user can tailor the functionality to their needs.
:::

  • Support for turbo mode

::: spoiler Details
Ernest added turbo as an optional mode in the past months (you can find it in the sidebar options). It turns the site into a single page experience, which means kbin.social links don't open the website anew entirely but rather replace the page content, including the changes your script makes. This cuts down on loading time, but it also causes scripts to break.

It would be great if the script were to support turbo mode eventually, especially if Ernest makes it the standard in the future (it is marked as experimental currently, so that's probably the eventual intention).

To do so, you'd have to attach a MutationListener to the body element like I did here. But that will run many times more than just on navigation, so you'd also have to ensure your code does support being run multiple times without breaking.
:::

ThatOneKirbyMain2568,
@ThatOneKirbyMain2568@kbin.social avatar

These are great ideas, and I'll look into implementing them soon. Thanks for the pointers on turbo mode support!

  • Wszystkie
  • Subskrybowane
  • Moderowane
  • Ulubione
  • test1
  • Spoleczenstwo
  • lieratura
  • muzyka
  • rowery
  • sport
  • Blogi
  • Technologia
  • Pozytywnie
  • nauka
  • FromSilesiaToPolesia
  • fediversum
  • motoryzacja
  • niusy
  • slask
  • informasi
  • Gaming
  • esport
  • Psychologia
  • tech
  • giereczkowo
  • ERP
  • krakow
  • antywykop
  • Cyfryzacja
  • zebynieucieklo
  • kino
  • kbinMeta@kbin.social
  • warnersteve
  • Wszystkie magazyny