<commit_before>import { LightningElement, track, wire, api } from 'lwc';
import getHealthCheckGroupViewModel from '@salesforce/apex/HealthCheckGroupController.getHealthCheckGroupViewModel';

export default class HealthCheckGroup extends LightningElement {
    @api isDisplayGroup = false;
    // @api isDisplayHealthCheckGroup = false;

    @track isExpanded = true;
    @track dataLoad;
    @track gridData;
    @track gridExpandedRows;

    @track groupName = 'all success';
    @track groupClassName = 'EDAHealthCheckGroupAPIService';
    @track groupNamespace = 'hed';
    @track healthCheckGroupName = '';

    handleDataLoad(){}

    labelReference = {
        edaSetup: 'EDA Setup',
        healthCheckTitle: 'Health Check',
        edaSettingsHealthCheckTitle: 'EDA Settings Health Check',
        healthCheckDescription: 'EDA Settings Health Check verifies that all of your EDA Settings are valid and not misconfigured. If any setting configuration is not valid, EDA Settings Health Check will tell you the setting, give a description of which setting is invalid, and how to fix it.',
        runHealthCheckButton: 'Run Health Check',
        healthCheckLastRun: 'Last run {0}',
        passedChecks: 'Checks Passed: {0} of {1}',
        statusColumnHeader: 'Status',
        settingColumnHeader: 'Setting',
        descriptionColumnHeader: 'Description',
        recommendedFixColumnHeader: 'Recommended Fix',
    }

    iconReference = {
        expandedIcon: 'utility:chevrondown',
        collapsedIcon: 'utility:chevronright',
        errorIcon: 'utility:error',
        successIcon: 'utility:success',
    }

    collapseGroup(){
        console.log('collapse group clicked');
    }

    expandGroup(){
        console.log('expand group clicked');
    }

    labelReference = {
        statusColumnHeader: 'Status'
    }

    @wire(
        getHealthCheckGroupViewModel, 
        {
            name: '$groupName', 
            className: '$groupClassName', 
            namespace: '$groupNamespace'
        })<commit_msg>removed unnecessary variable from healthCheckGroup js<commit_after>import { LightningElement, track, wire, api } from 'lwc';
import getHealthCheckGroupViewModel from '@salesforce/apex/HealthCheckGroupController.getHealthCheckGroupViewModel';

export default class HealthCheckGroup extends LightningElement {
    @api isDisplayGroup = false;
    // @api isDisplayHealthCheckGroup = false;

    @track isExpanded = true;
    @track dataLoad;
    @track gridData;
    @track gridExpandedRows;

    @track healthCheckGroupName = 'all success';
    @track healthCheckGroupClassName = 'EDAHealthCheckGroupAPIService';
    @track healthCheckGroupNamespace = 'hed';

    handleDataLoad(){}

    labelReference = {
        edaSetup: 'EDA Setup',
        healthCheckTitle: 'Health Check',
        edaSettingsHealthCheckTitle: 'EDA Settings Health Check',
        healthCheckDescription: 'EDA Settings Health Check verifies that all of your EDA Settings are valid and not misconfigured. If any setting configuration is not valid, EDA Settings Health Check will tell you the setting, give a description of which setting is invalid, and how to fix it.',
        runHealthCheckButton: 'Run Health Check',
        healthCheckLastRun: 'Last run {0}',
        passedChecks: 'Checks Passed: {0} of {1}',
        statusColumnHeader: 'Status',
        settingColumnHeader: 'Setting',
        descriptionColumnHeader: 'Description',
        recommendedFixColumnHeader: 'Recommended Fix',
    }

    iconReference = {
        expandedIcon: 'utility:chevrondown',
        collapsedIcon: 'utility:chevronright',
        errorIcon: 'utility:error',
        successIcon: 'utility:success',
    }

    collapseGroup(){
        console.log('collapse group clicked');
    }

    expandGroup(){
        console.log('expand group clicked');
    }

    labelReference = {
        statusColumnHeader: 'Status'
    }

    @wire(
        getHealthCheckGroupViewModel, 
        {
            name: '$healthCheckGroupName', 
            className: '$healthCheckGroupClassName', 
            namespace: '$healthCheckGroupNamespace'
        })
{'fraction_non_alphanumeric': 0.08961352657004831, 'fraction_numerical': 0.0014492753623188406, 'mean_word_length': 3.216904276985743, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5821530', 'n_tokens_mistral': 1087, 'n_tokens_neox': 1053, 'n_words': 311}