Open kimsible opened 3 years ago
Hi @Chocobozzz, after discussions, it looks like the most common way to share a profile (channel or account) on platforms / communities is to copy the link in the address bar.
Maybe defining a child component as home but without the sub-route to prevent Angular from redirecting to /a/USERNAME/videos-channels
or /c/CHANNEL_NAME/videos
is the solution ?
At least a part of the solution, as we show somewhere in the UI that /@actorName is usable ?
According to the new channel / account UI and this feature https://github.com/Chocobozzz/PeerTube/issues/3680 introducing shorter URLs, it would be nice to have the ability to share an account or a channel public profile page with a share button as we do for the playlists.
I thought about that when working on this PR : https://github.com/Chocobozzz/PeerTube/pull/4009. For example, the default behaviour of the Angular Router for the home channel
/video-channels/:channelName
(or account) profile redirects to/video-channels/:channelName/videos
(or/accounts/:accountName/videos
). So the full profile link usually copied is with the route/videos
or/video-channels
.