docbrown/app/javascript/packs/admin
Suzanne Aitchison c119b64b74
Reusable user admin modals (#17763)
* target modal content by a classname to avoid duplicate IDs

* woops - fix missed selector

* use showWindowModal in editUser

* move add org to a partial

* move add role into a partial

* move adjust credits to a partial

* move profile modals to be re-used

* generalise approach to add organisation modal

* generalise add role modal form

* generalise adjust credits modal

* rework unpublish modal

* refactor banish user modal

* refactors

* prevent issues with duplicate ids

* fix banish form action

* make sure role management specs covered in cypress

* let hidden modal content use IDs

* rename file for clarity

* add some JSDoc notes

* cleanup some redundant changes

* one more

* woops - fixed id that contained a classname
2022-06-02 09:52:26 -06:00
..
config Improve the UX of the SMTP Section (#16223) 2022-02-15 18:40:14 +02:00
users Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
creatorOnboarding.jsx Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
editUser.jsx Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
flashMessages.js Filter admin users by status (#16238) 2022-03-02 11:13:59 -05:00
overview.jsx Admin analytics (#16528) 2022-03-28 21:51:51 +02:00