docbrown/app/javascript/crayons
Suzanne Aitchison 222ce06f0f
Add new tag autocomplete to editor (#16025)
* add default placeholder, remove focus on first load

* fix some bugs re autofocus and mouse click to select

* allow custom selected styles to be passed in

* operate on objects with name property rather than plain strings

* WIP main functionality in place

* set default selections, allow a max to be placed on selections

* switch help context

* bug fixes to edit mode, static suggestions

* make sure suggestion resumes when edit begins

* cleanup and docs

* update existing form test

* add component tests

* add more component test cases

* refactor max selections flow, ensure default tag data only loads once

* stop removing combobox properties now the input stays visible

* add max selections test

* refactor

* make sure input refocus happens after blur event

* update cypress tests

* some small renames and doc changes

* only fetch exact matches from added tags

* fix test, update dark theme background

* set a max height on the popover, and ensure options can be scrolled into view

* woops - max height

* Update app/javascript/article-form/components/TagsField.jsx

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>

* refactors

* stop dropdown from flickering

* use ButtonNew

* remove redundant variant

* nudge PR checks

Co-authored-by: Ridhwana <Ridhwana.Khan16@gmail.com>
2022-01-21 08:58:05 +00: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 Storybook updates (#15848) 2022-01-14 11:06:23 +01: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 Storybook updates (#15848) 2022-01-14 11:06:23 +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 Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
MarkdownToolbar Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
MentionAutocompleteTextArea Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
MobileDrawer Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
Modal Storybook updates (#15848) 2022-01-14 11:06:23 +01:00
MultiSelectAutocomplete Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00: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
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