Skip to content

ADFA-3857: fix Flutter Template plugin imagery (variant thumbnails + plugin icon) - #47

Merged
hal-eisen-adfa merged 5 commits into
mainfrom
ADFA-3857-flutter-variant-thumbnails
Jul 15, 2026
Merged

ADFA-3857: fix Flutter Template plugin imagery (variant thumbnails + plugin icon)#47
hal-eisen-adfa merged 5 commits into
mainfrom
ADFA-3857-flutter-variant-thumbnails

Conversation

@hal-eisen-adfa

Copy link
Copy Markdown
Contributor

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:

Variant Logo
Flutter Basic Flutter logo
Flutter BLoC bloc hexagon
Flutter Provider Dart bird
Flutter GetX GetX mark
Flutter Riverpod Riverpod peaks

2. Plugin 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. 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)

  • Rebuilt the .cgp, reinstalled, confirmed the plugin regenerated its five .cgt templates with the new thumbnails (embedded thumbnails match source byte-for-byte).
  • New Project screen: five distinct Flutter-kind thumbnails now render.
  • Cleared the Glide icon cache + extracted app_plugin_icons (per the known path-keyed caching gotcha), reinstalled.
  • Plugin Manager: now renders the Flutter logo (night variant) instead of the PCF badge.

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.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@hal-eisen-adfa
hal-eisen-adfa merged commit 0363237 into main Jul 15, 2026
@hal-eisen-adfa
hal-eisen-adfa deleted the ADFA-3857-flutter-variant-thumbnails branch July 15, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant