Template Manager plugin: build fix, manifest completeness, in-app help & icons - #51
Merged
Merged
Conversation
- build: reference shared ../libs jars instead of a missing local libs/ - manifest: add plugin.editor_tabs, max_ide_version (26.29–26.30), and filesystem.read; rewrite permissions comment for least privilege - in-app help: add top-level HTML doc + Tier 3 offline docs/index.html, wire tooltipTags and the Tier 3 button, and fix the tooltip category so the 3-arg showTooltip resolves the entry (was rendering "n/a") - cards: title with the .cgt file name; hide first-template description on multi-template files - icons: new 192px day/night CGT file glyphs - naming: display name "Template Manager"; full "Code On The Go" in user-facing text Verified end-to-end on emulator-5554 (Code On The Go ~26.29).
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
…me convention - CLAUDE.md: add "In-app help wiring (DocumentationExtension)" recipe — the deterministic tooltip contract (category = plugin_<pluginId>, 3-arg showTooltip, Tier 3 setup, documentation.db debug query) so every plugin gets it right without a device round-trip - plugin-review skill: RUBRIC 6.7 now fails a wrong category / bare 2-arg showTooltip (the "n/a" trap); SKILL 6.6 disambiguates the doc filename to the kebab folder-name form (template-manager.html) - learnings: tooltip n/a root-cause + Glide icon-cache invalidation - retrospective: 2026-07-24 session log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes the Template Manager plugin (browse / install / uninstall / delete
.cgtproject templates on-device) submission-ready. Fixes the build, completes the manifest, adds full in-app help, and gives it real icons. All changes were verified end-to-end on an emulator (Code On The Go ≈ 26.29), not just by a passing build.Build & manifest
../libs/plugin-api.jar,../libs/gradle-plugin.jar) instead of a non-existent locallibs/— the plugin now builds from a clean checkout.plugin.editor_tabs(the plugin contributes editor tabs),plugin.max_ide_version=26.30+ realmin_ide_version=26.29, andfilesystem.read(the code reads files). Least-privilege permission comment rewritten.In-app help (Tier 1/2/3)
templatemanagerplugin.htmlinstall-decision page.assets/docs/index.html, wiregetTier3DocsAssetPath()+ aPluginTooltipButton, and settooltipTagon the sidebar item and editor tab.documentation.db— the entry registered correctly but the 2-argshowTooltip(view, tag)looked it up under the wrong category. Switched to the 3-argshowTooltip(view, "plugin_<pluginId>", tag)overload. Verified all three tiers now render.UX & polish
.cgtfile name (not the first bundled template's name); a multi-template file shows "Contains N templates" instead of a single template's description..cgtfile with a folded amber corner and bold "CGT" lettering (192×192).Verification
Installed the built
.cgpon emulator-5554: version check accepted, sidebar opens the editor tab, template list scans the store (shows the bundledcorefile with all 9 templates), tooltip Tier 1/2/3 all render, new icon and "Template Manager" name shown in the Plugin Manager.