// add reload functions to window actions
window.actions.windowReload = {
    title: () => 'Quick window reload',
    category: actionCategories.window,
    hotkeyAble: true,
    execute: () => {
        // do window soft reload
        window.doReload(true, true);
    },
    visible: window.uitools.getCanEdit,
}
window.actions.lessReload = {
    title: () => 'Refresh skin LESS/CSS',
    category: actionCategories.window,
    hotkeyAble: true,
    execute: () => {
        // do LESS reload
        window.reloadLess();
        uitools.toastMessage.show('Refreshed skin.', {
            disableUndo: true,
            disableClose: true,
            delay: 3000,
        });
    }
}
window.actions.fullAppReload = {
    title: () => 'Full app reload',
    category: actionCategories.window,
    hotkeyAble: true,
    execute: () => {
        // do full app reload
        window.doReload(true, false, true);
    }
}