docbrown/app/javascript/shared/components
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
..
__tests__ Replace listings tag component (#16855) 2022-03-30 16:51:40 +01:00
dateTime.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
defaultSelectionTemplate.jsx BETA version 2 of the Storybook Multi Input (Editing and Accessibility) (#17894) 2022-06-23 15:41:45 +02:00
focusTrap.jsx Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
MediaQuery.jsx Created the <MediaQuery /> component and useMediaQuery hook. (#12809) 2021-02-25 14:28:44 -05:00
useKeyboardShortcuts.js treat cmd and ctrl key shortcuts separately on macOS (#15265) 2021-11-03 11:54:15 +00:00
useListNavigation.js Fix feed navigation shortcuts when first article is not 100% visible (#11874) 2021-04-13 22:35:50 -04:00
useMediaQuery.js Admin member index: update responsive layouts (#17124) 2022-04-07 14:36:43 +01:00