Skip to content

KsuWebUI-SN 2.0-73

Latest

Choose a tag to compare

@dnascorpionofficial dnascorpionofficial released this 19 Nov 12:42
· 1 commit to main since this release
954caa6

Important

Still on the old KsuWebUI-SN (package io.github.a13e300.ksuwebui)? KsuWebUI-SN now uses a new package name, scorpion.ksuwebui.sn. Android treats it as a new app, so this release does not replace your current install, even if the in-app update popup offers it. Install it, then uninstall the old KsuWebUI-SN yourself. Your settings in the old app (pins, backgrounds, icons, theme) are not carried over.

Already using scorpion.ksuwebui.sn? Nothing to do, this is a normal update.

Tip

Highlights: a redesigned Settings drawer and module settings menu, with options grouped into clear cards, and long module names are no longer cut off.

🔁 Changed

  • Settings drawer, grouped into cards: the switches are now split into two labelled cards, so it is easier to find what you need.
    • Style: Module Banners, Blend Banners and Module Icons, everything that changes how the module cards look.
    • Visibility: Disabled Modules and Hidden Modules, which decide what shows up in the list.
    • Same behaviour: Blend Banners still appears only while Module Banners is on, and the theme selector (Dark, Auto, Light) works as before. It now lines up with the cards.
  • Module settings menu, grouped into cards: the actions are no longer one long list. They are now in three labelled cards, always visible, with thin dividers between the rows.
    • Appearance: Set banner, Set icon, Banner transparency, Remove banner and Remove icon. Only the ones that apply to the module are shown.
    • Actions: Pin, Add to home screen and Hide.
    • Developer: Enable console and Clear module data.
    • Still red: the destructive actions (Remove banner, Remove icon, Clear module data) keep their red colour.
  • Long module names are fully shown: the title at the top of the module settings menu now wraps onto more lines instead of being cut off with "…".
  • Cleaner text wrapping: labels in the Settings drawer and the module settings menu now wrap only between words. Words are no longer split with a hyphen.
  • Translated: the new group names (Appearance, Actions, Developer, Style and Visibility) are available in all languages.

⚠️ Moving from the old package

  1. Install this release.
  2. Open it and grant root as usual.
  3. Uninstall the old KsuWebUI-SN (the one with the previous package name).

The original KsuWebUI Standalone is not affected. It keeps its own package name and can stay installed.

⚙️ Under the hood

For developers ⚠️ (Click to expand)

Settings drawer

  • activity_main.xml: the five MaterialSwitch rows are now inside two cards, each with a small label above it: group_style (sw_banners, sw_blend_banners, sw_icons) and group_visibility (sw_disabled, sw_hidden). The cards reuse bg_sheet_group and divider_sheet, and the theme toggle group margin changed from 24dp to 16dp to line up with them.
  • Rows: each switch has a 52dp minimum height, 18dp horizontal padding, a ripple background, breakStrategy="simple" and hyphenationFrequency="none". The view ids are unchanged, so no Kotlin code had to change for the drawer, and sw_blend_banners still toggles its visibility the same way.

Module settings sheet

  • MainActivity.kt: showModuleSettings() has a new local group() that inflates item_sheet_group.xml and returns the card body. action() now takes that body as its first parameter. The rows are added to three groups: group_appearance, group_actions and group_developer. In the Appearance group, Banner transparency now comes before the red Remove banner.
  • item_sheet_group.xml (new): a small label plus a card body with a middle divider. bg_sheet_group.xml (a 20dp rounded card fill with a card_stroke border) and divider_sheet.xml (a 1dp card_stroke line) are new as well.
  • item_sheet_action.xml: the row is plain again, with a ripple background, a 52dp minimum height, 18dp padding, a 16dp icon gap, and breakStrategy="simple" plus hyphenationFrequency="none" on the label.
  • bg_sheet_action.xml (removed): the outlined rounded row background is no longer used.
  • sheet_module_settings.xml: the title no longer has ellipsize="end" or maxLines="1", and it has hyphenationFrequency="none".

Strings

  • All seven locales: new group_appearance, group_actions, group_developer, group_style and group_visibility.

Not changed

  • The package, AIDL interface, URI scheme and theme names from the package rename are as before.
  • The ksu, ksu_bars, ksu_download and ksu_exec_log JavaScript bridges and the R8 rules are as before.
  • Banner transparency, Blend Banners, WebUI loading and the Eruda scripts are as in the previous release.