<commit_before><script>
import InsertStory       from './cbInsertStory.vue'
import HighlightedTools  from './cbStoryHighlightedTools.vue'
import Story             from './cbStory.vue'
import StoryOwnerColumn  from './cbStoryOwnerColumn.vue'
import StoryStatusClass  from './cbStoryStatusClass.vue'
import StoryStatusColumn from './cbStoryStatusColumn.vue'

import debounce from "lodash.debounce"

export default {
    components: {
        'cb-story': Story,
        'cb-story-owner-column': StoryOwnerColumn,
        'cb-story-status-class': StoryStatusClass,
        'cb-story-status-column': StoryStatusColumn,
        'cb-story-highlighted-tools': HighlightedTools,
        'cb-insert-story': InsertStory,
    },
    props: {
        scope: Object, // For calling methods only, please
        stories: Array,
        highlightedStories: Array, 
        selectedOwner: String,
        selectedLabels: Array,
        searchEntry: Array,
        isScreenXs: Boolean,
        isShowingInsertStory: Boolean,
        isClipboardActive: Boolean,
        isSearching: Boolean,
        initialMindset: String,
        owners: Array,
        accountName: String
    },
    data: function () {
        return {
            isDragging: false,
            mindset: this.initialMindset,
            insertType: 'task',
            insertQueue: [],
            isProcessingQueue: false
        }
    },
    computed: {
        isMindsetRoadmap: function () {
            return this.mindset === 'roadmap';
        }
    },
    methods: {
        emit: function (eventName, param) {
            this.scope.$emit(eventName, param);
        },
        save: function (story) {
            this.emit('storySaved', story)
        },
        saveComment: function (story) {
            this.emit('storyCommentSaved', story);
        },
        highlight: function (id) {
            var highlightingType = this.scope.keyboard.isShiftDown ? 'multi' : 'single';
            this.scope.$emit('storyHighlight', id, highlightingType);
        },
        insertStory: function (options) {
            this.insertQueue.push(options);
            // In the case of a 'many' insert, we'll get a series
            // of events in quick succession. Wait for them to 
            // settle down before we start to interact with the <commit_msg>Hide 'Insert Story' when another task is highlighted<commit_after><script>
import InsertStory       from './cbInsertStory.vue'
import HighlightedTools  from './cbStoryHighlightedTools.vue'
import Story             from './cbStory.vue'
import StoryOwnerColumn  from './cbStoryOwnerColumn.vue'
import StoryStatusClass  from './cbStoryStatusClass.vue'
import StoryStatusColumn from './cbStoryStatusColumn.vue'

import debounce from "lodash.debounce"

export default {
    components: {
        'cb-story': Story,
        'cb-story-owner-column': StoryOwnerColumn,
        'cb-story-status-class': StoryStatusClass,
        'cb-story-status-column': StoryStatusColumn,
        'cb-story-highlighted-tools': HighlightedTools,
        'cb-insert-story': InsertStory,
    },
    props: {
        scope: Object, // For calling methods only, please
        stories: Array,
        highlightedStories: Array, 
        selectedOwner: String,
        selectedLabels: Array,
        searchEntry: Array,
        isScreenXs: Boolean,
        isShowingInsertStory: Boolean,
        isClipboardActive: Boolean,
        isSearching: Boolean,
        initialMindset: String,
        owners: Array,
        accountName: String
    },
    data: function () {
        return {
            isDragging: false,
            mindset: this.initialMindset,
            insertType: 'task',
            insertQueue: [],
            isProcessingQueue: false
        }
    },
    computed: {
        isMindsetRoadmap: function () {
            return this.mindset === 'roadmap';
        }
    },
    methods: {
        emit: function (eventName, param) {
            this.scope.$emit(eventName, param);
        },
        save: function (story) {
            this.emit('storySaved', story)
        },
        saveComment: function (story) {
            this.emit('storyCommentSaved', story);
        },
        highlight: function (id) {
            this.scope.hideInsertStory();

            var highlightingType = this.scope.keyboard.isShiftDown ? 'multi' : 'single';
            this.scope.$emit('storyHighlight', id, highlightingType);
        },
        insertStory: function (options) {
            this.insertQueue.push(options);
            // In the case of a 'many' insert, we'll get a series
            // of events in quick succession. Wait for them to 
            // settle down before we start to interact with the 
{'fraction_non_alphanumeric': 0.10330929147221043, 'fraction_numerical': 0.0, 'mean_word_length': 2.126657824933687, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7649113', 'n_tokens_mistral': 1285, 'n_tokens_neox': 1238, 'n_words': 318}