docbrown/app/views/comments
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
..
_comment.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
_comment.json.jbuilder [deploy] Reintroduce sticky_nav changes (ab81f36 & 7f92855) (#10263) 2020-09-09 15:33:13 -04:00
_comment_avatar.html.erb Add loading=lazy to image tags (#10888) 2021-05-27 19:01:21 +02:00
_comment_date.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
_comment_footer.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
_comment_header.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
_comment_proper.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
_comment_quality_marker.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
_discussion_lock_reason.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
_form.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
_hide_comments_modal.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
_liquid.html.erb Remove social icons from comment liquid tag (#11186) 2020-11-02 09:57:08 -05:00
delete_confirm.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
edit.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
index.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
index.json.jbuilder Initial commit 2018-02-28 16:11:08 -05:00
new.html.erb Fix linting issues in app/views/comments (#1853) [ci skip] 2019-02-25 13:03:31 -05:00
settings.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00