<commit_before>import React from 'react';
import {connectToStores} from 'fluxible-addons-react';
import classNames from 'classnames/bind';
import SearchResultsStore from '../../../stores/SearchResultsStore';
import SearchResultsList from './SearchResultsList';


class SearchPanel extends React.Component {

    render() {
        const results = this.props.SearchResultsStore.results;
        const entityList = results.map((s, index) => {
            return (
                <div className="ui item toggle checkbox" key={index} >
                    <input name="toggleCheckbox" type="checkbox" defaultChecked={s.selected} onChange={this.handleChangeToggle.bind(this, s.type, s.id)} />
                    <label><a className="user" href={'/' + s.type + '/' + s.id}>{s.name}</a></label>
                </div>
            );
        });

        const infoStyles = {
            fontWeight: 600
        };

        return (

            <div ref="searchResultsPanel">


                <div className="ui top attached secondary pointing menu">
                    <a className="item active" href="/results">Showing results for: {this.props.SearchResultsStore.query}</a>
                </div>

                <div className="ui grid">
                    <div className="five wide column">
                        <div className="ui basic segment">
                            <h4 className="ui header">Filters:</h4>
                            <label>Users:</label>
                            <div className="subscriptions">
                                <div ref="subscriptionslist">
                                    <div className="ui relaxed list">
                                        hello1
                                    </div>
                                 </div>
                            </div>
                            <label>Slides:</label>
                            <div className="subscriptions">
                                <div ref="subscriptionslist"><commit_msg>[search results - 1st attempt]<commit_after>import React from 'react';
import {connectToStores} from 'fluxible-addons-react';
import classNames from 'classnames/bind';
import SearchResultsStore from '../../../stores/SearchResultsStore';
import SearchResultsList from './SearchResultsList';


class SearchPanel extends React.Component {

    render() {
        const results = this.props.SearchResultsStore.results;


        const infoStyles = {
            fontWeight: 600
        };

        return (

            <div ref="searchResultsPanel">


                <div className="ui top attached secondary pointing menu">
                    <a className="item active" href="/results">Showing results for: {this.props.SearchResultsStore.query}</a>
                </div>

                <div className="ui grid">
                    <div className="five wide column">
                        <div className="ui basic segment">
                            <h4 className="ui header">Filters:</h4>
                            <label>Users:</label>
                            <div className="subscriptions">
                                <div ref="subscriptionslist">
                                    <div className="ui relaxed list">
                                        hello1
                                    </div>
                                 </div>
                            </div>
                            <label>Slides:</label>
                            <div className="subscriptions">
                                <div ref="subscriptionslist">
{'fraction_non_alphanumeric': 0.10785953177257525, 'fraction_numerical': 0.0036231884057971015, 'mean_word_length': 1.35498687664042, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7389132', 'n_tokens_mistral': 820, 'n_tokens_neox': 771, 'n_words': 190}