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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user