docbrown/app/javascript/utilities
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
..
__tests__
color Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
Constants
http
markdown
search
animatedImageUtils.jsx Place gifs correctly regardless of center tag (#16404) 2022-02-03 15:44:44 +00:00
calculateTextAreaHeight.js
codeFullscreenModeSwitcher.js
debounceAction.js
dragAndDrop.js
dragAndUpload.js
dropdownUtils.js Member index: add copy email to clipboard functionality (#17146) 2022-04-08 14:08:15 +01:00
getUserDataAndCsrfToken.js
gist.js
locale.js
moderation.js
pasteImage.js
runtime.js Fix typo in runtime.js (#17783) 2022-05-31 14:30:04 -04:00
sendFollowUser.js Enable error tracking on sendFollowUser (#17328) 2022-04-18 22:13:31 -04:00
showModal.jsx Reusable user admin modals (#17763) 2022-06-02 09:52:26 -06:00
textAreaUtils.js
viewport.js
waitOnBaseData.js