Skip to content

Feature: read numbers sent as text in live badges - #541

Merged
SandObserver merged 1 commit into
mainfrom
feat/badge-numbers-as-text
Oct 22, 2026
Merged

SandObserver merged 1 commit into
mainfrom
feat/badge-numbers-as-text

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Treat a string that is only a decimal number (optional minus sign and fraction) as a number in live badge extraction.
  • Apply it to the Fetch value list, the per-label values and the summed badge value.
  • Keep rejecting text with separators, units, exponents, a plus sign, surrounding spaces or a non-finite result.

Testing
All green. Added 2 tests for number text that is read and text that stays skipped.

Changelog

Changed

  • Read numbers sent as text in live badges.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the enhancement New feature or request label Oct 22, 2026
@SandObserver
SandObserver merged commit b4479a5 into main Oct 22, 2026
6 checks passed
@SandObserver
SandObserver deleted the feat/badge-numbers-as-text branch October 22, 2026 04:36
stackyard-release Bot pushed a commit that referenced this pull request Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant