docbrown/app/javascript
Arit Amana a78ccf2310
[deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995)
* Make FlagUserModal show up on click

* Explain extra div

* Make sure "Vomit All" reaction fires accurately

* Make test-file comment clearer

* Fix bug when 2 articles are open and the FlagUser modal does not open for the first article

* Still working it out ...

* Tests broken; need help

* Get rid of debugging alerts

* Fixed broken tests for <SingleArticle />

* Write tests for ModerationArticles component

* Complete tests for ModerationArticles component

* Employ safer Preact testing techniques

* Query all articles using "data-testid"

* Revert changes

* Got it working with portals for non-iframe implementation.

* wip tests

* Got mod tools flag user modal wprking on article page again.

* Added some documentation the code.

* Now confirm is disabled until you select an item in the flag user modal.

* Revert "wip tests"

This reverts commit fb7a0825039fd377cad04d9dedad9d1146b03978.

* test prep

* Fixed broken test.

* Refactored to use useRef hook.

* Rename a variable

* remove unnecessary comments

Co-authored-by: Nick Taylor <nick@dev.to>
2020-07-15 13:54:52 -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
analytics Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
article-form [deploy] Add crayons to pages (#9175) 2020-07-07 09:43:54 -04:00
articles Fix listing card view reactions formatting (#8988) 2020-06-30 16:39:10 -04:00
chat [deploy] 🐞 Hotfix Real time chat was broken (#9293) 2020-07-14 07:01:38 -04:00
CommentSubscription Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04:00
common-prop-types Fix broken tag filters in listings (#8086) 2020-05-28 10:24:50 +02:00
contentDisplayPolicy More frontend lint fixes (#8931) 2020-06-29 08:19:13 -04:00
crayons Added spinner/upload message when uploading an image to a post's content (#8986) 2020-06-30 13:52:47 -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
internal [deploy] Update design and functionality of internal/articles (#7517) 2020-04-26 18:27:09 -04:00
leftSidebar More frontend test cleanup (#8919) 2020-06-25 18:04:01 -04:00
listings More frontend lint fixes (#8931) 2020-06-29 08:19:13 -04: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] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -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 Upgraded to preact testing library 2.0.0 (#9103) 2020-07-06 14:53:10 -04: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 More frontend lint fixes (#8931) 2020-06-29 08:19:13 -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 Fixed configuration to build Storybook on Netlify. (#8088) 2020-05-27 12:44:30 -04:00