docbrown/app/javascript/crayons
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
..
avatarsAndLogos Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Button Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
ButtonGroup Update a11y of ButtonGroup component (#15765) 2021-12-15 12:52:33 +00:00
Buttons Now <viewbox /> is preserved in SVGs when using the inline-react-svg plugin (#16287) 2022-01-24 16:25:14 -05:00
CTAs Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Dropdown Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
formElements Add quick select ranges to date range picker (#17850) 2022-06-08 15:48:06 +01:00
guidelines/__stories__ Storybook improvements (#15860) 2022-01-14 11:06:42 +01:00
Icons Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Indicators Color tokens (#16107) 2022-01-21 07:41:03 +01:00
Links Now <viewbox /> is preserved in SVGs when using the inline-react-svg plugin (#16287) 2022-01-24 16:25:14 -05:00
MarkdownToolbar Feature/add embed icon to editor toolbar (#17781) 2022-06-10 17:33:23 +05:30
MentionAutocompleteTextArea Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
MobileDrawer Bump @testing-library/user-event from 13.5.0 to 14.1.0 (#17253) 2022-04-13 10:41:08 -06:00
Modal Allow ModRole & Admin to Suspend & Unsuspend User (#17946) 2022-06-27 12:45:35 -04:00
MultiInput BETA version 2 of the Storybook Multi Input (Editing and Accessibility) (#17894) 2022-06-23 15:41:45 +02:00
MultiSelectAutocomplete BETA version 2 of the Storybook Multi Input (Editing and Accessibility) (#17894) 2022-06-23 15:41:45 +02:00
navigation/NavigationTabs/__stories__ Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Notice/__stories__ Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Pills Crayons: Pills component (#16271) 2022-01-27 15:34:03 +01:00
Spinner Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
storybook-utilities Storybook: Add DocsPage and test out static content (#11397) 2020-12-02 09:56:38 -08:00
typography/__stories__ Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
index.js Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00