Skip to content

feat: give the plugin a registry icon - #33

Merged
danielmlr merged 1 commit into
mainfrom
feat/registry-icon
Oct 16, 2026
Merged

danielmlr merged 1 commit into
mainfrom
feat/registry-icon

Conversation

@danielmlr

Copy link
Copy Markdown
Member

The registry showed a letter placeholder for Analytics: the manifest declared screenshots but no icon.

  • images/icon.png (256×256, 8.6 KB), rendered from images/icon.source.html in the banner's language: base-50 ground, faint ink waves, EmDash's gradient on a rising traffic line. Render command is in the source file.
  • Declared under release.artifacts.icon. It's part of the release record, so it shows from the next published version (0.3.2) on.

Compatibility with newest EmDash

scripts/compat-matrix.sh 1.1.0:0.2.7 1.2.0:0.2.8 1.3.0:0.2.9:

package baseline (1.0.1) 1.1.0 1.2.0 1.3.0
analytics 314 314 314 314

Changelog items that touch this plugin, none needing a code change:

  • 1.2.0: plugin:activate now also fires for plugins: [] installs, and a throwing activate hook disables the plugin. Ours catches everything (scheduleFromSettings → ensureScheduled). Comments that said it never fires now name the version; the fallback scheduling stays for the 1.0.1 floor.
  • 1.2.0: ctx.site.url now prefers the configured siteUrl; hosts defaults from it, which is the more correct value.
  • 1.3.0: plugin storage cursor fix for ordered pages helps the per-entry page's views30/views7 paging.
  • 1.3.0: MCP tool renaming applies only to scoped plugin IDs; this plugin's tools stay analytics__*.

The floor stays >=1.0.1; the toolchain pin stays on 1.0.1.

Checks: pnpm typecheck, pnpm test (validate + 314 tests), pnpm build, pnpm bundle. Not checked: the actual upload to the publisher PDS (emdash-plugin publish has no dry run); that happens with the Version Packages release.

The registry showed a letter placeholder: the manifest declared
screenshots but no icon. images/icon.png (256x256, 8.6 KB) is rendered
from images/icon.source.html in the banner's language: base-50 ground,
faint ink waves, EmDash's gradient on a rising traffic line. It is
declared under release.artifacts.icon, so it shows from the next
published release on.

Checked against EmDash 1.1.0, 1.2.0 and 1.3.0 with scripts/compat-matrix.sh:
314 of 314 tests pass on each, no code change needed. From 1.2.0
plugin:activate also fires for plugins: [] installs, so the comments
that said it never does now name the version; the fallback scheduling
stays for the 1.0.1 floor. The activate hook cannot throw, which
matters because 1.2.0 disables a plugin whose activate hook throws.

Patch changeset: 0.3.2.
@changeset-bot

changeset-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0ad2f03

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eisbachcode/emdash-plugin-analytics Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@danielmlr
danielmlr merged commit 302e213 into main Oct 16, 2026
3 checks passed
@danielmlr
danielmlr deleted the feat/registry-icon branch October 16, 2026 09:24
danielmlr added a commit that referenced this pull request Oct 16, 2026
The icon from #33 read as a thin line on near-black and disappeared at the ~50 px the registry shows. Now a thick rising line in EmDash's gradient on Eisbachcode ink (#06070A), picked because it read best as a tiny icon on a phone. No changeset: 0.3.2 is not released and its changeset already describes the icon.
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