docbrown/app/controllers/internal
Jacob Herrington 00dd84f9e1 Add a default message to badge award action (#5160)
* Add a default message to badge award action

Because:
 - The only badges routinely awarded manually use the same message
 - Right now, unfriendly/unsafe UI can result in an error notification

The only badges that are currently awarded manually (afaik) have the
message "Congrats!!!" so for the time being, if a message is not
supplied to the UI, it will simply use the "Congrats!!!" message as a
default.

That being said, I'm not totally convinced this message won't work for
the long term. Generally, if we are awarding badges by hand, I'd imagine
we'd want a specific message explaining why we are doing that, or just
be okay with "Congrats!"

After talking with Peter about it, the longer term goal should be to
move badge messages into the database so they can be modified in the app
and not hardcoded. That also make sense regarding the effort to
genericize the app eventually.

* Test Badge notifications
2019-12-19 10:38:57 -05:00
..
application_controller.rb Add single resource admin concept (#5069) [deploy] 2019-12-11 13:17:55 -05:00
articles_controller.rb CacheBuster refactoring (#4766) 2019-11-13 10:51:23 -05:00
badges_controller.rb Add a default message to badge award action (#5160) 2019-12-19 10:38:57 -05:00
broadcasts_controller.rb Create InternalPolicy (#4380) 2019-10-17 14:21:43 -04:00
buffer_updates_controller.rb Create InternalPolicy (#4380) 2019-10-17 14:21:43 -04:00
chat_channels_controller.rb Add internal page for spinning up group chats (and make jokes flare tag) (#3384) 2019-07-09 13:04:58 -04:00
classified_listings_controller.rb Internal Listings: Filter by Category (#3993) 2019-09-11 19:27:39 -04:00
comments_controller.rb Create InternalPolicy (#4380) 2019-10-17 14:21:43 -04:00
configs_controller.rb Add additional keys to site configuration (#4861) [deploy] 2019-11-20 10:58:10 -05:00
events_controller.rb CacheBuster refactoring (#4766) 2019-11-13 10:51:23 -05:00
feedback_messages_controller.rb Add additional conditions to internal/reports page (#4800) [deploy] 2019-11-12 13:19:08 -05:00
growth_controller.rb Modify onboarding slides (#3864) 2019-08-28 11:05:57 -04:00
mods_controller.rb Fix internal mods interactivity and improve layout (#3879) 2019-08-29 19:00:22 -04:00
organization_memberships_controller.rb Fix typo (#3789) 2019-08-22 12:51:05 -04:00
organizations_controller.rb Add view for managing organizations (#5149) [deploy] 2019-12-17 12:07:11 -05:00
pages_controller.rb Further generalize pages and site Twitter handle (#3177) 2019-06-16 00:59:11 -04:00
permissions_controller.rb Add some html to internal articles and new internal view (#4636) 2019-10-28 19:09:24 -04:00
podcasts_controller.rb Podcast ownership (#3546) 2019-07-29 08:32:49 -04:00
reactions_controller.rb Remove commented code and tests (#3989) [ci skip] 2019-09-09 14:51:02 -04:00
tags_controller.rb Implement Moderators audit logs (#3449) 2019-10-23 10:30:45 -04:00
tools_controller.rb CacheBuster refactoring (#4766) 2019-11-13 10:51:23 -05:00
users_controller.rb Add organization membership functionality to internal (#3541) 2019-07-31 14:38:36 -04:00
webhook_endpoints_controller.rb Show webhooks list in internal (#3997) 2019-09-10 09:43:21 -04:00
welcome_controller.rb Refactoring possible unprotected redirect. (#3825) 2019-08-27 10:13:38 -04:00