Files
iptvnator/libs/services
4grayandClaude Opus 5.5 cfda131c41 fix(server-storage): suspended tabs give up adopted writes; history stays newest first; favorite checks wait
A background tab the browser suspended past the record lifetime can have
its writes adopted elsewhere, like a back-forward cache page: shown
again, it now checks resumed() and reloads instead of sending them.

Conflict replays appended a newly viewed item at the end of the history,
where the next 50-item cut dropped it; a replayed recently viewed list is
now kept newest first.

isFavorite() waits for the first user-data read like the list reads, so
a detail page opened during a slow first read does not toggle an
existing favorite the wrong way. A parked backup restore replayed when
the playlist opens waits too, and stays parked while no read succeeded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 09:35:45 +02:00
..

services

Shared runtime data access: injectable services, stores and runtime bridges used across the renderer. It also hosts injectTranslationTick(), the signal every computed that calls TranslateService.instant reads (see "Translated Text" in the UI guidelines).

This library was generated with Nx.

Running unit tests

Run nx test services to execute the unit tests.