<commit_before>﻿<ion-view view-title="Logs">

    <ion-nav-buttons side="right">
        <button class="button icon ion-trash-a" ng-click="controller.clearLogs()"></button>
    </ion-nav-buttons>

    <ion-content class="has-header">
        <ion-list>

            <div ng-repeat="(logGroup, logEntries) in viewModel.logs">

                <div class="item item-divider">
                    {{logGroup}} - {{logEntries.length}} Errors
                </div>

                <ion-item ng-repeat="logEntry in logEntries" href="#/app/settings/log-entry/{{logEntry.id}}" class="item-icon-left item-icon-right">
                    <i class="icon ion-{{logEntry.iconType}}"></i>
                    <i class="icon ion-ios-arrow-forward"></i>
                    {{logEntry.time}} - {{logEntry.message}}
                </ion-item>

            </div>

        </ion-list>
    </ion-content>

</ion-view><commit_msg>Switch hrefs to ui-srefs<commit_after>﻿<ion-view view-title="Logs">

    <ion-nav-buttons side="right">
        <button class="button icon ion-trash-a" ng-click="controller.clearLogs()"></button>
    </ion-nav-buttons>

    <ion-content class="has-header">
        <ion-list>

            <div ng-repeat="(logGroup, logEntries) in viewModel.logs">

                <div class="item item-divider">
                    {{logGroup}} - {{logEntries.length}} Errors
                </div>

                <ion-item ng-repeat="logEntry in logEntries" ui-sref="app.log-entry({ id: logEntry.id })" class="item-icon-left item-icon-right">
                    <i class="icon ion-{{logEntry.iconType}}"></i>
                    <i class="icon ion-ios-arrow-forward"></i>
                    {{logEntry.time}} - {{logEntry.message}}
                </ion-item>

            </div>

        </ion-list>
    </ion-content>

</ion-view>
{'fraction_non_alphanumeric': 0.17592592592592593, 'fraction_numerical': 0.0, 'mean_word_length': 1.8974763406940063, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '4647758', 'n_tokens_mistral': 583, 'n_tokens_neox': 551, 'n_words': 94}