feat: add AwaitingVendor and AwaitingParts sidebar lists to DashboardViewModel

This commit is contained in:
2026-06-15 14:48:14 +10:00
parent ab3b5ab6cb
commit 0a7add579b
+4 -1
View File
@@ -8,6 +8,8 @@ namespace Disco.Plugins.ServiceTracker.Models
public List<DashboardTile> Tiles { get; set; } public List<DashboardTile> Tiles { get; set; }
public List<DashboardTile> ReadyForReturn { get; set; } public List<DashboardTile> ReadyForReturn { get; set; }
public List<DashboardTile> OnHold { get; set; } public List<DashboardTile> OnHold { get; set; }
public List<DashboardTile> AwaitingVendor { get; set; }
public List<DashboardTile> AwaitingParts { get; set; }
public List<DashboardTile> Resolved { get; set; } public List<DashboardTile> Resolved { get; set; }
public DashboardStats Stats { get; set; } public DashboardStats Stats { get; set; }
public ServiceTrackerConfig Config { get; set; } public ServiceTrackerConfig Config { get; set; }
@@ -20,6 +22,8 @@ namespace Disco.Plugins.ServiceTracker.Models
Tiles = new List<DashboardTile>(); Tiles = new List<DashboardTile>();
ReadyForReturn = new List<DashboardTile>(); ReadyForReturn = new List<DashboardTile>();
OnHold = new List<DashboardTile>(); OnHold = new List<DashboardTile>();
AwaitingVendor = new List<DashboardTile>();
AwaitingParts = new List<DashboardTile>();
Resolved = new List<DashboardTile>(); Resolved = new List<DashboardTile>();
Stats = new DashboardStats(); Stats = new DashboardStats();
} }
@@ -52,7 +56,6 @@ namespace Disco.Plugins.ServiceTracker.Models
/// <summary> /// <summary>
/// For NTT sheet jobs: the raw location text from the sheet when it could not be matched /// For NTT sheet jobs: the raw location text from the sheet when it could not be matched
/// to a configured Disco location. Null if the location was matched or if this is a Disco job. /// to a configured Disco location. Null if the location was matched or if this is a Disco job.
/// Displayed on the tile as a plain location pill alongside the fallback location badge.
/// </summary> /// </summary>
public string RawSheetLocation { get; set; } public string RawSheetLocation { get; set; }
public string AssignedTechId { get; set; } public string AssignedTechId { get; set; }