docbrown/app/javascript/shared/components/__tests__
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
..
dateTime.test.jsx Bump jest from 26.6.3 to 27.2.0 (#14722) 2021-09-14 11:20:15 -04:00
focusTrap.test.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
MediaQuery.test.jsx Some eslint fixes. (#14605) 2021-08-27 08:37:09 +01:00
useKeyboardShortcuts.test.jsx Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
useListNavigation.test.js Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
useMediaQuery.test.js Created the <MediaQuery /> component and useMediaQuery hook. (#12809) 2021-02-25 14:28:44 -05:00