From f7c3b236ab10d4636c345b0e78a8f866a6cf2d6a Mon Sep 17 00:00:00 2001 From: ghassan Date: Wed, 21 Oct 2026 12:31:55 +0300 Subject: [PATCH] feat(auth): guest Subscribe shows prompt + preserves intended URL Clicking Subscribe as a guest used to redirect straight to /login with no context. Now a short toast tells the visitor "Sign in to subscribe to {channel}" and the redirect carries ?intended= so after login they land back on the same video instead of the home page. Co-Authored-By: Claude Opus 4.7 (1M context) --- resources/views/components/video-actions.blade.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/resources/views/components/video-actions.blade.php b/resources/views/components/video-actions.blade.php index 3de8a69..33556bd 100644 --- a/resources/views/components/video-actions.blade.php +++ b/resources/views/components/video-actions.blade.php @@ -158,8 +158,13 @@ @endif @else - @endauth