Skip to content

Commit ce8da2e

Browse files
committed
Merge pull request #173 from 10gen/INT-740-hide-tour
INT-740 new feature flag "First Run Tour", disabled by default.
2 parents 3766eb3 + b1a69a4 commit ce8da2e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ var state = new Application({
236236
// via `window.localStorage`.
237237
var FEATURES = {
238238
querybuilder: true,
239+
'First Run Tour': false,
239240
'Connect with SSL': false,
240241
'Connect with Kerberos': false,
241242
'Connect with LDAP': false,

src/home/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ var HomeView = View.extend({
5050
},
5151
render: function() {
5252
this.renderWithTemplate(this);
53-
this.renderSubview(new TourView(), this.queryByHook('tour-container'));
53+
if (app.isFeatureEnabled('First Run Tour')) {
54+
this.renderSubview(new TourView(), this.queryByHook('tour-container'));
55+
}
5456
},
5557
onInstanceFetched: function() {
5658
if (app.instance.collections.length === 0) {

0 commit comments

Comments
 (0)