docbrown/app/javascript/crayons/Modal
Arit Amana 750d379807
Allow ModRole & Admin to Suspend & Unsuspend User (#17946)
* gotta commit at some point

* out of gas

* IT'S WORKING NOW! 💥

* Cypress tests

* fix Travis failures

* incorporate PR review suggestions

* fix one failing Cypress test

* update API call

* add Unsuspend flow; fix Travis failures

* add tests for unsuspend flow

* remove unnecessary atrribute

* add article_policy spec

* fix failing Travis

* nudge Travis

* fix apparent typo  o o 🤷

* refactor a bunch of duplication

* nudge Travis

* fix Cypress failure related to authorizing moderator for user_status action

* rename modal partial

* remove unnecessary button-exists check

* address PR review suggestions

* hide suspend user btn after action

* toggle btn based on author suspension status

* add data-testids

* use data-testids

* controller refactor
2022-06-27 12:45:35 -04:00
..
__stories__ Member index phase 2 - mock filters modal (#17578) 2022-05-17 15:25:21 +01:00
__tests__ Bump @testing-library/user-event from 13.5.0 to 14.1.0 (#17253) 2022-04-13 10:41:08 -06:00
index.js Modals (#7603) 2020-05-05 15:33:17 +02:00
Modal.jsx Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00