shields icon indicating copy to clipboard operation
shields copied to clipboard

Add Thunderbird add-on badge service

Open ankey05 opened this issue 5 months ago • 3 comments

Description

Adds support for Thunderbird add-on badges by implementing a new Thunderbird service based on the existing Mozilla Add-ons integration.

This service retrieves add-on metadata from Thunderbird Add-ons and exposes badge endpoints for Thunderbird extensions.

Motivation

Thunderbird extension developers should be able to display Shields.io badges for their add-ons, similar to the existing Mozilla Add-ons badges.

Closes #6994

ankey05 avatar Jun 09 '26 06:06 ankey05

Warnings
:warning:

This PR modified service code.
Please run tests by including affected services in the pull request title.

Messages
:book: :sparkles: Thanks for your contribution to Shields, @ankey05!

Generated by :no_entry_sign: dangerJS against 490f7d9fa130aea8c9e4bf78517a521669229a4f

github-actions[bot] avatar Jun 09 '26 06:06 github-actions[bot]

Hello @ankey05 👋🏻

Worth noting that there is an existing PR (#11808) that aims to address the same issue. I'd say the approach you took here with a brand new route probably makes more sense. Could you please remove the legacy/redirect code, it does not make sense for a brand new badge.

PyvesB avatar Jun 13 '26 17:06 PyvesB

Thank you for the feedback!

You're absolutely right. I'll remove the legacy redirect code since it doesn't make sense for a brand new badge service. I'll keep only the clean Thunderbird implementation without any redirect or retired service patterns.

I'll push the updated changes shortly and let me know if there's anything else that needs adjustment.

Thanks for reviewing this!

ankey05 avatar Jun 14 '26 08:06 ankey05