docbrown/app/javascript
Nick Taylor df31a94f2e
Prep work to sync mobile search in #10424 (#11525)
* Prep work to sync mobile search in #10424

* Added a comment about the custom search event.

* Refactor to fix already defined error caused by const and InstantClick.

* Moved <SearchFormSync /> out of the pack file.

* Fixed broken tests.

* Renamed getInitialSearchTerm utility function to getSearchTermFromUrl

* Added some API docs to getSearchTermFromUrl

* Fixed a typo.

* Added some more API docs.

* Switched to a custom event so a custom payload can be passed.

* Added some API docs.

* Fixed bad destructuring statement.

* wip for some more tests.

* Refactored getSearchTermFromUrl to use URLSearchParams

* lazy loaded state for search term initial value.

* test broken still. Need to think on it.

* filterXSS is now set up in testSetup.js

* Fixed tests.

* Added the @utilities alias to Storybooks webpack config.

* Almost 100% coverage with two useful tests.

* Added some comments explaining document.body usage in the tests.

* Fixed issue where search attemps to get results on first load.

* Small refactor for setting the window.location in tests.

* Clarified an explanation in a comment.
2020-11-30 06:13:06 -05:00
..
.storybook Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
actionsPanel Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
admin Allow Forems to specify which domains are allowed for registration (#11442) 2020-11-17 08:43:46 -05:00
analytics Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
article-form Fixed some frontend tests causing unhandled rejection errors (#11627) 2020-11-26 06:11:25 -05:00
articles Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
chat Fixed some frontend tests causing unhandled rejection errors (#11627) 2020-11-26 06:11:25 -05:00
CommentSubscription Z-index cleanups (#11157) 2020-10-30 16:03:23 +01:00
common-prop-types [deploy] 🚀 Feature: Chat channel membership manager component (#8945) 2020-07-20 08:08:31 -04:00
contentDisplayPolicy Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
crayons Update JS dependencies with yarn upgrade (#11589) 2020-11-24 11:17:25 -05:00
githubRepos Deprecate old button stylings with Crayons buttons (#10694) [deploy] 2020-10-14 07:28:41 -07:00
icons Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
leftSidebar [deploy] Fix tag display bug and crayonsify area (#10868) 2020-10-20 16:07:17 -04:00
listings Update JS dependencies with yarn upgrade (#11589) 2020-11-24 11:17:25 -05:00
modCenter Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
onboarding Fixed some frontend tests causing unhandled rejection errors (#11627) 2020-11-26 06:11:25 -05:00
organization Fixed Error: Not implemented: window.computedStyle(elt, pseudoElt) console error in frontend tests. (#11633) 2020-11-26 16:55:33 -05:00
packs Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
podcasts Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
profileDropdown Fix TypeError: userData is null in blockButton.js (#9299) 2020-07-14 07:28:53 -07:00
readingList Fix frontend test setup file (#11623) 2020-11-25 15:27:06 -05:00
responseTemplates Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
Search Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
searchableItemList Filter by tags of reading list items not tags you follow (#11394) 2020-11-13 10:45:32 -05:00
shared/components Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
sidebar-widget Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
Snackbar Fixed <Snackbar /> component displayName property. (#11460) 2020-11-18 06:41:00 -05:00
utilities Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
.eslintrc.js Added a comment mentioning that index.js overrides are for barrel files (#8978) 2020-06-29 10:52:35 -04:00
netlify.toml Update Netlify config to handle stylesheet changes for Storybook (#9753) 2020-08-12 11:02:14 -04:00