Enhance Morphe bundle metadata: bundle icon, patch categories, app descriptions and best practices #68
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
### Overview & Context
Morphe Manager consumes patch bundles via
patches-bundle.jsonand displays bundle metadata, icons, categories, and compatibility info to users in the app UI. Currently, our patch bundle is functional but lacks several standard metadata fields and assets:patches-bundle.pngat root, so Morphe Manager shows a generic or fallback icon in the Sources list.category = nullinpatches-list.json. In Morphe Manager, patches appear in an unorganized flat list instead of collapsible/grouped category sections (e.g., Ads, Content, Popups, Privacy).Compatibilitydefinitions leavedescription = null.aboutblock inpatches/build.gradle.ktscontains only a minimal one-liner.This issue tracks researching, auditing, and implementing best-practice bundle metadata improvements across the codebase.
Key Areas to Investigate & Implement
1. Bundle Icon (
patches-bundle.png)patches-bundle.pngat the repository root to use as the source icon instead of falling back to git avatars.git.midasvo.nl), verify how Morphe Manager resolves the raw icon URL when a user addshttps://git.midasvo.nl/midas/midas-patches/raw/branch/main/patches-bundle.json. Ensure the root file is reachable without auth.2. Patch Categorization (
category(...))PatchBuilderexposes.category("...")(e.g.,bytecodePatch { ... category("Ads") }).Ads: adblocking and commercial elements (Hide ads, Hide subscription banners, Hide Google preferred source, Hide shopping blocks, Hide game promos).Privacy: tracking, telemetry, surveys (Disable tracking, Disable comScore, Disable Crashlytics, Hide surveys).Popups: notifications, rating prompts, onboarding (Hide review prompts, Hide notification suggestions, Hide onboarding popups, Suppress in-app messages).Content: UI decluttering, social elements (Hide comments, Hide polls, Hide cross-promotion / recommendations, Hide share buttons).Media: playback, export, player features (Auto skip intro, Copy article as Markdown).Settings: in-app patch configuration (Midas Settings).MidasSettingsCategorywhere sensible so in-app Midas Settings and Morphe Manager feel consistent.PatchListGeneratoralready serializespatch.categorytopatches-list.json.3. App Compatibility Metadata (
Compatibility.description)Compatibilityconstructor acceptsdescription: String?. Currently all apps pass nothing (null).Compatibilityobject inpatches/src/main/kotlin/nl/midasvo/patches/.../Constants*.kt:appIconColor,apkFileType, and signatures for each title.4. Bundle-Level Metadata in Gradle
patches/build.gradle.kts, expandpatches { about { description = "..." } }:5. Patch Description & Default Conventions Audit
default = truevsdefault = falsedefaults (core adblocking default on; Markdown export, intro skipping, etc., intentionally chosen).Definition of Done
patches-bundle.png(512x512) is committed to repository root.category(...)with an appropriate category.Compatibilityentries inConstants*.kthave informative app descriptions.patches/build.gradle.ktshas an updated, descriptiveaboutblock..\gradlew.bat generatePatchesListpopulatescategoryanddescriptioninpatches-list.json..\gradlew.bat buildAndroidbuilds cleanly.java -jar tools/morphe-desktop-*-all.jar list-patches --with-packages --with-descriptionsreflects the new metadata.