Closed cpres closed 6 years ago
Thanks for this -- though I'm not sure a parameter is the best way to surface this. Wouldn't it make sense to surface a flash message with some notification? I would also add some sort of config option (that is set to false by default) that would allow you to enable the notification, that way the feature is available, but not turned on by default.
Thanks for looking at this @danielschwartz - I guess my thought was making this very simple update would allow for people to build off it or not, and make it look more like a known block rather than a potential bug.
I definitely understand the need for this, I just think that adding a param is only doing half the work. Your basically leaving up the messaging to the implementor, which isn't super fair. I would keep this Rails-ey, and implement a flash message, that is disabled by default, but could be enabled with an application config. That way users of Prelaunchr aren't forced to use the feature, but it is available to them if they want it.
Closing this as dead, apologies.
returning a parameter allows to make some notification on the front end. This way people aren't thinking it's a bug: "page just reloads when entering my email", but because they've already added a max # of emails.