Skip to content

Implement journeys app banner. - #16823

Merged
waheedahmed merged 1 commit into
masterfrom
waheed/LEARNER-2731-implement-journeys-app-banner
Dec 8, 2017
Merged

Implement journeys app banner.#16823
waheedahmed merged 1 commit into
masterfrom
waheed/LEARNER-2731-implement-journeys-app-banner

Conversation

@waheedahmed

@waheedahmed waheedahmed commented Dec 7, 2017

Copy link
Copy Markdown
Contributor

Banners will enable the deep linking functionality for mobile apps.

LEARNER-2731

Make sure that the following steps are done after merging:

  • Add BRANCH_KEY variable in configuration repo
  • Create a Devops ticket to add BRANCH_KEY value in secure vars

@waheedahmed

Copy link
Copy Markdown
Contributor Author

@edx/learner-spartans please review.

@waheedahmed

Copy link
Copy Markdown
Contributor Author

jenkins run a11y

@waheedahmed

Copy link
Copy Markdown
Contributor Author

Configuration PR: https://github.com/edx/configuration/pull/4241

@waheedahmed
waheedahmed requested a review from staubina December 7, 2017 12:38
Banners will enable the deep linking functionality for
mobile apps.

LEARNER-2731
@waheedahmed
waheedahmed force-pushed the waheed/LEARNER-2731-implement-journeys-app-banner branch from a8f5faa to 3ed08e3 Compare December 8, 2017 13:34
Comment thread lms/templates/main.html
<% branch_key = static.get_value("BRANCH_IO_KEY", settings.BRANCH_IO_KEY) %>
% if branch_key:
<script type="text/javascript">
(function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener applyCode banner closeBanner creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode".split(" "), 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If their CDN is down, what's the behavior of this? Will it block loading the whole page?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@feanil No, it will not break the page. Tested locally by breaking the CDN url.

@waheedahmed
waheedahmed merged commit 3fc7882 into master Dec 8, 2017
@waheedahmed
waheedahmed deleted the waheed/LEARNER-2731-implement-journeys-app-banner branch December 8, 2017 14:37
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production on Monday, December 11, 2017.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants