docbrown/app/javascript/utilities
Suzanne Aitchison af517bc5aa
Optimise dropdowns for accessibility: Preact component usages (#13948)
* use the dropdown initializer in post editor options

* use dropdown initializer in comment subs dropdown

* use Dropdown component in listings

* show the dropdown button when it's focused

* update storybook notes and components

* add cypress tests for post options dropdown

* add comment subscription tests

* make sure page is properly initialized before setting button functionality

* add jsdoc comments, props types, rely on optional chaining

* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md

Co-authored-by: rhymes <github@rhymes.dev>

* Update app/javascript/crayons/Dropdown/__stories__/dropdowns.md

Co-authored-by: rhymes <github@rhymes.dev>

Co-authored-by: rhymes <github@rhymes.dev>
2021-06-15 12:06:27 +01:00
..
__tests__ Update storybook mention autocomplete component to take over whole textarea (#13044) 2021-03-18 15:04:59 +00:00
connect Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
Constants [deploy] 🚀 Feature: Draw Command for connect with image annotations (#10136) 2020-10-07 16:06:22 +02:00
http Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
markdown Advise users about potential accessibility failings in their posts - RFC #58 (#13745) 2021-06-03 10:27:12 +01:00
search Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
calculateTextAreaHeight.js Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
codeFullscreenModeSwitcher.js [15 Minute Fix] Added the prefer-const eslint rule (#13098) 2021-03-23 16:29:56 -04:00
debounceAction.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
dragAndDrop.js Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
dragAndUpload.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
dropdownUtils.js Optimise dropdowns for accessibility: Preact component usages (#13948) 2021-06-15 12:06:27 +01:00
gist.js Remove defer attributes from inline scripts - gist embeds (#13407) 2021-06-11 08:22:50 +01:00
pasteImage.js Add paste image (#10212) 2021-02-04 10:58:56 -05:00
sendFollowUser.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
textAreaUtils.js Remove input scroll from position (#13569) 2021-04-29 11:00:37 +02:00
viewport.js Fix feed navigation shortcuts when first article is not 100% visible (#11874) 2021-04-13 22:35:50 -04:00