<commit_before>import React from 'react';
import actions from '../actions/ipsumActions.js';
import { connect } from 'react-redux';
import maps from '../mappingFunctions.js';
import { Panel, Col } from 'react-bootstrap';

class MainPageAppView extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  generateHeader() {
    return (
      <div className="AppViewHeaderText">DONALD TRUMP - {this.props.selected.id} - 3/5 </div>

    );
  }

  render() {
    return (
      <div className="MainPageAppView">
        <Col xs={10} xsOffset={1} >
          <Panel header={this.generateHeader()}>
            Panel content <br />
            Panel content<br />
            Panel content<br />
            Panel content<br />
            Panel content<br />
          </Panel>
        </Col>
      </div>
    );
  }
}

MainPageAppView = connect(state => ({ state: state }))(MainPageAppView);
export default MainPageAppView;<commit_msg>add graph panel and buttons to main app views<commit_after>import React from 'react';
import actions from '../actions/ipsumActions.js';
import { connect } from 'react-redux';
import maps from '../mappingFunctions.js';
import { Button, ButtonToolbar, Panel, Col } from 'react-bootstrap';

class MainPageAppView extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  generateHeader() {
    return (
      <div className="AppViewHeaderText">DONALD TRUMP - {this.props.selected.id} - 3/5 </div>

    );
  }

  render() {
    return (
      <div className="MainPageAppView">
        <Col xs={10} xsOffset={1} >
          <Panel header={this.generateHeader()}>
            <Panel>
              GRAPH GOES HERE
            </Panel>
            <ButtonToolbar>
              <Button bsSize="xsmall">Graph Option 1</Button>
              <Button bsSize="xsmall">Graph Option 2</Button>
              <Button bsSize="xsmall">Graph Option 3</Button>
              <Button bsSize="xsmall">Graph Option 4</Button>
              <Button bsSize="xsmall">Graph Option 5</Button>

            </ButtonToolbar>
            Panel content <br />
            Panel content<br />
            Panel content<br />
            Panel content<br />
            Panel content<br />
          </Panel>
        </Col>
      </div>
    );
  }
}

MainPageAppView = connect(state => ({ state: state }))(MainPageAppView);
export default MainPageAppView;
{'fraction_non_alphanumeric': 0.13464696223316913, 'fraction_numerical': 0.006157635467980296, 'mean_word_length': 2.266756032171582, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4135299', 'n_tokens_mistral': 722, 'n_tokens_neox': 692, 'n_words': 170}