Files
romm/frontend/src
Georges-Antoine Assi 72923aacce fix(ui): hide the anniversaries widget on days without anniversaries (#5414)
* fix(ui): hide the anniversaries widget on days without anniversaries

The card showed "No anniversaries today" on empty days. It now renders
nothing then, and comes back when the rollover finds a day with games.
A failed load still shows the card with its error copy. The unused
widget-anniversaries-empty string is removed from every locale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(ui): collapse the widget rail when no card is visible

Addresses Greptile's review on #5414: with Anniversaries as the only
enabled widget on an empty day, the rail kept its padding as a blank
strip. The rail now hides itself when it holds no cards, staying in
the DOM so the widget keeps its midnight check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 10:59:37 -04:00
..