Publication Status Enhancements (#1231)
* 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
This commit is contained in:
parent
cc8944718d
commit
419eee7835
28 changed files with 3586 additions and 419 deletions
|
|
@ -1,3 +1,3 @@
|
|||
<div class="tagbadge {{cursor}}">
|
||||
<div class="tagbadge {{cursor}} {{fillStyle}}">
|
||||
<ng-content></ng-content>
|
||||
</div>
|
||||
|
|
@ -39,3 +39,15 @@
|
|||
cursor: pointer !important;
|
||||
}
|
||||
}
|
||||
|
||||
.filled {
|
||||
border: 1px solid var(--tagbadge-filled-border-color);
|
||||
color: var(--tagbadge-filled-text-color);
|
||||
background-color: var(--tagbadge-filled-bg-color);
|
||||
}
|
||||
|
||||
.outline {
|
||||
border: 1px solid var(--tagbadge-border-color);
|
||||
color: var(--tagbadge-text-color);
|
||||
background-color: var(--tagbadge-bg-color);
|
||||
}
|
||||
|
|
@ -29,6 +29,7 @@ export enum TagBadgeCursor {
|
|||
export class TagBadgeComponent implements OnInit {
|
||||
|
||||
@Input() selectionMode: TagBadgeCursor = TagBadgeCursor.Selectable;
|
||||
@Input() fillStyle: 'filled' | 'outline' = 'outline';
|
||||
|
||||
cursor: string = 'default';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue