Skip to content

feat(badge): switch to badge-maker-rs#291

Draft
DCjanus wants to merge 1 commit intodeps-rs:mainfrom
DCjanus:feat/style-parameter
Draft

feat(badge): switch to badge-maker-rs#291
DCjanus wants to merge 1 commit intodeps-rs:mainfrom
DCjanus:feat/style-parameter

Conversation

@DCjanus
Copy link
Copy Markdown
Member

@DCjanus DCjanus commented Mar 30, 2026

Summary

This draft PR replaces the in-repo badge renderer with badge-maker-rs and adds Shields-compatible style query parsing.

Closes #245.

Changes:

  • remove the old libs/badge workspace crate
  • switch badge SVG rendering to badge-maker-rs
  • support additional badge styles via ?style=...
  • update README badge style documentation

Open questions

  • style=social currently does not preserve the color-based status signal, so dependency states are harder to distinguish at a glance
  • badge options such as style, subject, and compact are still not very discoverable from the UI

Follow-up

Before marking this ready for review, we should:

  • decide whether to keep style=social
  • improve frontend discoverability for badge configuration

Replace the in-repo badge renderer with badge-maker-rs, add Shields-compatible style parsing for plastic and social, and remove the obsolete libs/badge workspace crate.

Co-authored-by: OpenAI Codex <codex@openai.com>
@robjtede
Copy link
Copy Markdown
Member

robjtede commented Apr 4, 2026

decide whether to keep style=social

I don't see any reason not to support it give we (now) get it for free.

The customer is always right in matters of taste.

... even if it is ugly

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.

Support for style parameter

2 participants