feat: Implement user profile preferences for start page, Git identity, and task drawer auto-open, alongside Git server default branch configuration.

This commit is contained in:
2026-03-08 10:19:38 +03:00
parent 12d17ec35e
commit e864a9e08b
30 changed files with 2041 additions and 211 deletions

View File

@@ -28,7 +28,9 @@
import { t } from "$lib/i18n";
import { api } from "$lib/api.js";
import { gitService } from "../../../services/gitService";
import { openDrawerForTask } from "$lib/stores/taskDrawer.js";
import {
openDrawerForTaskIfPreferred,
} from "$lib/stores/taskDrawer.js";
import { addToast } from "$lib/toasts.js";
import Icon from "$lib/ui/Icon.svelte";
import BranchSelector from "../../../components/git/BranchSelector.svelte";
@@ -169,7 +171,7 @@
});
const taskId = response?.task_id;
if (taskId) {
openDrawerForTask(taskId);
openDrawerForTaskIfPreferred(taskId);
addToast(
$t.dashboard?.backup_started || "Backup task started",
"success",
@@ -208,7 +210,7 @@
});
const taskId = response?.task_id || response?.id;
if (taskId) {
openDrawerForTask(taskId);
openDrawerForTaskIfPreferred(taskId);
addToast(
$t.dashboard?.validation_started || "LLM validation started",
"success",