Skip to content

Resolve "Channel: clicking auf "Subscribe" when not logged in still updates the subscriber count"

Related issue: #1296 (closed)

This Merge Request includes:

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

Screen_Recording_2021-04-30_at_21.27.09

Edited by Ciarán Ainsworth

Merge request reports