mirror of
https://github.com/Lissy93/dashy.git
synced 2026-07-30 11:06:09 -04:00
Adds a live-tennis-scores widget, backed by the public LiveTennisAPI. Each match renders as a two-row scoreboard: per-set game scores, the current game points, a serve indicator, and the winner once a match is done. The `status` option switches between live, upcoming and completed matches. The API sends `Access-Control-Allow-Origin: *` and answers preflight, so this fetches browser-side with no proxy configuration. Refreshes every 60s by default, to stay inside the free plan's 30 req/min limit. Registers `live-tennis` in WidgetBase, adds the endpoint to widgetApiEndpoints, documents the widget, and covers the rendering and the null-score / stale-server edge cases with unit tests.