mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-04 03:27:05 -05:00 
			
		
		
		
	* Added new stat graph for pages read over time for all users. * Switched to reading events rather than pages read to get a better scale * Changed query to use Created date as LastModified wont work since I just did a migration on all rows. * Small cleanup on graph * Read by day completed and ready for user stats page. * Changed the initial stat report to be in 1 day, to avoid people trying and ditching the software from muddying up the stats. * Cleaned up stats page such that stats around series show their image and tweaked some layout and wordings * Fixed recently read order * Put read history on user profile * Final cleanup, Robbie needs to do a CSS pass before release.
		
			
				
	
	
		
			22 lines
		
	
	
		
			444 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			444 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using API.Entities.Enums;
 | 
						|
 | 
						|
namespace API.DTOs.Statistics;
 | 
						|
 | 
						|
public class PagesReadOnADayCount<T> : ICount<T>
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// The day of the readings
 | 
						|
    /// </summary>
 | 
						|
    public T Value { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// Number of pages read
 | 
						|
    /// </summary>
 | 
						|
    public int Count { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// Format of those files
 | 
						|
    /// </summary>
 | 
						|
    public MangaFormat Format { get; set; }
 | 
						|
 | 
						|
}
 |