Side Nav Redesign (#2310)
This commit is contained in:
parent
5c2ebb87cc
commit
00dddaefae
88 changed files with 5971 additions and 572 deletions
|
@ -126,6 +126,10 @@ public static class MessageFactory
|
|||
/// Order, Visibility, etc has changed on the Dashboard. UI will refresh the layout
|
||||
/// </summary>
|
||||
public const string DashboardUpdate = "DashboardUpdate";
|
||||
/// <summary>
|
||||
/// Order, Visibility, etc has changed on the Sidenav. UI will refresh the layout
|
||||
/// </summary>
|
||||
public const string SideNavUpdate = "SideNavUpdate";
|
||||
|
||||
public static SignalRMessage DashboardUpdateEvent(int userId)
|
||||
{
|
||||
|
@ -142,6 +146,21 @@ public static class MessageFactory
|
|||
};
|
||||
}
|
||||
|
||||
public static SignalRMessage SideNavUpdateEvent(int userId)
|
||||
{
|
||||
return new SignalRMessage()
|
||||
{
|
||||
Name = SideNavUpdate,
|
||||
Title = "SideNav Update",
|
||||
Progress = ProgressType.None,
|
||||
EventType = ProgressEventType.Single,
|
||||
Body = new
|
||||
{
|
||||
UserId = userId
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
public static SignalRMessage ScanSeriesEvent(int libraryId, int seriesId, string seriesName)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue