Files
iptvnator/libs/ui/epg
4grayandClaude Fable 5.1 998668df87 style(ui): one kit frame for floating panels and toasts (#1956)
* style(ui): one kit frame for floating panels and toasts

The EPG import panel, the update notification and every snack-bar take the
dialog's surface, hairline and shadow through a shared floating-panel mixin;
the update card's actions become kit secondary and accent buttons. A failed
guide source is reported once, in the import panel with its Retry, instead of
also as a raw error toast. A theme-tokens E2E measures both panels, the
dialog and the toast in both themes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix(epg): report a worker that could not start as the source row error

Every other failure of an import sends the renderer an error row before
rejecting; a worker that failed to spawn left its row queued, and the batch
result was the only signal. Now that the renderer no longer toasts a failed
batch, the row carries this failure too, with its Retry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* test(e2e): import the guide per theme before measuring the floating panel

A completed import row leaves the panel five seconds after it finishes; on a
slow runner the second theme's measurement could find no panel. Each theme
now refreshes the source right before measuring.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix(ui): every toast on the global kit frame and position

The source-removal toast kept its own frame override (a different shadow)
that outranked the global rule, and the download and recording managers
still placed their toasts at the start. Both now take the shared look and
Material's bottom-centre position. The theme E2E closes its guide server on
every failure path.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix(epg): keep the generic toast where no import row can report a failure

A runtime that offers fetchEpg without onEpgProgress creates no import panel
rows, so a failed batch there had lost its only feedback. The generic toast
stays for that case; with progress reporting the panel row carries the error.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-16 13:00:11 +02:00
..