mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-10-31 10:37:04 -04:00 
			
		
		
		
	* Implemented a new widget to show when operations are occuring in the backend (tasks + progress events). Fixed an oversight on progress reporting where I sent 100F instead of 1F. * Hooked in more progress events for tasks on the backend. Cleaned up code and integrated some RBS into it. CSS needed. * Show a colored icon when events are active * Added some styling to the progress widget
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace API.SignalR
 | |
| {
 | |
|     public static class SignalREvents
 | |
|     {
 | |
|         public const string UpdateVersion = "UpdateVersion";
 | |
|         public const string ScanSeries = "ScanSeries";
 | |
|         /// <summary>
 | |
|         /// Event during Refresh Metadata for cover image change
 | |
|         /// </summary>
 | |
|         public const string RefreshMetadata = "RefreshMetadata";
 | |
|         /// <summary>
 | |
|         /// Event sent out during Refresh Metadata for progress tracking
 | |
|         /// </summary>
 | |
|         public const string RefreshMetadataProgress = "RefreshMetadataProgress";
 | |
|         public const string ScanLibrary = "ScanLibrary";
 | |
|         public const string SeriesAdded = "SeriesAdded";
 | |
|         public const string SeriesRemoved = "SeriesRemoved";
 | |
|         public const string ScanLibraryProgress = "ScanLibraryProgress";
 | |
|         public const string OnlineUsers = "OnlineUsers";
 | |
|         public const string SeriesAddedToCollection = "SeriesAddedToCollection";
 | |
|         public const string ScanLibraryError = "ScanLibraryError";
 | |
|         /// <summary>
 | |
|         /// Event sent out during backing up the database
 | |
|         /// </summary>
 | |
|         public const string BackupDatabaseProgress = "BackupDatabaseProgress";
 | |
|         /// <summary>
 | |
|         /// Event sent out during cleaning up temp and cache folders
 | |
|         /// </summary>
 | |
|         public const string CleanupProgress = "CleanupProgress";
 | |
|     }
 | |
| }
 |