hunk.code_window:         let postFooterClassName = 'post-create-footer';
           if (postError) {
               postFooterClassName += ' has-error';
           }
           return (
               <form onSubmit={this.handleSubmit}>
                   <div className='post-create'>
                       <div
                           id={this.props.rootId}
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:         let uploadsInProgressText = null;
           if (this.state.uploadsInProgress.length > 0) {
               uploadsInProgressText = (
                   <span
                       className='pull-right post-right-comments-upload-in-progress'
                   >
                       {this.state.uploadsInProgress.length === 1 ? 'File uploading' : 'Files uploading'}
                   </span>
               );
           }
  
hunk.file_path: web/react/components/create_comment.jsx
hunk.type: add
file: // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  export default class SettingsSidebar extends React.Component {
      constructor(props) {
          super(props);
  
          this.handleClick = this.handleClick.bind(this);
      }
      handleClick(tab, e) {
          e.preventDefault();
          this.props.updateTab(tab.name);
          $(e.target).closest('.settings-modal').addClass('display--content');
      }
      render() {
          let tabList = this.props.tabs.map(function makeTab(tab) {
              let key = `${tab.name}_li`;
              let className = '';
              if (this.props.activeTab === tab.name) {
                  className = 'active';
              }
  
              return (
                  <li
                      key={key}
                      className={className}
                  >
                      <a
                          href='#'
                          onClick={this.handleClick.bind(null, tab)}
                      >
                          <i className={tab.icon} />
                          {tab.uiName}
                      </a>
                  </li>
              );
          }.bind(this));
  
          return (
              <div>
                  <ul className='nav nav-pills nav-stacked'>
                      {tabList}
                  </ul>
              </div>
          );
      }
  }
  
  SettingsSidebar.propTypes = {
      tabs: React.PropTypes.arrayOf(React.PropTypes.shape({
          name: React.PropTypes.string.isRequired,
          uiName: React.PropTypes.string.isRequired,
          icon: React.PropTypes.string.isRequired
      })).isRequired,
      activeTab: React.PropTypes.string,
      updateTab: React.PropTypes.func.isRequired
  };
  