docbrown/app/javascript/utilities
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
..
__tests__ Dynamically update the brand colors (#15432) 2021-11-23 09:46:17 +02:00
color Dynamically update the brand colors (#15432) 2021-11-23 09:46:17 +02:00
Constants [deploy] 🚀 Feature: Draw Command for connect with image annotations (#10136) 2020-10-07 16:06:22 +02:00
http Moved src/utils out of src/ folder to utilities/ folder. (#7875) 2020-05-15 10:07:42 -04:00
markdown make default alt text 'image description' (#15063) 2021-10-13 16:37:34 +01:00
search Prep work to sync mobile search in #10424 (#11525) 2020-11-30 06:13:06 -05:00
calculateTextAreaHeight.js Add mention autocomplete to posts (#13101) 2021-03-31 14:42:59 +01:00
codeFullscreenModeSwitcher.js #12643 Add eslint rule for formatting redundant curly braces in jsx (#14592) 2021-08-26 11:15:06 -04:00
debounceAction.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
dragAndDrop.js Drag and drop an image in the editor (#10145) 2020-09-04 14:12:59 -04:00
dragAndUpload.js Ran prettier on *.js, *.jsx and *.md files. (#11586) 2020-11-23 20:45:50 -05:00
dropdownUtils.js Make sure open preview cards don't collapse on scroll (#14482) 2021-08-12 13:29:51 +01:00
getUserDataAndCsrfToken.js ✂✂✂ Remove Connect (#14734) 2021-11-18 08:21:00 -06:00
gist.js Remove defer attributes from inline scripts - gist embeds (#13407) 2021-06-11 08:22:50 +01:00
locale.js Admin-configurable display locale (#14620) 2021-09-28 11:04:35 -04:00
moderation.js [15 min fix] Fixed an issue with the moderation button not appearing on some posts (#14184) 2021-07-13 10:31:00 +02:00
pasteImage.js Add paste image (#10212) 2021-02-04 10:58:56 -05:00
sendFollowUser.js Updates ESLint rules to error on default imports (#12512) 2021-02-02 10:24:03 -05:00
textAreaUtils.js Markdown toolbar - update new line logic for block syntaxes (#15343) 2021-11-19 06:59:21 +00:00
viewport.js Fix feed navigation shortcuts when first article is not 100% visible (#11874) 2021-04-13 22:35:50 -04:00
waitOnBaseData.js ForemMobile namespaced functions (#15212) 2021-11-23 15:25:29 -06:00