Add sports-match type, device tracking, profile visits, and share refactor
- New SportsMatch model/controller and sports UI components/modal - Move share-modal to a reusable x-share-modal/x-share-button component - Add VideoSharedWithUser notification and share-to-members flow - Device/user-agent tracking on views, downloads, share accesses - ProfileVisit model + migration; subscription source tracking - Email thumbnail support; remove stale TODO files
This commit is contained in:
1 parent
6aae6f86b6
commit
73527f3781
61 files changed
+4014
-636
No files matched your search
+2
-2
@@ -205,7 +205,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
'user_subscriptions',
|
||||
'channel_id',
|
||||
'subscriber_id'
|
||||
)->withPivot('created_at');
|
||||
)->withPivot(['created_at', 'source_video_id']);
|
||||
}
|
||||
|
||||
// Channels this user subscribes to
|
||||
@@ -216,7 +216,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
'user_subscriptions',
|
||||
'subscriber_id',
|
||||
'channel_id'
|
||||
)->withPivot('created_at');
|
||||
)->withPivot(['created_at', 'source_video_id']);
|
||||
}
|
||||
|
||||
public function isSubscribedTo(User $channel): bool
|
||||
|
||||
Reference in new issue
Block a user