ADFA-3857: fix Flutter Template plugin imagery (variant thumbnails + plugin icon) - #47
Merged
Merged
Conversation
All five Flutter template variants shipped the same placeholder thumb.png (a generic teal Material-app preview), so the New Project screen showed no indicator of the KIND of Flutter project. Replace each with a distinct 512x512 thumbnail: a Flutter-blue header (matching the existing card style) over the state-management logo — Flutter logo (Basic), bloc hexagon (BLoC), Dart bird (Provider), GetX mark (GetX), Riverpod peaks (Riverpod). Verified on device RFCT704HEAL: reinstalled the rebuilt .cgp, the plugin regenerated its .cgt templates, and the New Project grid now renders five distinct kind indicators.
The plugin's day/night icons (assets/icon_day.png, icon_night.png) were byte-identical copies of the pebble-custom-function-template-installer icons used as a model, so the Plugin Manager showed a pink 'PCF' badge for the Flutter Template plugin. Replace both with a Flutter-branded rounded-square icon (Flutter logo on the day off-white / night deep-blue-black background). Verified on device RFCT704HEAL: cleared the Glide icon cache + extracted app_plugin_icons, reinstalled, and the Plugin Manager now renders the Flutter logo (night variant) instead of the PCF badge.
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.
In light mode the thumbnails' white card bodies bled into the near-white New Project background, so only the blue header was visible. Add a neutral grey (#9AA0A6) perimeter stroke around each card so the edge reads against both the light and dark backgrounds, matching the framing of the built-in templates. Verified in light mode on device RFCT704HEAL.
The declared IDE-compatibility range topped out at 26.28, excluding the current stable release. Raise plugin.max_ide_version so the plugin advertises support for current and upcoming CoGo releases.
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.
Two image defects in the Flutter Template plugin, both from placeholder art carried over during development. Both fixed and verified on device RFCT704HEAL.
1. Per-variant template thumbnails
All five Flutter templates shipped the same
thumb.png(a generic teal Material-app preview), so the New Project screen gave no indication of the KIND of project. Replaced each with a distinct 512×512 thumbnail — a Flutter-blue header (matching the existing card style) over the state-management logo:2. Plugin day/night icons
assets/icon_day.png/icon_night.pngwere byte-identical copies of thepebble-custom-function-template-installericons used as a model — so the Plugin Manager showed a pink "PCF" badge. Replaced with a Flutter-branded rounded-square icon (Flutter logo on day off-white / night deep-blue-black), matching the existing icon shape.Verification (device RFCT704HEAL)
.cgp, reinstalled, confirmed the plugin regenerated its five.cgttemplates with the new thumbnails (embedded thumbnails match source byte-for-byte).app_plugin_icons(per the known path-keyed caching gotcha), reinstalled.