<commit_before>module View.EntityList exposing (..)

import Context
import Dict exposing (Dict)
import Dict.Extra as Dict
import Document
import Dom
import EditMode
import Html.Attributes.Extra exposing (..)
import Html.Events.Extra exposing (onClickStopPropagation)
import Html.Keyed as Keyed
import Keyboard.Extra exposing (Key)
import Ext.Keyboard as Keyboard exposing (KeyboardEvent, onEscape, onKeyUp)
import Maybe.Extra as Maybe
import Model.Internal as Model
import Msg exposing (..)
import Polymer.Attributes exposing (icon)
import Project
import Project
import Set exposing (Set)
import Time exposing (Time)
import Toolkit.Helpers exposing (..)
import Toolkit.Operators exposing (..)
import Html exposing (Html, div, hr, node, span, text)
import Html.Attributes exposing (attribute, autofocus, class, classList, disabled, id, style, value)
import Html.Events exposing (..)
import Ext.Debug exposing (tapLog)
import Ext.Decode exposing (traceDecoder)
import Json.Decode
import Json.Encode
import List.Extra as List
import Model as Model
import Model.Types exposing (..)
import Todo
import Polymer.Paper as Paper exposing (badge, button, fab, input, item, itemBody, material, tab, tabs)
import Polymer.App exposing (..)
import Ext.Function exposing (..)
import Entity.ViewModel
import Todo.View exposing (EditTodoViewModel)
import View.Shared exposing (..)
import WebComponents


filtered : Model -> Html Msg
filtered =
    apply2 ( View.Shared.createSharedViewModel >> Todo.View.createKeyedItem, Model.getFilteredTodoList )
        >> (\( todoView, todoList ) ->
                Paper.material []
                    [ Keyed.node "paper-listbox"
                        [ class "todo-list"
                        , stringProperty "selected" "0"
                        , stringProperty "selectable" "paper-item"
                        , stringProperty "selectedAttribute" "selected"
                        ]
                        (todoList .|> todoView)
                    ]
           )
<commit_msg>todo list view fixes and minor improvements<commit_after>module View.EntityList exposing (..)

import Context
import Dict exposing (Dict)
import Dict.Extra as Dict
import Document
import Dom
import EditMode
import Html.Attributes.Extra exposing (..)
import Html.Events.Extra exposing (onClickStopPropagation)
import Html.Keyed as Keyed
import Keyboard.Extra exposing (Key)
import Ext.Keyboard as Keyboard exposing (KeyboardEvent, onEscape, onKeyUp)
import Maybe.Extra as Maybe
import Model.Internal as Model
import Msg exposing (..)
import Polymer.Attributes exposing (icon)
import Project
import Project
import Set exposing (Set)
import Time exposing (Time)
import Toolkit.Helpers exposing (..)
import Toolkit.Operators exposing (..)
import Html exposing (Html, div, hr, node, span, text)
import Html.Attributes exposing (attribute, autofocus, class, classList, disabled, id, style, value)
import Html.Events exposing (..)
import Ext.Debug exposing (tapLog)
import Ext.Decode exposing (traceDecoder)
import Json.Decode
import Json.Encode
import List.Extra as List
import Model as Model
import Model.Types exposing (..)
import Todo
import Polymer.Paper as Paper exposing (badge, button, fab, input, item, itemBody, material, tab, tabs)
import Polymer.App exposing (..)
import Ext.Function exposing (..)
import Entity.ViewModel
import Todo.View exposing (EditTodoViewModel)
import View.Shared exposing (..)
import WebComponents


filtered : Model -> Html Msg
filtered =
    apply2 ( View.Shared.createSharedViewModel >> Todo.View.createKeyedItem, Model.getFilteredTodoList )
        >> (\( todoView, todoList ) ->
                Paper.material []
                    [ Keyed.node "paper-listbox"
                        [ stringProperty "selected" "0"
                        , stringProperty "selectable" "paper-item"
                        , stringProperty "selectedAttribute" "selected"
                        ]
                        (todoList .|> todoView)
                    ]
           )

{'fraction_non_alphanumeric': 0.08769307424015944, 'fraction_numerical': 0.000996512207274539, 'mean_word_length': 3.1095189355168884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '746387', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1047, 'n_words': 366}