function loadDashboard(pushHistory = true) {
    showView('dashboardView');

    if (!pushHistory) return;

    const url = new URL(window.location.href);
    url.searchParams.set('page', 'home');
    url.searchParams.delete('task');
    url.searchParams.delete('project');
    url.searchParams.delete('tasks');
    url.searchParams.delete('version');
    url.searchParams.delete('profile');
    url.searchParams.delete('admin');
    window.history.pushState({}, '', url);
}
