feature: initial comments template

completes #150
This commit is contained in:
Gary Sharp
2025-01-24 17:28:27 +11:00
parent 408e1c4c14
commit 0853bcee50
39 changed files with 956 additions and 527 deletions
@@ -5,12 +5,15 @@ namespace Disco.Models.UI.Config.JobPreferences
{
public interface ConfigJobPreferencesIndexModel : BaseUIModel
{
string InitialCommentsTemplate { get; set; }
int LongRunningJobDaysThreshold { get; set; }
int StaleJobMinutesThreshold { get; set; }
bool LodgmentIncludeAllAttachmentsByDefault { get; set; }
LocationModes LocationMode { get; set; }
List<string> LocationList { get; set; }
string OnCreateExpression { get; set; }
string OnDeviceReadyForReturnExpression { get; set; }
string OnCloseExpression { get; set; }
List<KeyValuePair<int, string>> LongRunningJobDaysThresholdOptions();
+1
View File
@@ -11,6 +11,7 @@ namespace Disco.Models.UI.Job
List<string> SubTypes { get; set; }
string Comments { get; set; }
bool RegenerateCommentsOnTypeChange { get; set; }
bool? DeviceHeld { get; set; }