<commit_before><template>
    <div>
        <div v-on:contextmenu="showContextMenu">
            <div
                class="row"
                :class="{ 'cursor-pointer': canEdit(file), 'active-selection': contextMenuVisible }"
                v-if="!file.directory"
                v-on:click="openFileEditModal(file)"
            >
                <div class="flex-none icon">
                    <Icon name="file-text" v-if="!file.symlink"/>
                    <Icon name="link2" v-else/>
                </div>
                <div class="flex-1">{{file.name}}</div>
                <div class="flex-1 text-right text-neutral-600">{{readableSize(file.size)}}</div>
                <div class="flex-1 text-right text-neutral-600">{{formatDate(file.modified)}}</div>
                <div class="flex-none icon cursor-pointer" v-on:click="showContextMenu" ref="menuTriggerIcon">
                    <Icon name="more-vertical" class="text-neutral-500"/>
                </div>
            </div><commit_msg>Prevent opening file edit modal when clicking on row options dots<commit_after><template>
    <div>
        <div v-on:contextmenu="showContextMenu">
            <div
                class="row"
                :class="{ 'cursor-pointer': canEdit(file), 'active-selection': contextMenuVisible }"
                v-if="!file.directory"
                v-on:click="openFileEditModal(file)"
            >
                <div class="flex-none icon">
                    <Icon name="file-text" v-if="!file.symlink"/>
                    <Icon name="link2" v-else/>
                </div>
                <div class="flex-1">{{file.name}}</div>
                <div class="flex-1 text-right text-neutral-600">{{readableSize(file.size)}}</div>
                <div class="flex-1 text-right text-neutral-600">{{formatDate(file.modified)}}</div>
                <div class="flex-none icon cursor-pointer" v-on:click="showContextMenu" ref="menuTriggerIcon" @click.stop>
                    <Icon name="more-vertical" class="text-neutral-500"/>
                </div>
            </div>
{'fraction_non_alphanumeric': 0.15723873441994246, 'fraction_numerical': 0.012464046021093002, 'mean_word_length': 1.7938420348058903, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '5220083', 'n_tokens_mistral': 621, 'n_tokens_neox': 567, 'n_words': 98}