docbrown/app/javascript/listings/components
Miguel Nieto A 148f242892
Replace listings tag component (#16855)
* wip

* feat:  Use MultiSelectAutocomplete for Tags

* feat:  Add additional tags for listings

* refactor: ♻️ Use preact/hooks and refactor propTypes

* fix: 🐛 Fix addiional tags support depending on the selected category

- Add slug to returned array in select_options_for_categories helper
- Differentiate the fields categoryId and categorySlug

* fix: 🐛 Adjust propTypes

* test: 🚨 Change test for select_options_for_categories helper

* refactor: ♻️ Apply requested changes

* refactor: ♻️ Remove border prop - default is true

* test: 🚨 Add test suite for ListingTagsField component

* refactor: ♻️ Apply requested changes

* refactor: ♻️ Remove unnecessary forEach + Improve code legibility

* docs: 📚 Remove topTags from hook documentation

* refactor: ♻️ Use the alias for crayons folder + Use loclaCompare in sort

* test: 🚨 Clean up mock response

* fix: 🐛 Reorder styles

* style: 🎨 Add comment to TagAutocompleteOption/Selection components
2022-03-30 16:51:40 +01:00
..
AllListings.jsx fix some landmark issues in listings (#13602) 2021-04-30 18:34:27 +02:00
BodyMarkdown.jsx No longer allow Connect messaging for listings (#14741) 2021-09-20 06:20:13 -04:00
Categories.jsx Replace listings tag component (#16855) 2022-03-30 16:51:40 +01:00
CategoryLinks.jsx Fixed lint:frontend npm script (#15631) 2021-12-02 07:42:30 +00:00
CategoryLinksMobile.jsx Fixed lint:frontend npm script (#15631) 2021-12-02 07:42:30 +00:00
ClearQueryButton.jsx
ExpireDate.jsx
ListingFilters.jsx Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
ListingFiltersCategories.jsx Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
ListingFiltersTags.jsx Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
ListingTagsField.jsx Replace listings tag component (#16855) 2022-03-30 16:51:40 +01:00
Modal.jsx ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
ModalBackground.jsx
NextPageButton.jsx
SelectedTags.jsx Page headers unified (#15158) 2021-10-25 21:41:29 +02:00
Title.jsx