<commit_before>import React, { Component } from 'react';

const styles = {
	name: {
		fontSize: 14,
		border: '0.2 ridge',
		fontWeight: 'bold',
		fontFamily: 'Verdana',
	},
	body: {
		fontSize: 13,
		border: '0.2 solid',
		fontWeight: 'ridge',
		fontFamily: 'Verdana',
	},
	creator: {
		fontSize: 12,
		border: '0.2 ridge',
		fontWeight: 'normal',
		fontFamily: 'Verdana',
	},
	message: {
		width: '50%',
		border: '0.2px ridge',
		position: 'absolute',
	},
	button: {
		width: 4,
		fontSize: 9,
		float: 'right',
		borderRadius: 100,
	}
};

class TodoItem extends Component {
	render() {
		return (
			<div style={styles.message}>
				<div style={styles.name}>{this.props.todo.name}</div>
				<div style={styles.body}>{this.props.todo.body}</div>
				<div style={styles.creator}>{this.props.todo.creator}</div>
			</div><commit_msg>Added linking to the android emulator.<commit_after>import React, { Component } from 'react';
import { Constants } from '../../lib/Constants';

const styles = {
	name: {
		fontSize: 14,
		fontWeight: 'bold',
		fontFamily: 'Verdana',
		display: 'block',
	},
	body: {
		fontSize: 13,
		fontWeight: 'solid',
		fontFamily: 'Verdana',
		display: 'block',
	},
	creator: {
		fontSize: 12,
		fontWeight: 'normal',
		fontFamily: 'Verdana',
		display: 'block',
	},
	message: {
		width: '50%',
		border: '0.2px solid',
	},
	button: {
		width: 4,
		fontSize: 9,
		float: 'right',
		borderRadius: 100,
	}
};

class TodoItem extends Component {
	render() {
		const todo = this.props.todo,
			thread = (todo.type === Constants.TYPE_THREAD),
			url = 'https://app.heyneighbor.chat/' + todo.parents[0] +
						(thread ? '/' + todo.parents[1] : '');

		return (
			<div style={styles.message}>
				<a href={url}>
					<span style={styles.name}>{todo.name}</span>
					<span style={styles.body}>{todo.body}</span>
					<span style={styles.creator}>{todo.creator}</span>
				</a>
			</div>
{'fraction_non_alphanumeric': 0.1907514450867052, 'fraction_numerical': 0.019968470835522858, 'mean_word_length': 3.490566037735849, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 1, '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': '7461280', 'n_tokens_mistral': 838, 'n_tokens_neox': 724, 'n_words': 155}