Skip to content

[ATN] Add Thunderbird Add-ons badges - #11946

Draft
LuxologyGG wants to merge 5 commits into
badges:masterfrom
LuxologyGG:feat/auto-badge-issue-6994
Draft

[ATN] Add Thunderbird Add-ons badges#11946
LuxologyGG wants to merge 5 commits into
badges:masterfrom
LuxologyGG:feat/auto-badge-issue-6994

Conversation

@LuxologyGG

@LuxologyGG LuxologyGG commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Closes #6994

Summary

Adds shields.io badges for Mozilla Thunderbird extensions via the addons.thunderbird.net (ATN) v3 API, following the same pattern as the existing AMO (Firefox add-ons) services.

New badges

Route Description
/atn/users/:addonId Average daily users
/atn/rating/:addonId Star rating (e.g. 4.8/5)
/atn/stars/:addonId Star rating (visual)
/atn/v/:addonId Current version
/atn/dw/:addonId Weekly downloads

Example

https://img.shields.io/atn/users/unicodify-text-transformer
https://img.shields.io/atn/rating/unicodify-text-transformer
https://img.shields.io/atn/v/unicodify-text-transformer

API rate limits

The ATN API is based on the Mozilla addons-server infrastructure. The addons-server API overview does not publish explicit per-endpoint rate limits for read-only addon metadata requests. This badge issues one GET per render to https://addons.thunderbird.net/api/v3/addons/addon/{addonId}/.

Checklist

  • Service implementation (services/atn/)
  • Unit tests (services/atn/atn.service.spec.js)
  • Service tests (services/atn/*.tester.js)
  • npm run test:core -- --grep ATN (1 passing)
  • npm run test:services -- --grep Atn (9 passing)
  • npm run lint (0 errors)

@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 ✨ Thanks for your contribution to Shields, @LuxologyGG!

Generated by 🚫 dangerJS against 65a4490

@cursor
cursor Bot force-pushed the feat/auto-badge-issue-6994 branch from 4e6707c to d5d2fdb Compare June 24, 2026 18:08
@LuxologyGG
LuxologyGG force-pushed the feat/auto-badge-issue-6994 branch from ca0e312 to 6204b60 Compare June 28, 2026 18:07
@cursor
cursor Bot force-pushed the feat/auto-badge-issue-6994 branch 2 times, most recently from d7fc808 to 662bdd9 Compare July 5, 2026 18:06
@LuxologyGG
LuxologyGG force-pushed the feat/auto-badge-issue-6994 branch from 662bdd9 to d0a7b2a Compare July 16, 2026 18:06
Implement users, rating, stars, version, and weekly downloads badges
for Mozilla Thunderbird extensions via the ATN v3 API, mirroring the
existing AMO service pattern.

Closes badges#6994
Align with MacPorts/Buildbot review guidance: keep the user-facing
description focused on the product link, and leave rate-limit notes in
the PR body only. The addons-server overview does not publish 429 behavior.
@LuxologyGG
LuxologyGG force-pushed the feat/auto-badge-issue-6994 branch from fcf4069 to 65a4490 Compare July 19, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Mozilla Thunderbird add-ons (ATN)

2 participants