summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_import_tab.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-08-26 15:24:17 -0400
committerChristopher Speller <crspeller@gmail.com>2015-08-26 15:24:17 -0400
commit1ed6718dd964d418ac279e89bba87d346f8aad20 (patch)
tree1b1fb92fc4e25d3f079de21906f4a8da3e2cda0e /web/react/components/team_import_tab.jsx
parent378f0b52c10d3b9dc670da34a0043b7e05f3e93c (diff)
downloadchat-1ed6718dd964d418ac279e89bba87d346f8aad20.tar.gz
chat-1ed6718dd964d418ac279e89bba87d346f8aad20.tar.bz2
chat-1ed6718dd964d418ac279e89bba87d346f8aad20.zip
Improvements to import UI
Diffstat (limited to 'web/react/components/team_import_tab.jsx')
-rw-r--r--web/react/components/team_import_tab.jsx16
1 files changed, 14 insertions, 2 deletions
diff --git a/web/react/components/team_import_tab.jsx b/web/react/components/team_import_tab.jsx
index c21701c0e..ecb3491b0 100644
--- a/web/react/components/team_import_tab.jsx
+++ b/web/react/components/team_import_tab.jsx
@@ -20,10 +20,22 @@ module.exports = React.createClass({
utils.importSlack(file, this.onImportSuccess, this.onImportFailure);
},
render: function() {
+ var uploadHelpText = (
+ <div>
+ <br/>
+ Slack does now allow you to export any of your files or images stored in slack. Private channels and direct message channels are also not exported. Therefore, no files, images, or private channels will be imported.
+ <br/>
+ Slack bot posts are not imported.
+ <br/>
+ Unable to import Slack channels that are not valid Mattermost channels. (ex underscores)
+ <br/>
+ </div>
+ );
var uploadSection = (
<SettingUpload
title='Import from Slack'
submit={this.doImportSlack}
+ helpText={uploadHelpText}
fileTypesAccepted='.zip'/>
);
@@ -39,12 +51,12 @@ module.exports = React.createClass({
break;
case 'done':
messageSection = (
- <p className="confirm-import alert alert-success"><i className="fa fa-check"></i> Import sucessfull: <a href={this.state.link} download='MattermostImportSummery.txt'>View Summery</a></p>
+ <p className="confirm-import alert alert-success"><i className="fa fa-check"></i> Import successful: <a href={this.state.link} download='MattermostImportSummary.txt'>View Summary</a></p>
);
break;
case 'fail':
messageSection = (
- <p className="confirm-import alert alert-warning"><i className="fa fa-warning"></i> Import failure: <a href={this.state.link} download='MattermostImportSummery.txt'>View Summery</a></p>
+ <p className="confirm-import alert alert-warning"><i className="fa fa-warning"></i> Import failure: <a href={this.state.link} download='MattermostImportSummary.txt'>View Summary</a></p>
);
break;
}