docbrown/app/assets/javascripts/initializers
Fernando Valverde 75a722bd6e
ForemMobile namespaced functions (#15212)
* window.ForemMobile namespaced functions

* Fix broken Buildkite

* Wait for data-loaded before using Runtime in pack

* Bring back sprockets base

* Better error handling

* Smal fixes to ConsumerApp to support Android platform

* Fix typo

* utilities/waitForDataLoaded.js

* Update app/javascript/utilities/waitForDataLoaded.js

Co-authored-by: Nick Taylor <nick@forem.com>

* Review feedback

* Fix failing spec

* Cleanup promise

* Remove old utility file

* Add Cypress check for namespaced availability

* More specs

* Refactor to rely on ForemMobile for native bridge messaging

* Fix spec/requests/api/v0/instances_spec.rb

* Fix devices spec

* Remove changes to /api/instance

* Refactor to dynamic import

* Fix typo

* Fixed custom event detail payload for tests.

* mock ForemMobile function instead of webkit call directly

* failing jest test debug

* Another attempt

* Fixed broken test that was missing an onMainImageUrlChange prop on the component.

* Fixed mobile bridging E2E tests.

* Move Cypress tests to mobileFlows

* Add JSDocs + cypress spec for injectJSMessage when logged out

* Cleanup + Disable native image upload until AppStore approval

Co-authored-by: Nick Taylor <nick@forem.com>
Co-authored-by: Nick Taylor <nick@dev.to>
2021-11-23 15:25:29 -06:00
..
initializeAllTagEditButtons.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeArchivedPostFilter.js Fixes archived button in dashboard for PWA (#8930) 2020-06-26 11:26:12 -04:00
initializeArticleDate.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeArticleReactions.js Zappat0n/add rate limit model everywhere 11500 (#14609) 2021-09-23 10:49:19 +01:00
initializeBaseTracking.js.erb [Tiny fix] Fix a couple small bugs from DisplayAd clean up (#14846) 2021-09-28 15:51:30 -04:00
initializeBaseUserData.js Article layout (#14753) 2021-09-30 19:08:06 +02:00
initializeBodyData.js Creator Onboarding: Creator Setup View (#14728) 2021-11-01 15:50:08 -04:00
initializeBroadcast.js Hide active broadcasts from /connect routes (#10312) 2020-09-14 11:28:18 +02:00
initializeColorPicker.js Move the color picker to its own initializer file (#11693) 2020-12-01 15:34:44 +02:00
initializeCommentDate.js Fix lint in initializeCommentDate.js (#4319) [ci skip] 2019-10-09 14:33:52 -04:00
initializeCommentPreview.js Fixed twitter timeline display in comments preview (#12542) 2021-02-15 17:09:18 +01:00
initializeCommentsPage.js.erb Hiding comments: an option to hide or keep children (#15178) 2021-11-18 11:57:40 +03:00
initializeCreditsPage.js Refactor: initializeCreditsPage.js (#4312) [ci skip] 2019-10-08 12:33:28 -04:00
initializeDashboardSort.js [deploy] Dashboard updates (#8879) 2020-06-25 13:10:17 -04:00
initializeDateTimeHelpers.js [deploy] Add local_date helper to handle dates with respect of user timezone (#9285) 2020-07-16 08:45:44 -06:00
initializeDrawerSliders.js Remove swipe gestures and other unnecessary code (#12027) 2020-12-30 12:17:29 -05:00
initializeHeroBannerClose.js Add missing aria label for campaign close button (#12489) 2021-01-29 17:51:18 -05:00
initializeLocalStorageRender.js Use a single listener for all follow buttons on a page (#14246) 2021-07-27 10:45:50 +01:00
initializeOnboardingTaskCard.js Fix TypeError: userData is null in initializeOnboardingTaskCard.js (#9298) [deploy] 2020-07-14 07:32:57 -07:00
initializePaymentPointers.js Check for meta payment pointer first before attempting to load (#9722) 2020-08-10 18:12:48 -04:00
initializePodcastPlayback.js ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00
initializePWAFunctionality.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeReadingListIcons.js [15 min fix] Update flaky test in loggedOutFlows (#14271) 2021-07-19 15:25:41 +02:00
initializeSettings.js Layout updates (#8107) 2020-06-04 16:12:17 +02:00
initializeSpecialNavigationFunctionality.js CSS Cleanups, part 2 (#10527) 2020-10-03 06:57:57 +02:00
initializeSponsorshipVisibility.js Use a single listener for all follow buttons on a page (#14246) 2021-07-27 10:45:50 +01:00
initializeTimeFixer.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeUserProfilePage.js Optimise dropdowns for accessibility - Profile page (#13916) 2021-06-14 12:31:23 +01:00
initializeVideoPlayback.js ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00
initNotifications.js Zappat0n/add rate limit model everywhere 11500 (#14609) 2021-09-23 10:49:19 +01:00
initScrolling.js Videos UI update (#15177) 2021-10-28 09:34:44 +02:00
runtime.js treat cmd and ctrl key shortcuts separately on macOS (#15265) 2021-11-03 11:54:15 +00:00