docbrown/app
Julianna Tetreault 92042333bd
[deploy] Add Recent Vomit Reaction Reports to Users' Admin Users Page (#10059)
* Capitalizes Admin on Admin Profile button for better consistency

* Adds reactions and reports partials and adjusts filenames of _notes, _activity, and _credits

* Removes code related to reports to separate this PR and the reports PR

* Adds ability to toggle Recent Reactions and adds #get_related_reactions to controller
  - Adds a #get_related_reactions method to the Admin::Users::Controller
  - Moves the rendering of the reactions partial below the notes partial in edit
  - Styles Recent Reactions in a list format with the ability to toggle

* Modifies #set_related_reactions name, query, and limit and the _reactions view with it
  - Adjust #get_related_reactions to read #set_related_reactions
  - Sort reactions by descending created_at
  - Add a limit of 15 to reactions displayed for any given user
  - Add .empty? in place of .nil? to _reactions.html.erb reaction check

* Adjusts the format of how Recent Reactions are displayed and adds Reaction category

* Adds a check for category: vomit in #set_related_reactions

* Renames partial, adds User reactions to #set_related_reactions, and adjusts partial styling

* Rewords message displayed when no negative reactions exist to make it fun

* Adds additional styling changes to recent reactions
2020-08-31 11:23:19 -04:00
..
assets [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00
black_box [deploy] Adjust score a little bit more (#10034) 2020-08-27 07:21:44 -04:00
controllers [deploy] Add Recent Vomit Reaction Reports to Users' Admin Users Page (#10059) 2020-08-31 11:23:19 -04:00
dashboards [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
decorators [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers [deploy] Include APP_NAME in Pusher channels (#10001) 2020-08-31 08:28:46 -04:00
javascript [deploy] Include APP_NAME in Pusher channels (#10001) 2020-08-31 08:28:46 -04:00
labor [deploy] Refactor:Cleanup Naming and Optimize Email Digest Code (#10054) 2020-08-28 13:36:11 -05:00
lib [deploy] Grant admin permissions through the UI (part 1) (#9656) 2020-08-28 11:57:06 -04:00
liquid_tags [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
mailers Display all authentication providers in mailer footer (#9961) 2020-08-24 21:02:05 +02:00
models [deploy] Add missing foreign keys to models related to users (#10018) 2020-08-31 15:39:57 +02:00
policies [deploy] Add ability to turn off reaction notifications in notification settings (#9435) 2020-08-23 16:54:36 +02:00
queries/admin [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers Migrate serialization to jsonapi-serializer (#9682) 2020-08-08 15:41:44 +02:00
services [deploy] Start ignoring group column for profile fields (#10045) 2020-08-31 10:16:37 +07:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
view_objects [deploy] Migrate ImageResizer to Images::Optimizer (#9720) 2020-08-14 09:44:30 -04:00
views [deploy] Add Recent Vomit Reaction Reports to Users' Admin Users Page (#10059) 2020-08-31 11:23:19 -04:00
workers [deploy] Feature:Add Ability to Run RssReader via Sidekiq Cron, Prevent for DEV (#10066) 2020-08-28 14:57:22 -05:00