w draft
authorgasolin <gasolin@gmail.com>
Thu, 19 Oct 2017 15:11:32 +0800
changeset 683680 561cb9f4484f5f8107eeaed4e08d768bbff82fcb
parent 683679 f71985bf8ef4a11400724a063f2d5bc0a4b1b21f
child 736700 3a0b8a068d9f46dec327a080c3d07bf331d81a5e
push id85434
push userbmo:gasolin@mozilla.com
push dateFri, 20 Oct 2017 02:29:24 +0000
milestone58.0a1
w MozReview-Commit-ID: JdeqM1dvXGv
browser/extensions/onboarding/content/onboarding.js
--- a/browser/extensions/onboarding/content/onboarding.js
+++ b/browser/extensions/onboarding/content/onboarding.js
@@ -25,16 +25,18 @@ const SPEECH_BUBBLE_MIN_WIDTH_PX = 1130;
 const ICON_STATE_WATERMARK = "watermark";
 const ICON_STATE_DEFAULT = "default";
 
 /**
  * Add any number of tours, key is the tourId, value should follow the format below
  * "tourId": { // The short tour id which could be saved in pref
  *   // The unique tour id
  *   id: "onboarding-tour-addons",
+ *   // (optional) mark tour as complete instantly when user click the nav item
+ *   instantComplete: false,
  *   // The string id of tour name which would be displayed on the navigation bar
  *   tourNameId: "onboarding.tour-addon",
  *   // The method returing strings used on tour notification
  *   getNotificationStrings(bundle):
  *     - title: // The string of tour notification title
  *     - message: // The string of tour notification message
  *     - button: // The string of tour notification action button title
  *   // Return a div appended with elements for this tours.