docbrown/app
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
..
assets Make small CSS improvements to mod center (#9315) [deploy] 2020-07-15 09:54:19 -07:00
black_box [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
controllers [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
dashboards [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
decorators Update UserDecorator not to cache AR Object (#8378) 2020-06-10 16:39:36 +02:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
javascript [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
labor [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
lib Routine Rubocop fixes (#9302) 2020-07-14 17:24:03 +02:00
liquid_tags [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
mailers [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
models [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
policies [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
presenters [deploy] Refactor 🚀 : Replaced Chat Channel Setting page with Preact component. (#8271) 2020-06-10 16:58:37 -04:00
queries/internal [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers [deploy] Remove user_counters table (#8445) 2020-06-15 11:46:02 -04:00
services [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
view_objects Rubocop: activate Layout/ClassStructure (#9304) 2020-07-14 18:28:18 +02:00
views [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
workers [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00