<commit_before>import React from 'react';

const Projects = props => {
  return (
    <ul className="projects">
      {Object.keys(props.projects).map(projectId => {
        const ticket = props.projects[projectId][0];
        return (
          <li key={projectId}>
            {ticket.company.name} &mdash;
            <button
              type="button"
              className="btn-link"
              onClick={props.searchProject.bind(this, {
                company: ticket.company.name,
                project: ticket.project.name,
              })}
            >
              {ticket.project.name}
            </button>
          </li>
        );
      })}
    </ul>
  );
};

export default Projects;
<commit_msg>Move projects dropdown to Bootstrap list-group<commit_after>import React from 'react';

const Projects = props => {
  return (
    <div className="projects list-group">
      {Object.keys(props.projects).map(projectId => {
        const ticket = props.projects[projectId][0];
        return (
          <button
            key={projectId}
            type="button"
            className="list-group-item"
            onClick={props.searchProject.bind(this, {
              company: ticket.company.name,
              project: ticket.project.name,
            })}
          >
            <strong>{ticket.company.name}</strong> &mdash; {ticket.project.name}
          </button>
        );
      })}
    </div>
  );
};

export default Projects;

{'fraction_non_alphanumeric': 0.13174061433447098, 'fraction_numerical': 0.0013651877133105802, 'mean_word_length': 1.7047970479704797, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '3204148', 'n_tokens_mistral': 406, 'n_tokens_neox': 391, 'n_words': 72}