From 1a3a00740b2813636e63d5d8c66ac9fc15a42d30 Mon Sep 17 00:00:00 2001 From: Hal Eisen Date: Mon, 7 Sep 2026 18:31:51 -0700 Subject: [PATCH 1/2] Finish the Voice Alerts and Rainbow Brackets renames The earlier rename changed the directories and plugin.name but left the package identity and every prose string alone. The Gradle job summary in the Publish addons workflow reports rootProject.name, so it still listed "Beepy" and "rainbow-on-the-go" after a publish. Rename both add-ons end to end: com.example.beepy -> org.appdevforall.voicealerts Beepy -> VoiceAlertsPlugin org.appdevforall.rainbowonthego -> org.appdevforall.rainbowbrackets RainbowOnTheGoPlugin -> RainbowBracketsPlugin This covers plugin.id, applicationId, namespace, the Kotlin package directories, class names, rootProject.name, android:label, app_name, proguard keep rules, both READMEs, both add-on HTML pages, and the Rainbow Brackets Tier 3 help page and tooltip text. Also fix getTooltipCategory() in Rainbow Brackets, which returned the hand-written "plugin_rainbow_on_the_go" instead of "plugin_" plus the plugin id. Per CLAUDE.md that mismatch makes the tooltip render "n/a". It now derives from PLUGIN_ID. Breaking: plugin.id changes, so the Plugin Manager treats these as new add-ons. An existing install does not upgrade in place; it must be removed and reinstalled. Claude-Session: https://claude.ai/code/session_016aaKF7nPCSrLe7oZ5DTHLZ --- plugins/Rainbow-Brackets/README.md | 8 +++---- plugins/Rainbow-Brackets/build.gradle.kts | 6 ++--- plugins/Rainbow-Brackets/proguard-rules.pro | 2 +- .../Rainbow-Brackets/rainbow-brackets.html | 2 +- plugins/Rainbow-Brackets/settings.gradle.kts | 2 +- .../src/main/AndroidManifest.xml | 4 ++-- .../src/main/assets/docs/index.html | 10 ++++---- .../RainbowBracketsPlugin.kt} | 24 +++++++++---------- .../src/main/res/values/strings.xml | 2 +- plugins/Random-XKCD/build.gradle.kts | 2 +- plugins/Voice-Alerts/README.md | 10 ++++---- plugins/Voice-Alerts/build.gradle.kts | 4 ++-- plugins/Voice-Alerts/settings.gradle.kts | 2 +- .../Voice-Alerts/src/main/AndroidManifest.xml | 6 ++--- .../voicealerts/VoiceAlertsPlugin.kt} | 4 ++-- .../src/main/res/values/strings.xml | 2 +- plugins/Voice-Alerts/voice-alerts.html | 22 ++++++++--------- scripts/check-toolchain.sh | 2 +- 18 files changed, 57 insertions(+), 57 deletions(-) rename plugins/Rainbow-Brackets/src/main/kotlin/org/appdevforall/{rainbowonthego/RainbowOnTheGoPlugin.kt => rainbowbrackets/RainbowBracketsPlugin.kt} (94%) rename plugins/Voice-Alerts/src/main/kotlin/{com/example/beepy/Beepy.kt => org/appdevforall/voicealerts/VoiceAlertsPlugin.kt} (96%) diff --git a/plugins/Rainbow-Brackets/README.md b/plugins/Rainbow-Brackets/README.md index 136a7710..b3d57571 100644 --- a/plugins/Rainbow-Brackets/README.md +++ b/plugins/Rainbow-Brackets/README.md @@ -1,4 +1,4 @@ -# rainbow-on-the-go +# Rainbow Brackets A Code On The Go plugin that colors matching parentheses, brackets, and braces by nesting depth — an opening delimiter and its match share a color, cycling through six @@ -18,8 +18,8 @@ no permissions, makes no network calls, and reads no files. ## Build ```sh -cd rainbow-on-the-go -./gradlew assemblePlugin # release .cgp -> build/plugin/rainbow-on-the-go.cgp +cd Rainbow-Brackets +./gradlew assemblePlugin # release .cgp -> build/plugin/rainbow-brackets.cgp ``` The plugin compiles against `../libs/plugin-api.jar`. If the `EditorDecorationProvider` API @@ -33,6 +33,6 @@ cd .. ## In-IDE help A walkthrough is served by the host IDE at -`http://localhost:6174/plugin/org.appdevforall.rainbowonthego/index.html` once installed +`http://localhost:6174/plugin/org.appdevforall.rainbowbrackets/index.html` once installed (source: `src/main/assets/docs/index.html`). Long-press is wired through `DocumentationExtension` for the three-tier tooltip help. diff --git a/plugins/Rainbow-Brackets/build.gradle.kts b/plugins/Rainbow-Brackets/build.gradle.kts index 83f2c456..56bd8556 100644 --- a/plugins/Rainbow-Brackets/build.gradle.kts +++ b/plugins/Rainbow-Brackets/build.gradle.kts @@ -11,11 +11,11 @@ pluginBuilder { } android { - namespace = "org.appdevforall.rainbowonthego" + namespace = "org.appdevforall.rainbowbrackets" compileSdk = 36 defaultConfig { - applicationId = "org.appdevforall.rainbowonthego" + applicationId = "org.appdevforall.rainbowbrackets" minSdk = 26 targetSdk = 36 versionCode = 1 @@ -62,7 +62,7 @@ tasks.wrapper { } // Disable AAR metadata checks that fail under the plugin-builder -// pipeline (Beepy + Forms use the same workaround). +// pipeline (Voice Alerts + Forms use the same workaround). tasks.matching { it.name.contains("checkDebugAarMetadata") || it.name.contains("checkReleaseAarMetadata") diff --git a/plugins/Rainbow-Brackets/proguard-rules.pro b/plugins/Rainbow-Brackets/proguard-rules.pro index 48d4a4ed..bf06dd3e 100644 --- a/plugins/Rainbow-Brackets/proguard-rules.pro +++ b/plugins/Rainbow-Brackets/proguard-rules.pro @@ -1,4 +1,4 @@ # Add project specific ProGuard rules here. # Keep plugin classes — the IDE loads them by reflection via plugin.main_class. --keep class org.appdevforall.rainbowonthego.** { *; } +-keep class org.appdevforall.rainbowbrackets.** { *; } diff --git a/plugins/Rainbow-Brackets/rainbow-brackets.html b/plugins/Rainbow-Brackets/rainbow-brackets.html index 78ad3c9e..9887090b 100644 --- a/plugins/Rainbow-Brackets/rainbow-brackets.html +++ b/plugins/Rainbow-Brackets/rainbow-brackets.html @@ -68,7 +68,7 @@

Contents

1. Executive Overview

-

RainbowOnTheGo makes nested code easier to read by coloring each pair of +

Rainbow Brackets makes nested code easier to read by coloring each pair of brackets according to how deeply it is nested. An opening delimiter and its matching closing delimiter share the same color, so you can see at a glance which ( pairs with which ), even in deeply nested expressions.

diff --git a/plugins/Rainbow-Brackets/settings.gradle.kts b/plugins/Rainbow-Brackets/settings.gradle.kts index 733ad5f6..a49afb8d 100644 --- a/plugins/Rainbow-Brackets/settings.gradle.kts +++ b/plugins/Rainbow-Brackets/settings.gradle.kts @@ -27,4 +27,4 @@ dependencyResolutionManagement { } } -rootProject.name = "rainbow-on-the-go" +rootProject.name = "rainbow-brackets" diff --git a/plugins/Rainbow-Brackets/src/main/AndroidManifest.xml b/plugins/Rainbow-Brackets/src/main/AndroidManifest.xml index 99eb3521..a63c246a 100644 --- a/plugins/Rainbow-Brackets/src/main/AndroidManifest.xml +++ b/plugins/Rainbow-Brackets/src/main/AndroidManifest.xml @@ -7,7 +7,7 @@ + android:value="org.appdevforall.rainbowbrackets" /> + android:value="org.appdevforall.rainbowbrackets.RainbowBracketsPlugin" /> + android:value="org.appdevforall.voicealerts" /> + android:value="org.appdevforall.voicealerts.VoiceAlertsPlugin" /> - Beepy + Voice Alerts Add earcons to build status \ No newline at end of file diff --git a/plugins/Voice-Alerts/voice-alerts.html b/plugins/Voice-Alerts/voice-alerts.html index bc3e6d83..a0873a09 100644 --- a/plugins/Voice-Alerts/voice-alerts.html +++ b/plugins/Voice-Alerts/voice-alerts.html @@ -91,7 +91,7 @@

Voice Alerts

Audible build-status earcons for Code On The Go

-
Version 1.0.0 · Author: App Dev for All · Package: com.example.beepy
+
Version 1.0.0 · Author: App Dev for All · Package: org.appdevforall.voicealerts