<commit_before>class SidebarPinnedItem extends SidebarItem

  JView.mixin @prototype

  constructor: (options = {}, data) ->

    {slug}           = data
    options.route    = "Post/#{slug}"
    options.type     = 'member'
    options.cssClass = 'kdlistitemview-sidebar-item'

    super options, data

    data = @getData()

    origin =
      id              : data.account._id
      constructorName : data.account.constructorName

    @avatar = new AvatarStaticView {
      size       : width : 30, height : 30
      cssClass   : "avatarview"
      showStatus : yes
      origin
    }

    @actor = new ProfileTextView {origin}


  pistachio: ->
    """
    {{> @avatar}}{{> @actor}}
    {span.user-numbers{ #(body)}}
    {{> @unreadCount}}
    """<commit_msg>Activity: sidebar pinned post avatars made smaller<commit_after>class SidebarPinnedItem extends SidebarItem

  JView.mixin @prototype

  constructor: (options = {}, data) ->

    {slug}           = data
    options.route    = "Post/#{slug}"
    options.type     = 'member'
    options.cssClass = 'kdlistitemview-sidebar-item conversation'

    super options, data

    data = @getData()

    origin =
      id              : data.account._id
      constructorName : data.account.constructorName

    @avatar = new AvatarStaticView {
      size       : width : 24, height : 24
      cssClass   : "avatarview"
      showStatus : yes
      origin
    }

    @actor = new ProfileTextView {origin}


  pistachio: ->
    """
    {{> @avatar}}{{> @actor}}
    {span.user-numbers{ #(body)}}
    {{> @unreadCount}}
    """
{'fraction_non_alphanumeric': 0.12626903553299493, 'fraction_numerical': 0.005076142131979695, 'mean_word_length': 2.2448559670781894, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '363967', 'n_tokens_mistral': 505, 'n_tokens_neox': 480, 'n_words': 107}