mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-10 00:54:18 -04:00
* Trim when reading some fields from ComicInfo. Adjusted css on the site to reduce nbsp * Added Cancelled as a publication status * Ensure we track volume number from ComicInfo for the count to determine publication status * Publication Status will now check against volume number or chapter number (parsed or comicinfo). The UI will now display the progress, ie) 10/15 and will show the series as completed with a green tag badge if the progress is 100%. * Tweaked the ordering of the tabs to make it more streamlined in the reading ordering of Kavita * Tweaked the logic for filling in tag badge * Added a new publication status of Ended for series that have finished releasing, but not all items are in Kavita * Added some fields to edit series modal
34 lines
802 B
C#
34 lines
802 B
C#
using System.ComponentModel;
|
|
|
|
namespace API.Entities.Enums;
|
|
|
|
public enum PublicationStatus
|
|
{
|
|
/// <summary>
|
|
/// Default Status. Publication is currently in progress
|
|
/// </summary>
|
|
[Description("Ongoing")]
|
|
OnGoing = 0,
|
|
/// <summary>
|
|
/// Series is on temp or indefinite Hiatus
|
|
/// </summary>
|
|
[Description("Hiatus")]
|
|
Hiatus = 1,
|
|
/// <summary>
|
|
/// Publication has finished releasing
|
|
/// </summary>
|
|
[Description("Completed")]
|
|
Completed = 2,
|
|
/// <summary>
|
|
/// Publication has been cancelled
|
|
/// </summary>
|
|
[Description("Cancelled")]
|
|
Cancelled = 3,
|
|
/// <summary>
|
|
/// Publication has been completed, but Kavita doesn't have all issues/volumes accounted for
|
|
/// </summary>
|
|
[Description("Ended")]
|
|
Ended = 4
|
|
|
|
}
|