docbrown/app/views
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 Moving blocked registration domains up (#15403) 2021-11-17 11:28:37 -05:00
api/v0 Remove hardcoded user profile fields (#14079) 2021-08-18 11:44:53 +07:00
articles Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
badges views/badges etc i18n (#15021) 2021-10-20 09:36:30 -06:00
chat_channel_memberships [15 Minute Fix]: Ensure crayons banners are accessible (#12919) 2021-03-09 09:16:26 -08:00
chat_channels add skip link to connect and manage post (#13503) 2021-04-27 10:01:24 +01:00
collections Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
comments Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
credits Let users purchase credits (#15346) 2021-11-10 15:18:52 -06:00
dashboards Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
deep_links various small article elements i18n (#15023) 2021-10-15 11:06:44 +07:00
devise Created the Forem creator confirmation email template (#14659) 2021-10-21 14:56:09 -04:00
doorkeeper Remove some HTML errors (#13288) 2021-04-07 11:46:12 +01:00
email_subscriptions Removal of morrrre hardcoded dev.to links (#7390) 2020-04-21 11:50:18 +02:00
feedback_messages views/feedback_messages i18n (#15038) 2021-10-27 12:34:56 +01:00
fields views/tags etc i18n (#15039) 2021-10-20 08:13:51 -06:00
followings Move HexComparer to Hex::Comparer service (#12202) 2021-01-12 11:34:30 -05:00
github_repos Refactoring GitHub Repos functionality - step 1 (#7764) 2020-05-12 13:48:19 +02:00
homepage Stories views reorganization (#1317) 2018-12-13 14:54:02 -05:00
kaminari/internal Upgrade erb_lint to support latest Rubocop and fix violations (#9663) 2020-08-07 15:36:48 +02:00
layouts Remove Setup Banner from Creator Onboarding Flow (#15310) 2021-11-17 13:20:16 -07:00
liquid_embeds Refactor deployed_at and latest_commit_id code (#12224) 2021-01-13 16:53:59 +02:00
liquids Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
listings views/listings etc i18n (#15040) 2021-10-27 16:37:29 +01:00
mailers Consolidate and internationalize various 'contact us' prompts (#14951) 2021-10-07 12:05:21 -04:00
moderations Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
notifications fix (#15360) 2021-11-12 12:35:36 +01:00
onboardings views/onboardings i18n (#15018) 2021-10-13 12:26:07 +02:00
open_search Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
organizations Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
pages Removed extra space in code of conduct (#15218) 2021-10-29 10:39:35 +07:00
podcast_episodes Added collapsed hidden comments to author's article/podcast episode view (#14018) 2021-11-03 11:08:04 +07:00
podcasts views/podcasts, views/podcast_episodes i18n (#15020) 2021-10-25 14:32:51 +01:00
profile_field_groups Add ProfileFieldGroupsController to API (#10124) 2020-09-03 10:12:53 +07:00
profile_preview_cards Make header fields in profile preview card dynamic (#14454) 2021-08-11 09:34:30 +07:00
reading_list_items views/reading_list_items i18n (#15041) 2021-10-18 11:32:57 -07:00
response_templates Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
service_worker Revert "Revert "Removed service worker (#12974)" (#13014)" (#13015) 2021-03-17 10:57:56 -04:00
shared Provide "Help" on the Creator Onboarding Setup Page (#15308) 2021-11-11 08:42:56 -07:00
sidebars views/stories, views/layouts and other homepage i18n (#15083) 2021-11-10 07:38:43 -06:00
sitemaps Fix legacy sitemap logic (#14926) 2021-10-07 08:59:16 -04:00
social_previews I18nize articles & social_previews (#15097) 2021-10-27 16:21:47 -04:00
stories Update tag's style (#15266) 2021-11-11 14:03:31 -05:00
tags Update tag's style (#15266) 2021-11-11 14:03:31 -05:00
users Remove unused assets (#15367) 2021-11-16 19:57:37 +01:00
videos Fix path for new video when logged out (#15227) 2021-10-29 15:22:45 +02:00