Resolve "Channel: clicking auf "Subscribe" when not logged in still updates the subscriber count"
requested to merge 1296-channel-clicking-auf-subscribe-when-not-logged-in-still-updates-the-subscriber-count into develop
Related issue: #1296 (closed)
This Merge Request includes:
-
A changelog fragment (cf https://docs.funkwhale.audio/contributing.html#changelog-management)
Currently, we have no way of feeding back to the user that they need to log in to perform certain actions. This MR introduces a reusable modal for prompting users to log in or sign up to complete actions.
-
Clicking on login will pass the previous route to redirect users back to where they were before attempting login -
Signup button will hide if admin has disabled signups -
Modal can be passed messages and icons from the parent element to allow us to customize it for different situations
Edited by Ciarán Ainsworth