feat(hub): Ticket-Settings, Projektliste und Import ueber den Hub
This commit is contained in:
+5
-2
@@ -106,10 +106,12 @@ public sealed class ConfigMcpTools
|
||||
// Fields this tool doesn't expose but that live on the same row. They must survive every
|
||||
// write here — ListRepository.SetConfigAsync copies the entity verbatim, so anything left
|
||||
// at its default would silently reset (a SerializeOnFileOverlap reset only shows up as
|
||||
// tasks no longer serializing, long after this write).
|
||||
// tasks no longer serializing, long after this write; a TicketProjectId reset silently
|
||||
// kills the list<->ticket-project link — the tool has no ticket parameter on purpose,
|
||||
// that link is UI-only).
|
||||
var hasUnrelatedSettings = existing is not null
|
||||
&& (existing.SessionSkills is not null || existing.SerializeOnFileOverlap
|
||||
|| existing.PermissionMode is not null);
|
||||
|| existing.PermissionMode is not null || existing.TicketProjectId is not null);
|
||||
|
||||
ListConfigDto? config;
|
||||
var allCleared = m is null && sp is null && ap is null && mt is null && vc is null;
|
||||
@@ -130,6 +132,7 @@ public sealed class ConfigMcpTools
|
||||
VerifyCommand = vc, SessionSkills = existing?.SessionSkills,
|
||||
SerializeOnFileOverlap = existing?.SerializeOnFileOverlap ?? false,
|
||||
PermissionMode = existing?.PermissionMode,
|
||||
TicketProjectId = existing?.TicketProjectId,
|
||||
}, cancellationToken);
|
||||
config = allCleared ? null : new ListConfigDto(m, sp, ap, mt, vc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user