docbrown/app/assets/javascripts/initializers
Fernando Valverde affc704c9b
Runtime Banner for Mobile Deep Linking (#13190)
* First version using custom schemes for iOS

* Starting to take shape with /r/mobile redirect page

* Wording and aasa

* Adds e2e tests

* Trigger CI

* Tweaks to AASA

* Uses external pivot domain to trigger Universal Links

* Add missing external domain deep link

* Fix test by enabling runtime_banner only in E2E tests

* Fix URL encoding mismatch in Cypress test

* banner sttyling

* Cleanup unrelated changes

* Add AASA tests + remove lingering Gemfile.lock changes

* Fix cypress test

* Remove unnecessary window global assignment

* Trigger Travis

* Replace querySelectorAll with querySelector

* Apply suggestions from code review

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

* Refactor inline comments, extract URL.deep_link logic and other review feedback

* Small tweaks

* Remove untrusted user-provided redirect (CodeQL suggestion)

* Fix failing tests

* Whoops - another test fix

* Use Forem's UDL server

* Extract timeoutDelay and add comment clarifying

* Add target='_blank' to deep link

* Add TODO comment for replacing hardcoded identifiers

* Apply suggestions from code review

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* Add a11y attributes

Co-authored-by: Paweł Ludwiczak <ludwiczakpawel@gmail.com>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-04-23 15:45:34 -06:00
..
initializeAllChatButtons.js Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
initializeAllFollowButts.js improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00: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 Remove HTML errors (PR n°2 - fixed) (#13350) 2021-04-14 14:06:44 +02:00
initializeBaseTracking.js.erb Fetch GA Tracking ID from SiteConfig (#10262) 2020-09-09 18:17:44 -04:00
initializeBaseUserData.js Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
initializeBodyData.js Ensure user data is unset if no user is logged in (#13024) 2021-03-23 07:36:49 -05: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
initializeCommentDropdown.js Comments UI update (#11283) 2020-11-18 18:21:19 -05:00
initializeCommentPreview.js Fixed twitter timeline display in comments preview (#12542) 2021-02-15 17:09:18 +01:00
initializeCommentsPage.js.erb crayons-notice accessibility improvements (#13273) 2021-04-14 13:32:57 +01: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
initializeEllipsisMenu.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeHeroBannerClose.js Add missing aria label for campaign close button (#12489) 2021-01-29 17:51:18 -05:00
initializeLocalStorageRender.js Replace querySelector and getElementsByTagName when selecting for head and body (#8315) 2020-06-08 20:08:40 -04: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 Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
initializePWAFunctionality.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeReadingListIcons.js improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
initializeRuntimeBanner.js Runtime Banner for Mobile Deep Linking (#13190) 2021-04-23 15:45:34 -06: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 New sidebar navigation (#7212) 2020-04-15 18:16:33 +02:00
initializeTimeFixer.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
initializeUserProfilePage.js Use faster JS selection methods (#11409) 2020-11-16 17:35:50 +01:00
initializeVideoPlayback.js Podcast + Video player native bridge small refactor (#11345) 2020-11-10 07:36:05 -06:00
initNotifications.js Notifications redesign (#11084) 2020-10-29 20:38:17 +01:00
initScrolling.js [15 min fix] Fix following tags input a11y errors (#13425) 2021-04-23 14:40:02 +01:00
runtime.js Split Settings::Authentication from SiteConfig (#13095) 2021-04-12 09:41:09 +02:00