docbrown/spec
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
..
black_box Remove <provider>_created_at columns (#13264) 2021-04-29 10:24:16 -05:00
controllers/concerns 15 minute fix: Add default argument to JsonApiSortParam (#13369) 2021-04-14 10:32:07 +07:00
decorators Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
factories Have specs run without Redis and refactor ConsumerApp and Device (#13647) 2021-05-07 08:03:16 +02:00
fixtures ✂️ Remove the approvals gem ✂️ (#12978) 2021-03-19 13:28:06 -07:00
generator Add service generator (#11265) 2020-11-10 09:09:35 +07:00
helpers Update format specifiers in readable_publish_date (#13660) 2021-05-07 08:51:49 +02:00
initializers Cleanup search classes and serializers (#13645) 2021-05-05 09:20:59 -04:00
lib Sanitize tag urls (#13720) 2021-05-11 11:21:03 -04:00
liquid_tags Modify codepen_tag to parse public and private Pen urls (#13481) 2021-04-23 16:41:21 +01:00
mailers Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
models Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
policies Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00
queries Have specs run without Redis and refactor ConsumerApp and Device (#13647) 2021-05-07 08:03:16 +02:00
refinements Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
requests Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
routing Replace Pusher Beams with Rpush PN delivery ✂️ ✂️ (#13588) 2021-05-05 08:37:20 -06:00
serializers/search Cleanup search classes and serializers (#13645) 2021-05-05 09:20:59 -04:00
services Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
support Accessibility enhancements to navigation tabs (#13559) 2021-05-07 15:24:34 +01:00
system Auto generate profile image for email signups (#13635) 2021-05-05 12:08:24 -04:00
tasks Bump rubocop-rails from 2.9.1 to 2.10.0 (#13655) 2021-05-05 14:16:44 -07:00
uploaders Fix Ruby 2.7 kwargs' warnings & misc spec warnings (#13256) 2021-04-06 16:57:59 -04:00
view_objects Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
views Remove mascot footer image (#13642) 2021-05-11 13:55:18 +02:00
workers Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
rails_helper.rb Have specs run without Redis and refactor ConsumerApp and Device (#13647) 2021-05-07 08:03:16 +02:00
spec_helper.rb [15-minute fix] Don't allow markdown to use CSS classes (#13282) 2021-04-07 11:40:39 -04:00