Smart Filters & Dashboard Customization (#2282)

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
Joe Milazzo 2023-09-12 11:24:47 -07:00 committed by GitHub
parent 3d501c9532
commit 84f85b4f24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
92 changed files with 7149 additions and 555 deletions

View file

@ -122,6 +122,25 @@ public static class MessageFactory
/// A Scrobbling Key has expired and needs rotation
/// </summary>
public const string ScrobblingKeyExpired = "ScrobblingKeyExpired";
/// <summary>
/// Order, Visibility, etc has changed on the Dashboard. UI will refresh the layout
/// </summary>
public const string DashboardUpdate = "DashboardUpdate";
public static SignalRMessage DashboardUpdateEvent(int userId)
{
return new SignalRMessage()
{
Name = DashboardUpdate,
Title = "Dashboard Update",
Progress = ProgressType.None,
EventType = ProgressEventType.Single,
Body = new
{
UserId = userId
}
};
}
public static SignalRMessage ScanSeriesEvent(int libraryId, int seriesId, string seriesName)