docbrown/app/assets
Suzanne Aitchison 494d92d74c
Create mention autocomplete: initial storybook component (#12831)
* initial setup of component

* initial styles applied

* add some initial docs

* small tweaks to story

* add some very initial tests

* tweaks to styles to add border bottom

* add some preact tests

* import default style in jsx, ignore in jest

* WIP - create MentionAutocompleteListener, attempt to position popover

* position dropdown correctly, exit selection in various scenarios

* refactor

* make sure cursor placed correctly after selection

* only import autocomplete when needed

* rename files, add jsdoc

* update tests and story notes

* tidy up scss file

* fix story styling

* fix aria label in story

* fix issue with key event not triggering in mobile

* position dropdown at input left if small screen

* fix issue with deleting and re-entering

* don't trigger search if directly following a letter or number

* stop change event being fired with highihted text

* move regex out of function into constant
2021-03-05 13:18:26 +00:00
..
config Remove resource_admin dashboards (Administrate) (#11792) 2020-12-08 12:38:13 -06:00
fonts feat: add per-user Open Dyslexic font setting (#5037) [deploy] 2020-01-20 18:23:57 -05:00
images Fix edge cases in profile field UI migration (#12665) 2021-02-11 17:18:46 -05:00
javascripts Disable serviceworkers in Safari part2 (#12909) 2021-03-04 19:14:44 -06:00
stylesheets Create mention autocomplete: initial storybook component (#12831) 2021-03-05 13:18:26 +00:00