<commit_before>
/**
 * This file is part of WoTSurveys
 *
 * It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and
 * at http://eclipse.org/org/documents/epl-v10.php.
 *
 * No part of WoTSurveys, including this file, may be copied, modified, propagated, or distributed except according
 * to the terms contained in the LICENSE file.
 */

Ext.define('WoTSurveys.view.Surveys.List', {
    extend: 'Ext.grid.Panel',
    alias: 'widget.SurveyList',
    title: 'All Surveys',
    store: 'Surveys',

    initComponent: function () {
        this.columns = [
            { header: 'ID', dataIndex: 'id', flex: 1 },
            { header: 'Name', dataIndex: 'name', flex: 1 }
        ];

        this.callParent(arguments);
    }

});
<commit_msg>Transformed SurveyList into a DataView<commit_after>
/**
 * This file is part of WoTSurveys
 *
 * It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and
 * at http://eclipse.org/org/documents/epl-v10.php.
 *
 * No part of WoTSurveys, including this file, may be copied, modified, propagated, or distributed except according
 * to the terms contained in the LICENSE file.
 */

Ext.define('WoTSurveys.view.Surveys.List', {
    extend: 'Ext.view.View',
    alias: 'widget.SurveyList',
    store: 'Surveys',
    tpl: new Ext.XTemplate('<tpl for="."><span id="{id}">{name}</span><br/></tpl>'),
    itemSelector: 'span',
    emptyText: 'No Surveys Available',
    data: []

});

{'fraction_non_alphanumeric': 0.13224755700325733, 'fraction_numerical': 0.003908794788273616, 'mean_word_length': 3.2666666666666666, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '7239047', 'n_tokens_mistral': 493, 'n_tokens_neox': 481, 'n_words': 155}