docbrown/app/helpers
Anna Buianova 4cab190285
Hiding comments: an option to hide or keep children (#15178)
* Optional hiding child comments (start)

* Changed confirm button in comments hide form

* Hide children comments if hide_children was passed

* Added a spec for hidden child comment notifications

* Hide only explicitly hidden comments

* Hide comment modal on article page

* Prevent default behaviour for hide comment link

* Improved hide comments modal looks

* Improved hide comments modal looks

* Removed unused code

* Send hide comment form via fetch

* Hide comment descendants when hide_children was passed

* Don't hide hidden comments descendants on permalink

* Removed unnecesary span

* Improved hide comments modal styling

* Removed unused styles and js, improved styling

* Clickable label

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>

* Fixed showing hidden comments spoiler for article author

* Fixed hideArticleComments.spec.js

* Fixed displaying hidden comments text for artice author, added specs

* Target hide comments modal inside the modal when adding a listener

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Replaced hide comment link with a button

* Refactored adding hide_children url param

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Fixed cypress hide comments test

* Removed aria-label for submit on the hide comments modal

* Fixed formatting

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-11-18 11:57:40 +03:00
..
admin_helper.rb RFC 50 - Remove old admin routes and related code (#13579) 2021-05-03 16:03:38 +02:00
application_helper.rb Check for presence rather than falsey when detecting tag color (#15356) 2021-11-11 15:53:32 -05:00
articles_helper.rb Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
authentication_helper.rb Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
broadcasts_helper.rb Add ahoy + welcome notification tracking (#8758) [deploy] 2020-06-18 13:40:14 -07:00
chat_channel_memberships_helper.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
chat_channels_helper.rb 🚀 Ability to allow tag moderators to create chat channels (#9741) 2020-12-08 13:10:36 +07:00
comments_helper.rb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
date_helper.rb Add I18n date format example (#14973) 2021-10-08 15:08:56 -04:00
display_ad_helper.rb Rubocop fixes (#14868) 2021-09-30 13:22:09 -04:00
feedback_messages_helper.rb Split Settings::Community from SiteConfig (#13403) 2021-04-26 10:46:35 +02:00
listing_helper.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
messages_helper.rb [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
notifications_helper.rb views/notifications i18n (#15056) 2021-10-25 15:46:46 +07:00
organization_helper.rb [deploy] Add org credit management to org mod page (#7761) 2020-05-11 16:49:05 +02:00
profile_helper.rb [Small Wins] Show character limits for profile inputs (#15255) 2021-11-05 09:11:42 -04:00
rate_limit_checker_helper.rb Bump rubocop from 1.17.0 to 1.18.0 (#14107) 2021-07-01 13:51:49 +02:00
settings_helper.rb [deploy] Label Experience Level Scale in User Settings (#8454) 2020-06-16 15:41:30 +02:00
social_image_helper.rb Fix Ruby 2.7 kwargs' warnings & misc spec warnings (#13256) 2021-04-06 16:57:59 -04:00
social_link_helper.rb Refactor internal users index (#7457) 2020-04-24 17:27:07 -04:00