<commit_before><template>
<div class="component-DappDetailBodyContentBadges">
  <div class="wrapper">
    <ul class="tool-list">
      <li class="tool-item">
        <span class="tool-link" @click="viewDappEdit">
          <SvgIconEdit :width="14" :height="14"/> <span class="description">Edit this ÐApp</span>
        </span>
      </li>
      <li class="tool-item">
        <a :href="'mailto:?subject=Check out this DApp: ' + name + '&body=https://www.stateofthedapps.com/dapps/' + slug" @click="trackDappShare" class="tool-link">
          <SvgIconShare :width="14" :height="14"/> <span class="description">Share this ÐApp</span>
        </a>
      </li>
      <li class="tool-item">
        <a :href="'mailto:<EMAIL>?subject=Please review this ÐApp: ' + name + '&body=https://www.stateofthedapps.com/dapps/' + slug" @click="trackDappFlag" class="tool-link">
          <SvgIconFlag :width="14" :height="14"/> <span class="description">Flag as inappropriate</span>
        </a>
      </li>
      <li class="tool-item">
        <nuxt-link :to="{ name: 'promoted-dapps' }" @click.native="trackPromotedDappsView" class="tool-link">
          <SvgIconFeatured :width="14" :height="14"/> <span class="description">Promote this ÐApp</span>
        </nuxt-link>
      </li>
    </ul>
  </div>
</div>
</template>

<script>
import { trackDappEdit, trackDappShare, trackDappFlag, trackPromotedDappsView } from '~/helpers/mixpanel'
import SvgIconEdit from './SvgIconEdit'
import SvgIconFeatured from './SvgIconFeatured'
import SvgIconFlag from './SvgIconFlag'
import SvgIconShare from './SvgIconShare'<commit_msg>Add role button to dapp edit action<commit_after><template>
<div class="component-DappDetailBodyContentBadges">
  <div class="wrapper">
    <ul class="tool-list">
      <li class="tool-item">
        <span class="tool-link" @click="viewDappEdit" role="button">
          <SvgIconEdit :width="14" :height="14"/> <span class="description">Edit this ÐApp</span>
        </span>
      </li>
      <li class="tool-item">
        <a :href="'mailto:?subject=Check out this DApp: ' + name + '&body=https://www.stateofthedapps.com/dapps/' + slug" @click="trackDappShare" class="tool-link">
          <SvgIconShare :width="14" :height="14"/> <span class="description">Share this ÐApp</span>
        </a>
      </li>
      <li class="tool-item">
        <a :href="'mailto:<EMAIL>?subject=Please review this ÐApp: ' + name + '&body=https://www.stateofthedapps.com/dapps/' + slug" @click="trackDappFlag" class="tool-link">
          <SvgIconFlag :width="14" :height="14"/> <span class="description">Flag as inappropriate</span>
        </a>
      </li>
      <li class="tool-item">
        <nuxt-link :to="{ name: 'promoted-dapps' }" @click.native="trackPromotedDappsView" class="tool-link">
          <SvgIconFeatured :width="14" :height="14"/> <span class="description">Promote this ÐApp</span>
        </nuxt-link>
      </li>
    </ul>
  </div>
</div>
</template>

<script>
import { trackDappEdit, trackDappShare, trackDappFlag, trackPromotedDappsView } from '~/helpers/mixpanel'
import SvgIconEdit from './SvgIconEdit'
import SvgIconFeatured from './SvgIconFeatured'
import SvgIconFlag from './SvgIconFlag'
import SvgIconShare from './SvgIconShare'
{'fraction_non_alphanumeric': 0.17909987669543773, 'fraction_numerical': 0.009864364981504316, 'mean_word_length': 3.7303206997084546, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '5818891', 'n_tokens_mistral': 1118, 'n_tokens_neox': 1081, 'n_words': 222}