<commit_before>import React, { Component } from "react"
import V                    from "../constants/PanelView"
import PropTypes            from "prop-types"
import ResultList           from "./ResultList"
import SubscribeToBbox      from "./SubscribeToBbox"
import Ratings              from "./Ratings"
import EntryDetails         from "./EntryDetails"
import EntryForm            from "./EntryForm"
import RatingForm           from "./RatingForm"
import Message              from "./Message"
import CityList             from "./CityList"
import { EDIT, RATING }     from "../constants/Form"
import Actions              from "../Actions"


class Sidebar extends Component {
  render(){
    const { view, search, user, resultEntries, entries,
      ratings, dispatch, map, form, t } = this.props;
    const { waiting_for_search_results } = view;
    const { explainRatingContext, selectedContext } = view;
    const invisibleEntries = search.invisible.map(e => entries[e.id]);
<commit_msg>fix(Sidebar): check whether entries for result list are already loaded<commit_after>import React, { Component } from "react"
import V                    from "../constants/PanelView"
import PropTypes            from "prop-types"
import ResultList           from "./ResultList"
import SubscribeToBbox      from "./SubscribeToBbox"
import Ratings              from "./Ratings"
import EntryDetails         from "./EntryDetails"
import EntryForm            from "./EntryForm"
import RatingForm           from "./RatingForm"
import Message              from "./Message"
import CityList             from "./CityList"
import { EDIT, RATING }     from "../constants/Form"
import Actions              from "../Actions"


class Sidebar extends Component {
  render(){
    const { view, search, user, resultEntries, entries,
      ratings, dispatch, map, form, t } = this.props;
    const { waiting_for_search_results } = view;
    const { explainRatingContext, selectedContext } = view;
    const invisibleEntries = search.invisible.filter(e => entries[e.id]).map(e => entries[e.id]);

{'fraction_non_alphanumeric': 0.10309777347531461, 'fraction_numerical': 0.0, 'mean_word_length': 2.539383561643836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '6406118', 'n_tokens_mistral': 520, 'n_tokens_neox': 511, 'n_words': 174}