docbrown/app/javascript/packs
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
..
actionsPanel.js [deploy] New Feature: Mod Actions Panel (#7777) 2020-06-08 13:24:18 -04:00
admin.js Renamed internal.js pack file to admin.js (#11046) 2020-10-23 17:57:39 -04:00
analyticsArticle.js Display stats for organization article (#3232) 2019-06-19 09:17:35 -04:00
analyticsDashboard.js Dashboard Pro: support InstantClick and show org analytics (#3102) 2019-06-12 09:40:42 -04:00
articleForm.jsx [deploy] Logo updates (#10840) 2020-10-14 16:13:42 -04:00
articleModerationTools.js [deploy] [ModCenter] Fix "FlagUser" Modal functionality (#8995) 2020-07-15 13:54:52 -04:00
articlePage.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
Chat.jsx Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
clipboardCopy.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
colorPreview.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
commentModPage.js Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
contentDisplayPolicy.js Hide comment feature (#4944) 2019-12-10 15:09:47 -05:00
flagUserModal.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
fullScreenModeControl.js fix for code fullscreen action on comment page (#11224) 2020-11-02 10:57:45 +01:00
githubRepos.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
homePage.jsx Fix document.body.getElementById is not a function (#11446) 2020-11-16 16:21:52 -05:00
homePageFeed.jsx feat: Add shortcut to bookmark an article (#11116) 2020-10-27 12:44:03 -04:00
homePageFeedShortcuts.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
listingDashboard.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
listingForm.jsx Crayonsification of Listings form (#10429) 2020-09-30 09:14:48 +02:00
listings.jsx Upgrade to Preact 10.4.4 (#8739) 2020-06-18 10:07:17 -04:00
modCenter.jsx Mod Center MVP 🎉 (#8744) 2020-06-23 14:58:16 -04:00
notificationSubscriptionHandler.js Replace querySelector and getElementsByTagName when selecting for head and body (#8315) 2020-06-08 20:08:40 -04:00
Onboarding.jsx [deploy] Allow admins to define onboarding images in config (#8431) 2020-06-12 08:48:20 -04:00
onboardingRedirectCheck.jsx Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
orgCreditsSelector.js Crayonsification of Listings form (#10429) 2020-09-30 09:14:48 +02:00
profileDropdown.js New Feature: Block Users (#4411) 2019-10-23 17:14:28 -04:00
readingList.jsx Filter by tags of reading list items not tags you follow (#11394) 2020-11-13 10:45:32 -05:00
responseTemplates.js [deploy] Finalize and add response templates feature (#7068) 2020-04-16 15:53:29 -04:00
Search.jsx Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
sidebarWidget.jsx Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
signupModalShortcuts.jsx Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
stickySaveFooter.js Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
validateFileInputs.js [deploy] Add valiation for file name length to file uploads (#6918) 2020-03-27 18:54:27 -04:00
videoChat.jsx Fixed a bunch of linting issues in components (#8921) 2020-06-26 10:26:02 -04:00
webShare.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00