mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 01:16:15 -08:00
Details opened from the dashboard, global favorites/recent, or a portal's own favorites/recent tabs render full-width without the category sidebar, so there was no way back to the title's place in its portal. A shared `app-view-in-portal-action` renders a separate-row action below the main hero buttons. It is gated on the new `VIEW_IN_PORTAL_HANDOFF` token, provided only by the two collection-detail wrappers, so router-mounted portal details never show it without any URL sniffing. Targets come from `getUnifiedCollectionDetailNavigation()`, which unlike `getUnifiedCollectionNavigation` never degrades to a category- or section-only route: an Xtream item without a resolvable category and positive id keeps the action hidden rather than promising a jump to the title and landing in a list. Unlike the download handoff it does not pass `detailPresentation: 'provider-only'` — the item exists in the provider catalog, so the full detail is wanted. Stalker carries `stalkerReturnTo` so back returns to the originating collection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>