docbrown/app/javascript/article-form/components
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
..
__stories__ Add Storybook entry for tag suggestion item (#15811) 2022-01-05 07:51:44 +00:00
__tests__ Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00
Help generator cleanup (#15284) 2021-11-08 11:55:24 +01:00
AccessibilitySuggestions.jsx Advise users about potential accessibility failings in their posts - RFC #58 (#13745) 2021-06-03 10:27:12 +01:00
ArticleCoverImage.jsx Add markdown toolbar to V2 editor (#15347) 2021-11-29 07:50:17 +00:00
ClipboardButton.jsx Implementing new buttons (#15843) 2022-01-14 10:28:31 +01:00
Close.jsx Implementing new buttons (#15843) 2022-01-14 10:28:31 +01:00
dragAndDropHelpers.js
EditorActions.jsx Implementing new buttons (#15843) 2022-01-14 10:28:31 +01:00
EditorBody.jsx Add markdown toolbar to V2 editor (#15347) 2021-11-29 07:50:17 +00:00
ErrorList.jsx Fix PropTypes Error Create New Post Page (#14969) 2021-10-11 09:48:24 -04:00
Form.jsx Fix PropTypes Error Create New Post Page (#14969) 2021-10-11 09:48:24 -04:00
Header.jsx Fix PropTypes Error Create New Post Page (#14969) 2021-10-11 09:48:24 -04:00
ImageUploader.jsx Implementing new buttons (#15843) 2022-01-14 10:28:31 +01:00
index.js
Meta.jsx Fix PropTypes Error Create New Post Page (#14969) 2021-10-11 09:48:24 -04:00
Options.jsx Implementing new buttons (#15843) 2022-01-14 10:28:31 +01:00
PageTitle.jsx Fix PropTypes Error Create New Post Page (#14969) 2021-10-11 09:48:24 -04:00
pasteImageHelpers.js
Preview.jsx add missing unique key to fragment created with map (#14395) 2022-01-05 11:07:33 +00:00
Tabs.jsx Log prop-types warnings to console in development (#14635) 2021-09-01 09:27:58 +01:00
TagAutocompleteOption.jsx Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00
TagAutocompleteSelection.jsx Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00
TagsField.jsx Add new tag autocomplete to editor (#16025) 2022-01-21 08:58:05 +00:00
Title.jsx Rename WRITE A POST to CREATE POST (#13855) 2021-05-25 10:30:30 -07:00
Toolbar.jsx pullToRefresh adjustments - fixing scrolling hijacking (#15644) 2021-12-02 17:00:02 +01:00