docbrown/app/views
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
..
admin/application Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
api/v0 Rubocop: Address Metrics/BlockLength violations (#9246) 2020-07-10 13:53:32 -04:00
articles [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
badges Added title attribute for Badges (#5201) 2019-12-27 10:40:29 -05:00
blocks Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
chat_channel_memberships Skynox/fix eslint and redirection bug (#8513) 2020-06-15 17:00:41 -04:00
chat_channels Update Connect responsiveness on smaller viewports (#8829) [deploy] 2020-06-29 09:08:18 -07:00
comments Refactoring comments_controller#create reducing lines (#9162) 2020-07-10 17:24:36 +02:00
credits [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
dashboards change Label Follow Weight Scale for Tags in Dashboard (#9247) 2020-07-14 12:28:43 -05:00
devise [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
doorkeeper Fix erblint errors on the app/views/doorkeeper folder (#8399) 2020-06-11 11:34:31 -04:00
email_subscriptions Removal of morrrre hardcoded dev.to links (#7390) 2020-04-21 11:50:18 +02:00
events [deploy] Configurable meta keywords (#7591) 2020-04-29 09:40:06 -04:00
feedback_messages [deploy] Add crayons to pages (#9175) 2020-07-07 09:43:54 -04:00
fields Ignore unused users columns (#6954) [deploy] 2020-04-01 10:11:40 +02:00
followings Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02: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
html_variants [deploy] Remove sidebar variant from CTA (#8040) 2020-05-23 13:35:43 -04:00
internal [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
kaminari/internal Refactor internal mods page (#7002) 2020-04-03 10:41:09 -04:00
layouts [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
liquid_embeds Fix style issues on liquid tag embed page (#6445) [deploy] 2020-03-04 10:40:34 -05:00
liquids Remove arrow-left-... from github issue embed (#9236) 2020-07-10 10:17:50 -04:00
listings Fix accessiblity warnings on Listings page (#8841) 2020-06-24 13:28:03 +02:00
mailers Fix erblint errors on the app/views/mailers folder (#8402) 2020-06-11 11:34:52 -04:00
moderations [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
notifications Track an event's target when clicking on a welcome notification (#8894) [deploy] 2020-06-24 13:02:37 -07:00
onboardings [deploy] Display banner if site hasn't been configured (PRE DEPLOYMENT TASKS) (#8435) 2020-07-07 07:37:04 -05:00
organizations [deploy] Home Page Feed redesign + top comments (#7579) 2020-05-12 07:57:57 -05:00
pages [deploy] Add markdown version for DEV badge link (#9227) 2020-07-09 17:34:03 -04:00
partnerships Fix remaining erblint errors (#8405) 2020-06-11 20:03:19 +02:00
podcast_episodes [deploy] Quick fix for podcast liquid tag in comments (#8025) 2020-05-21 21:52:13 -04:00
podcasts Validate file uploads client-side (#6737) 2020-03-24 09:21:49 +01:00
reading_list_items [deploy] Remove ALL Algolia Code (#7577) 2020-04-29 10:11:57 -05:00
response_templates Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
service_worker Adds a default value to the shell version cache response in case it returns undefined (#9250) 2020-07-14 12:09:19 +02:00
shared [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
shell SiteConfig view refactoring (#9286) 2020-07-14 11:55:57 +02:00
sitemaps Replaced ApplicationConfig with app_url in views (#7708) 2020-05-08 13:19:29 +03:00
social_previews Refactor classified listing social previews (#7679) 2020-05-06 14:00:09 -04:00
stories [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
tags [deploy] Revert "Add number_with_delimiter to post count (#9225)" (#9242) 2020-07-10 09:45:35 -04:00
twitch_live_streams Replace querySelector and getElementsByTagName when selecting for head and body (#8315) 2020-06-08 20:08:40 -04:00
users [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
video_chats Fix remaining erblint errors (#8405) 2020-06-11 20:03:19 +02:00
videos [deploy] Configurable meta keywords (#7591) 2020-04-29 09:40:06 -04:00