Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
C# annotationscbzcomicinfocomicscomics-readercross-platformcsharpepubepub-readerfreelinuxmangamedia-servermetadataopdsopds-feedpdfself-hostedubooquitywindows
UI Tweaks (#722)
Joseph Milazzo073dd5da9936
diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.ymlindex 7d1bca8db..48a93318a 100644--- a/.github/workflows/sonar-scan.yml+++ b/.github/workflows/sonar-scan.yml@@ -147,6 +147,8 @@ jobs:body=${body//'%'/'%25'}body=${body//$'\n'/'%0A'}body=${body//$'\r'/'%0D'}+ body=${body//$'`'/'%60'}+ body=${body//$'>'/'%3E'}echo $bodyecho "::set-output name=BODY::$body"@@ -249,6 +251,8 @@ jobs:body=${body//'%'/'%25'}body=${body//$'\n'/'%0A'}body=${body//$'\r'/'%0D'}+ body=${body//$'`'/'%60'}+ body=${body//$'>'/'%3E'}echo $bodyecho "::set-output name=BODY::$body"diff --git a/API/API.csproj b/API/API.csprojindex 137a3a985..d6f059830 100644--- a/API/API.csproj+++ b/API/API.csproj@@ -107,6 +107,11 @@<EmbeddedResource Remove="logs\**" /><EmbeddedResource Remove="temp\**" /><EmbeddedResource Remove="covers\**" />+ <EmbeddedResource Remove="config\covers\**" />+ <EmbeddedResource Remove="config\backups\**" />+ <EmbeddedResource Remove="config\logs\**" />+ <EmbeddedResource Remove="config\temp\**" />+ <EmbeddedResource Remove="config\stats\**" /></ItemGroup><ItemGroup>@@ -115,12 +120,18 @@<Content Remove="backups\**" /><Content Remove="logs\**" /><Content Remove="temp\**" />- <Content Remove="stats\**" />+ <Content Remove="config\stats\**" />+ <Content Remove="config\cache\**" />+ <Content Remove="config\backups\**" />+ <Content Remove="config\logs\**" />+ <Content Remove="config\temp\**" />+ <Content Remove="config\stats\**" /><Content Condition=" '$(Configuration)' == 'Release' " Remove="appsettings.Development.json" /><Content Update="appsettings.json"><CopyToOutputDirectory>Always</CopyToOutputDirectory></Content><Content Remove="covers\**" />+ <Content Remove="config\covers\**" /></ItemGroup><ItemGroup>diff --git a/API/DTOs/ChapterDto.cs b/API/DTOs/ChapterDto.csindex d7a4beb64..8c791a395 100644--- a/API/DTOs/ChapterDto.cs+++ b/API/DTOs/ChapterDto.cs@@ -1,4 +1,5 @@-using System.Collections.Generic;+using System;+using System.Collections.Generic;namespace API.DTOs{@@ -45,5 +46,9 @@ namespace API.DTOs/// Volume Id this Chapter belongs to/// </summary>public int VolumeId { get; init; }+ /// <summary>+ /// When chapter was created+ /// </summary>+ public DateTime Created { get; init; }}}diff --git a/UI/Web/src/app/_models/chapter.ts b/UI/Web/src/app/_models/chapter.tsindex 94dd1b2d1..4a9399489 100644--- a/UI/Web/src/app/_models/chapter.ts+++ b/UI/Web/src/app/_models/chapter.ts@@ -15,4 +15,5 @@ export interface Chapter {pagesRead: number; // Attached for the given user when requesting from APIisSpecial: boolean;title: string;+ created: string;}diff --git a/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html b/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.htmlindex 80726b878..b5938118c 100644--- a/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html+++ b/UI/Web/src/app/cards/_modals/card-details-modal/card-details-modal.component.html@@ -21,7 +21,7 @@</div></div><div class="row no-gutters">- <div class="col" *ngIf="utilityService.isVolume(data)">+ <div class="col" *ngIf="data.hasOwnProperty('created')">Added: {{(data.created | date: 'short') || '-'}}</div><div class="col">diff --git a/UI/Web/src/app/cards/_modals/edit-series-modal/edit-series-modal.component.html b/UI/Web/src/app/cards/_modals/edit-series-modal/edit-series-modal.component.htmlindex f39ee04d1..ef3c2a3cc 100644--- a/UI/Web/src/app/cards/_modals/edit-series-modal/edit-series-modal.component.html+++ b/UI/Web/src/app/cards/_modals/edit-series-modal/edit-series-modal.component.html@@ -110,7 +110,7 @@<div><div class="row no-gutters"><div class="col">- Created: {{volume.created | date: 'short'}}+ Added: {{volume.created | date: 'short'}}</div><div class="col">Last Modified: {{volume.lastModified | date: 'short'}}