docbrown/app/javascript/shared/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
..
__tests__ Replace listings tag component (#16855) 2022-03-30 16:51:40 +01:00
dateTime.jsx Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
focusTrap.jsx improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
MediaQuery.jsx Created the <MediaQuery /> component and useMediaQuery hook. (#12809) 2021-02-25 14:28:44 -05:00
useKeyboardShortcuts.js treat cmd and ctrl key shortcuts separately on macOS (#15265) 2021-11-03 11:54:15 +00:00
useListNavigation.js Fix feed navigation shortcuts when first article is not 100% visible (#11874) 2021-04-13 22:35:50 -04:00
useMediaQuery.js Fixed Reading List on Mobile + Small Improvements (#12755) 2021-04-08 12:53:43 +01:00