mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-31 04:04:19 -04:00
UI Tweaks (#722)
* Added Date Added time to volume/chapter card detail modals to help users understand when new chapters are added after something has been fully read. Changed Created -> Added for better clarity. * updating workflow discord parser - Added ` and > to parser Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
fa44f130e3
commit
073dd5da99
4
.github/workflows/sonar-scan.yml
vendored
4
.github/workflows/sonar-scan.yml
vendored
@ -147,6 +147,8 @@ jobs:
|
|||||||
body=${body//'%'/'%25'}
|
body=${body//'%'/'%25'}
|
||||||
body=${body//$'\n'/'%0A'}
|
body=${body//$'\n'/'%0A'}
|
||||||
body=${body//$'\r'/'%0D'}
|
body=${body//$'\r'/'%0D'}
|
||||||
|
body=${body//$'`'/'%60'}
|
||||||
|
body=${body//$'>'/'%3E'}
|
||||||
echo $body
|
echo $body
|
||||||
echo "::set-output name=BODY::$body"
|
echo "::set-output name=BODY::$body"
|
||||||
|
|
||||||
@ -249,6 +251,8 @@ jobs:
|
|||||||
body=${body//'%'/'%25'}
|
body=${body//'%'/'%25'}
|
||||||
body=${body//$'\n'/'%0A'}
|
body=${body//$'\n'/'%0A'}
|
||||||
body=${body//$'\r'/'%0D'}
|
body=${body//$'\r'/'%0D'}
|
||||||
|
body=${body//$'`'/'%60'}
|
||||||
|
body=${body//$'>'/'%3E'}
|
||||||
echo $body
|
echo $body
|
||||||
echo "::set-output name=BODY::$body"
|
echo "::set-output name=BODY::$body"
|
||||||
|
|
||||||
|
@ -107,6 +107,11 @@
|
|||||||
<EmbeddedResource Remove="logs\**" />
|
<EmbeddedResource Remove="logs\**" />
|
||||||
<EmbeddedResource Remove="temp\**" />
|
<EmbeddedResource Remove="temp\**" />
|
||||||
<EmbeddedResource Remove="covers\**" />
|
<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>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -115,12 +120,18 @@
|
|||||||
<Content Remove="backups\**" />
|
<Content Remove="backups\**" />
|
||||||
<Content Remove="logs\**" />
|
<Content Remove="logs\**" />
|
||||||
<Content Remove="temp\**" />
|
<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 Condition=" '$(Configuration)' == 'Release' " Remove="appsettings.Development.json" />
|
||||||
<Content Update="appsettings.json">
|
<Content Update="appsettings.json">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Remove="covers\**" />
|
<Content Remove="covers\**" />
|
||||||
|
<Content Remove="config\covers\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace API.DTOs
|
namespace API.DTOs
|
||||||
{
|
{
|
||||||
@ -45,5 +46,9 @@ namespace API.DTOs
|
|||||||
/// Volume Id this Chapter belongs to
|
/// Volume Id this Chapter belongs to
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int VolumeId { get; init; }
|
public int VolumeId { get; init; }
|
||||||
|
/// <summary>
|
||||||
|
/// When chapter was created
|
||||||
|
/// </summary>
|
||||||
|
public DateTime Created { get; init; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,4 +15,5 @@ export interface Chapter {
|
|||||||
pagesRead: number; // Attached for the given user when requesting from API
|
pagesRead: number; // Attached for the given user when requesting from API
|
||||||
isSpecial: boolean;
|
isSpecial: boolean;
|
||||||
title: string;
|
title: string;
|
||||||
|
created: string;
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row no-gutters">
|
<div class="row no-gutters">
|
||||||
<div class="col" *ngIf="utilityService.isVolume(data)">
|
<div class="col" *ngIf="data.hasOwnProperty('created')">
|
||||||
Added: {{(data.created | date: 'short') || '-'}}
|
Added: {{(data.created | date: 'short') || '-'}}
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="row no-gutters">
|
<div class="row no-gutters">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
Created: {{volume.created | date: 'short'}}
|
Added: {{volume.created | date: 'short'}}
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
Last Modified: {{volume.lastModified | date: 'short'}}
|
Last Modified: {{volume.lastModified | date: 'short'}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user