docbrown/app/javascript
Arit Amana c1fe6a6488
[deploy] [Moderation] Allow admins to delete comments (#9628)
* Styling of Delete Comment

* Start hooking DELETE action up

* Add new route

* Add new action

* Update comment_policy.rb

* Update specs for comment_policy.rb

* Some more specs

* Update api call

* Building delete functionality

* Still building...

* Complete implementation

* Changes from PR review

* Fix failing spec; rework admin_delete method

* Protect redirect

* Improve admin_delete method

* Protect redirect

* Refactor JS file and admin_delete method

* Fix flash messages issues

* Fix confirm dialog

* Final QA changes
2020-08-13 10:15:48 -04:00
..
.storybook Sass loader 9.0.1 upgrade (#9146) 2020-07-06 09:40:53 +02:00
actionsPanel Make small CSS improvements to mod center (#9315) [deploy] 2020-07-15 09:54:19 -07:00
admin [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
analytics Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
article-form [deploy] Update <ImageUploader /> class component to use hooks (#9369) 2020-07-27 17:09:28 -04:00
articles Buttons: Ghost Dimmed (#9626) 2020-08-06 11:03:06 +02:00
chat [deploy] 🐞Fixes #9503 When joining a new room, user is not taken to the new room (#9564) 2020-07-30 16:21:55 -04:00
CommentSubscription Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04:00
common-prop-types [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
contentDisplayPolicy More frontend lint fixes (#8931) 2020-06-29 08:19:13 -04:00
crayons Updated docs.dev.to to docs.forem.com (#9666) 2020-08-07 11:24:53 -04:00
githubRepos Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04:00
icons Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
leftSidebar More frontend test cleanup (#8919) 2020-06-25 18:04:01 -04:00
listings [deploy] Bug Fix:Redirect to Direct User Channel for Org Listings (#9616) 2020-08-04 10:37:15 -05:00
modCenter [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
onboarding [deploy] Display banner if site hasn't been configured (PRE DEPLOYMENT TASKS) (#8435) 2020-07-07 07:37:04 -05:00
organization More frontend test cleanup (#8919) 2020-06-25 18:04:01 -04:00
packs [deploy] [Moderation] Allow admins to delete comments (#9628) 2020-08-13 10:15:48 -04:00
podcasts Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
profileDropdown Fix TypeError: userData is null in blockButton.js (#9299) 2020-07-14 07:28:53 -07:00
readingList [deploy] Refactor code blocks styling (#8975) 2020-06-29 21:15:11 -04:00
responseTemplates Add null safety to handleLoggedOut() (#9062) 2020-07-02 10:51:37 +02:00
Search Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04:00
searchableItemList Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
shared/components [deploy] Fix tag input patterns (#9363) 2020-07-20 08:06:36 -05:00
sidebar-widget More frontend test cleanup (#8919) 2020-06-25 18:04:01 -04:00
Snackbar Fixed a bunch of linting issues in components (#8921) 2020-06-26 10:26:02 -04:00
utilities [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
.eslintrc.js Added a comment mentioning that index.js overrides are for barrel files (#8978) 2020-06-29 10:52:35 -04:00
netlify.toml Update Netlify config to handle stylesheet changes for Storybook (#9753) 2020-08-12 11:02:14 -04:00