<commit_before>__webpack_public_path__= window.resURL+'js/';
import React from "react";
import ReactDOM from 'react-dom';
import BuildHistoryPage from './pages/BuildHistoryPage.jsx';
import {job,removeFilter,addFilter} from './api/Api.jsx'; 
import  BuildHistory from './models/BuildHistory.js'
window.onload = function (){
  const buildHistory = new BuildHistory();
  const actions = buildHistory.actions;
  actions.DataChange.onAction = function(buildHistory){
    ReactDOM.render(<BuildHistoryPage buildHistory={buildHistory}/>, document.getElementById('content'));
  }
  actions.QueryChange.onAction = function(buildHistory){
    let query = buildHistory.query;
    ReactDOM.render(<BuildHistoryPage buildHistory={buildHistory}/>, document.getElementById('content'));
    job("buildHistoryTabs,builds[*,commit[*],cause[*],parameters[*]]",query.filter ,query.limit).then(data => {
      actions.DataChange({...data, filters: data.buildHistoryTabs});
    });
  }
  actions.RemoveFilter.onAction = removeFilter;
  actions.AddFilter.onAction = addFilter;

  actions.QueryChange({filter: 'All', limit: 50});

}
<commit_msg>Add tootips back in<commit_after>__webpack_public_path__= window.resURL+'js/';
import React from "react";
import ReactDOM from 'react-dom';
import BuildHistoryPage from './pages/BuildHistoryPage.jsx';
import {job,removeFilter,addFilter} from './api/Api.jsx'; 
import  BuildHistory from './models/BuildHistory.js'
require('./app.css');
window.onload = function (){
  const buildHistory = new BuildHistory();
  const actions = buildHistory.actions;
  actions.DataChange.onAction = function(buildHistory){
    ReactDOM.render(<BuildHistoryPage buildHistory={buildHistory}/>, document.getElementById('content'));
  }
  actions.QueryChange.onAction = function(buildHistory){
    let query = buildHistory.query;
    ReactDOM.render(<BuildHistoryPage buildHistory={buildHistory}/>, document.getElementById('content'));
    job("buildHistoryTabs,builds[*,commit[*],cause[*],parameters[*]]",query.filter ,query.limit).then(data => {
      actions.DataChange({...data, filters: data.buildHistoryTabs});
    });
  }
  actions.RemoveFilter.onAction = removeFilter;
  actions.AddFilter.onAction = addFilter;

  actions.QueryChange({filter: 'All', limit: 50});

}

{'fraction_non_alphanumeric': 0.14964788732394366, 'fraction_numerical': 0.0017605633802816902, 'mean_word_length': 5.887878787878788, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '1737617', 'n_tokens_mistral': 669, 'n_tokens_neox': 656, 'n_words': 118}