docbrown/app/decorators
Vaidehi Joshi 8f0c24c167
Expand @-mention functionality to posts (#13367)
* Initial work for @-mention notifications from posts

* Revert article.published changes to article updater, add clarifying comments

* Extract article preview into reusable partial for notification views

* Clean up Article Updater

* Address + remove some FIXMEs

* Add a whole buncha specs for @-mention functionality in posts YAY

* Refactor create all spec to use shared examples, add clarifying comments

* Add guard clause to create all service

* Update new mention and notifiable action specs

* Some additional cleanup

* Add specs + shared examples to SendEmailNotificationWorker spec

* Use aggregate_failures where applicable

Co-authored-by: Michael Kohl <citizen428@dev.to>

* Cleanup and address code review comments

* Add MentionDecorator + relevant specs

* Address comments/issues flagged by @rhymes

* Optimize plucking user_ids when checking for article followers

Co-authored-by: Michael Kohl <citizen428@dev.to>
2021-05-12 07:33:33 -07:00
..
application_decorator.rb Social previews should also be generated for decorated objects (#6208) [deploy] 2020-02-20 08:50:05 -05:00
article_decorator.rb Improve cumulative layout shift on comment reactions + optimizations (#12309) 2021-01-18 19:29:44 -05:00
campaign_decorator.rb Introduce domain model for campaigns (#9300) 2020-07-20 09:04:53 -04:00
comment_decorator.rb Update format specifiers in readable_publish_date (#13660) 2021-05-07 08:51:49 +02:00
listing_decorator.rb Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
mention_decorator.rb Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
notification_decorator.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
organization_decorator.rb Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
podcast_episode_decorator.rb Update format specifiers in readable_publish_date (#13660) 2021-05-07 08:51:49 +02:00
profile_decorator.rb Fix profile field production display area functionality and remove SiteConfig.dev_to? hacks for better generalization (#12015) 2021-02-11 10:05:06 -05:00
sponsorship_decorator.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
user_decorator.rb Split Settings::UserExperience (#13495) 2021-04-28 13:29:25 +07:00