<commit_before>import React from 'react';
import {Link} from 'react-router';

import external from 'assets/images/external.png';

import UserName from './user-name';
import {preventDefault} from '../utils';
import RecentGroups from './recent-groups';

export default ({user, signOut, recentGroups}) => (
  <div className='col-md-3 sidebar'>
    <div className='logged-in'>
      <div className='avatar'>
        <Link to={`/${user.username}`} ><img src={user.profilePictureMediumUrl} width="50" height="50"/></Link>
      </div>

      <div className='user'>
        <div className='author'>
          <UserName user={user} display={user.screenName}/>
        </div>
        <div>
          <Link to='/settings'>settings</Link>
          &nbsp;-&nbsp;
          <a onClick={preventDefault(signOut)}>sign out</a>
        </div>
      </div>
    </div>

    <div className='box'>
      <div className='box-header-friends'>
        Friends
      </div>
      <div className='box-body'>
        <ul>
          <li className='p-home'><Link to='/'>Home</Link></li>
          <li className='p-direct-messages'><Link to='/filter/direct'>Direct messages</Link></li>
          <li className='p-my-discussions'><Link to='/filter/discussions'>My discussions</Link></li>
        </ul>
      </div>
      <div className='box-footer'>
        <Link to={`/friends`}>Browse/edit friends</Link>
      </div>
    </div>

    <div className='box'>
      <div className='box-header-groups'>Important</div>
      <div className='box-body'>
        <span style={{backgroundColor: '#fffad0'}}>FreeFeed has <Link to="https://freefeed.net/freefeed/bb14af94-7ec0-4e58-b086-c034e60db786" style={{textDecoration: 'underline', color: 'black'}}>experienced a major data loss</Link>
          {' '}while <Link to="/freefeed/723d194b-eea2-4833-a0be-b8a342275293" style={{textDecoration: 'underline', color: 'black'}}>migrating to a new database</Link>.
          {' '}We recovered most of the content and are working on recovering more.
        </span>
        {' '}Please report any issues to <Link to="/support" style={{textDecoration: 'underline', color: 'black'}}>@support</Link> or <a href="mailto:<EMAIL>" style={{textDecoration: 'underline', color: 'black'}}><EMAIL></a>.
      </div>
    </div>

    <div className='box'>
      <div className='box-header-search'>
        Search
      </div>
      <div className='box-body'>
        <ul>
          <li><a href="http://search.pepyatka.com/" target="_blank">Search.pepyatka.com</a>
            <img width="18" height="12" src={external} style={{paddingLeft:5}}/>
          </li>
        </ul>
      </div>
    </div>
<commit_msg>Removes data loss announcement notice<commit_after>import React from 'react';
import {Link} from 'react-router';

import external from 'assets/images/external.png';

import UserName from './user-name';
import {preventDefault} from '../utils';
import RecentGroups from './recent-groups';

export default ({user, signOut, recentGroups}) => (
  <div className='col-md-3 sidebar'>
    <div className='logged-in'>
      <div className='avatar'>
        <Link to={`/${user.username}`} ><img src={user.profilePictureMediumUrl} width="50" height="50"/></Link>
      </div>

      <div className='user'>
        <div className='author'>
          <UserName user={user} display={user.screenName}/>
        </div>
        <div>
          <Link to='/settings'>settings</Link>
          &nbsp;-&nbsp;
          <a onClick={preventDefault(signOut)}>sign out</a>
        </div>
      </div>
    </div>

    <div className='box'>
      <div className='box-header-friends'>
        Friends
      </div>
      <div className='box-body'>
        <ul>
          <li className='p-home'><Link to='/'>Home</Link></li>
          <li className='p-direct-messages'><Link to='/filter/direct'>Direct messages</Link></li>
          <li className='p-my-discussions'><Link to='/filter/discussions'>My discussions</Link></li>
        </ul>
      </div>
      <div className='box-footer'>
        <Link to={`/friends`}>Browse/edit friends</Link>
      </div>
    </div>

    <div className='box'>
      <div className='box-header-search'>
        Search
      </div>
      <div className='box-body'>
        <ul>
          <li><a href="http://search.pepyatka.com/" target="_blank">Search.pepyatka.com</a>
            <img width="18" height="12" src={external} style={{paddingLeft:5}}/>
          </li>
        </ul>
      </div>
    </div>

{'fraction_non_alphanumeric': 0.18771024893473873, 'fraction_numerical': 0.0141287284144427, 'mean_word_length': 2.7764606265876375, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 135, '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': '5801376', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1405, 'n_words': 290}