Time for a new feature update for KUP. This time I’m introducing bookmarking functionality which adds a new bookmark menu to the toolbar where you can save articles for later.

Note that the bookmarks are saved locally on the device and is mainly designed as a way to keep a reading list rather than a permanent storage of articles.

What is this?

This is a collection of hacks, fixes, enhancements and experiments that I have been tinkering with since I’ve joined Kbin, neatly packaged into one behemoth of a userscript.

Updates

0.4.0

Bookmarks

Click on the new bookmark button in the footer underneath each article to save it to your bookmarks.

A new button has been added to the toolbar which brings up a modal with all your stored bookmarks. Click on the checkmark next to the bookmark to remove it.

Compatibility with other scripts

The new bookmarks modal listens to the custom window event “hide-all-modals” for compatibility with other userscripts (like Kbin Subscriptions Panel). Dispatching that event will hide the bookmarks modal if it’s open.

0.4.1

  • Fixed undefined magazine name.

0.4.2

  • Improved bookmarks mobile styling.
  • Moved bookmarks menu button to mobile menu for small devices. Tap the hamburger menu to access it.

0.4.3

  • Bookmarks Mobile tweaks.
  • Bookmarks Resetting settings now also resets bookmarks.

0.4.4

  • Fixed auto preview unnecessarily reloading.
  • Fixed compatibility with new version of Kbin where the KUP style settings panel has been ported to the core project.

0.4.5

Fixed numerous bugs related to recent changes in Kbin

  • Fixed broken bookmarks button
  • *Alt UI Fixed broken boost button

Screenshots

Bookmark modal (0.4.0)

  • clb92@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I’ve found a bug: The article preview buttons disappear after page reloads if bookmarks feature is turned on.

    Once they’re gone, I can toggle the “show article preview button” twice to get them to show up again, but once the page reloads, they flash briefly and disappear again. If I disable the bookmarks feature, they work as expected.

    • Perry@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Yeah, I found a few more bugs that was introduced as a result of the recent changes in Kbin. I’ve been away with work last week, but I’ll try to look into it in the next coming days.

    • Perry@kbin.socialOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Sorry for the slow update! I’ve fixed quite a few issues, especially related to the bookmarks button, so see if it works better now!