mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -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//$'\n'/'%0A'}
|
||||
body=${body//$'\r'/'%0D'}
|
||||
body=${body//$'`'/'%60'}
|
||||
body=${body//$'>'/'%3E'}
|
||||
echo $body
|
||||
echo "::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 $body
|
||||
echo "::set-output name=BODY::$body"
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -15,4 +15,5 @@ export interface Chapter {
|
||||
pagesRead: number; // Attached for the given user when requesting from API
|
||||
isSpecial: boolean;
|
||||
title: string;
|
||||
created: string;
|
||||
}
|
||||
|
@ -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">
|
||||
|
@ -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'}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user