docbrown/app/views/articles
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
..
_actions.html.erb Edit tweet intent URL (#15206) 2021-10-27 09:14:32 +01:00
_block.html.erb remove use of async attribute on inline scripts (#14297) 2021-07-22 06:45:04 -04:00
_bottom_content.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
_collection.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
_comment_tree.html.erb Add collection cache in articles/full_comment_area (#15278) 2021-11-04 10:38:29 -04:00
_comments_actions.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
_conduct_and_abuse_actions.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
_fitvids.html.erb remove use of async attribute on inline scripts (#14297) 2021-07-22 06:45:04 -04:00
_full_comment_area.html.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
_liquid.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
_reaction_button.html.erb added aria-pressed values to reaction buttons (#14192) 2021-07-12 12:54:29 +02:00
_sidebar.html.erb various small article elements i18n (#15023) 2021-10-15 11:06:44 +07:00
_sidebar_additional.html.erb Add campaign articles to sidebar controller (#11879) 2020-12-13 19:44:17 -05:00
_sidebar_campaign.html.erb various small article elements i18n (#15023) 2021-10-15 11:06:44 +07:00
_single_sponsor.html.erb Fix Sponsors Image display in homefeed and sponsors page. (#14494) 2021-08-23 10:05:34 -04:00
_single_story.html.erb Update tag's style (#15266) 2021-11-11 14:03:31 -05:00
_splash.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_sticky_nav.html.erb Update tag's style (#15266) 2021-11-11 14:03:31 -05:00
_tag_identifier.html.erb [deploy] Home Page Feed redesign + top comments (#7579) 2020-05-12 07:57:57 -05:00
_v2_form.html.erb article editor and manager i18n (#15070) 2021-10-21 08:18:48 +07:00
_video_player.html.erb Add Native bridge video support (#9303) 2020-07-20 11:22:32 -04:00
_widget_list_item.html.erb views/comments i18n (#15059) 2021-10-27 17:13:43 +01:00
delete_confirm.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
discussion_lock_confirm.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
discussion_unlock_confirm.html.erb I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
edit.html.erb article editor and manager i18n (#15070) 2021-10-21 08:18:48 +07:00
feed.rss.builder Remove hardcoded user profile fields (#14079) 2021-08-18 11:44:53 +07:00
feed.xml Respond to xml request with error on Articles#feed (#5077) 2019-12-13 12:30:26 -05:00
index.html.erb views/stories, views/layouts and other homepage i18n (#15083) 2021-11-10 07:38:43 -06:00
index.json.jbuilder Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
manage.html.erb article editor and manager i18n (#15070) 2021-10-21 08:18:48 +07:00
new.html.erb article editor and manager i18n (#15070) 2021-10-21 08:18:48 +07:00
show.html.erb fix (#15360) 2021-11-12 12:35:36 +01:00
show.json.jbuilder Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
stats.html.erb Fix inappropriate landmark nesting dashboard 10873 (#14308) 2021-07-27 16:03:59 -05:00