docbrown/app/javascript/article-form/components/__tests__
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
..
AccessibilitySuggestions.test.jsx Advise users about potential accessibility failings in their posts - RFC #58 (#13745) 2021-06-03 10:27:12 +01:00
ArticleCoverImage.test.jsx ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00
Close.test.jsx updates article form to have warning modal (#12430) 2021-01-28 11:32:28 -05:00
dragAndDropHelpers.test.js Drop containers styling (#10203) 2020-09-09 09:37:16 +02:00
Form.test.jsx Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00
Help.test.jsx Added a11y tests to frontend tests that were missing them (#8873) 2020-06-24 14:38:39 -04:00
ImageUploader.test.jsx Spelling (#15702) 2021-12-07 06:59:10 -07:00
Options.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
PageTitle.test.jsx Added a11y tests to frontend tests that were missing them (#8873) 2020-06-24 14:38:39 -04:00
pasteImageHelpers.test.jsx Add paste image (#10212) 2021-02-04 10:58:56 -05:00
Preview.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
Tabs.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00
Title.test.jsx Some frontend testing cleanup. (#8902) 2020-06-25 09:07:34 -04:00