Skip to content

Commit

Permalink
Fix string for dashboard
Browse files Browse the repository at this point in the history
- Lazymount all tabs for LeadPanel
  • Loading branch information
tnagorra authored and frozenhelium committed Feb 13, 2019
1 parent 9839235 commit 143ab78
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
vendor/
src/public/
generated/

# testing
/coverage
Expand All @@ -22,7 +23,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

generated/
*.tmp
*.bak
*.swp
4 changes: 3 additions & 1 deletion src/components/leftpanel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default class LeftPane extends React.PureComponent {
};
},
mount: true,
lazyMount: true,
wrapContainer: true,
},
'tabular-preview': {
Expand All @@ -193,7 +194,7 @@ export default class LeftPane extends React.PureComponent {
};
},
mount: true,
// lazyMount: true,
lazyMount: true,
wrapContainer: true,
},
'assisted-tagging': {
Expand Down Expand Up @@ -247,6 +248,7 @@ export default class LeftPane extends React.PureComponent {
};
},
mount: true,
lazyMount: true,
wrapContainer: true,
},
})
Expand Down
8 changes: 4 additions & 4 deletions src/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export const commitHash = process.env.REACT_APP_DEEP_COMMIT_SHA;
// _ts('components.navbar', 'alphaLabel')
// _ts('components.navbar', 'nightlyLabel')
// _ts('components.navbar', 'devLabel')
// _ts('components.dashboard', 'betaLabel')
// _ts('components.dashboard', 'alphaLabel')
// _ts('components.dashboard', 'nightlyLabel')
// _ts('components.dashboard', 'devLabel')
// _ts('dashboard', 'betaLabel')
// _ts('dashboard', 'alphaLabel')
// _ts('dashboard', 'nightlyLabel')
// _ts('dashboard', 'devLabel')
export const envText = (
(isBeta && 'betaLabel') ||
(isAlpha && 'alphaLabel') ||
Expand Down
26 changes: 8 additions & 18 deletions src/redux/initial-state/dev-lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
"137": "Remove lead",
"138": "Add entry from this lead",
"139": "Add subcategory",
"140": "This lead type is unrecognized.",
"141": "Are you sure you want to remove this lead? The lead along with all the associated entries and assessment will be removed.",
"142": "Tabular",
"143": "Add assessment from this lead",
Expand Down Expand Up @@ -1299,13 +1298,6 @@
"summaryTabLabel": 7003,
"scoreTabLabel": 7004,
"noAryTemplateForProject": 144,
"simplifiedTabLabel": 424,
"assistedTabLabel": 517,
"originalTabLabel": 518,
"tabularTabLabel": 142,
"imagesTabLabel": 519,
"entriesTabLabel": 15,
"unrecognizedLeadMessage": 140,
"saveButtonTitle": 25,
"cancelButtonTitle": 61
},
Expand Down Expand Up @@ -2241,8 +2233,7 @@
"tabularTabLabel": 142,
"quantitativeTabLabel": 15000,
"imagesTabLabel": 519,
"entriesTabLabel": 15,
"unrecognizedLeadMessage": 140
"entriesTabLabel": 15
},
"editEntry.overview.leftpane.entryList": {
"altLabel": 512,
Expand Down Expand Up @@ -2464,7 +2455,11 @@
"toLabel": 1000
},
"dashboard": {
"deepLabel": 876
"deepLabel": 876,
"alphaLabel": 1238,
"betaLabel": 1237,
"devLabel": 1240,
"nightlyLabel": 1239
},
"widgets.tagging.conditional": {
"noWidgetFoundText": -99467671
Expand Down Expand Up @@ -2533,12 +2528,7 @@
"geoLabel": -50186668,
"wordCloudLabel": -50602560
},
"components.dashboard": {
"alphaLabel": 1238,
"betaLabel": 1237,
"devLabel": 1240,
"nightlyLabel": 1239
},
"components.dashboard": {},
"geoViz": {
"noRegionSelectedMessage": -14762237,
"invalidRegion": -78572254
Expand Down Expand Up @@ -2609,4 +2599,4 @@
"columnShowButtonTooltip": -43793403
}
}
}
}

0 comments on commit 143ab78

Please sign in to comment.