Misc Fixes (#1031)

* Changed the default margin for mobile in book reader to 5%

* Fixed a bug where checking for update did no current version validation before sending the update to the UI.

* Added some documentation to the book code

* Changed token expiry to 2 weeks.

* Search bar will by default not have a border outline

* Cleaned up some styles for white mode hovering on search

* Added missing genre search group, reworked some clearing code, fixed click handlers

* Fixed genre property

* Changed the series title to show bookmarks and the edit button will now take you to series

* Fixed up accordion tabpanel color in dark mode

* Fixed a typo of CoverArtist instead of "Cover artist"

* Added some documentation changes

* Fixed a bug where sort options on All-Series wasn't working

* Added a thanks to Palace-Designs who hosts our infrastructure to the readme.

* Fixed a bug where duplicate people for the same role would be returned

* Fixed a bug where when user cleared out input manually, search would retain old search results
This commit is contained in:
Joseph Milazzo 2022-02-04 11:28:58 -08:00 committed by GitHub
parent dc2d5b505f
commit 19e17c85fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 130 additions and 55 deletions

View file

@ -42,7 +42,7 @@ export class MetadataService {
if (libraries != undefined && libraries.length > 0) {
method += '?libraryIds=' + libraries.join(',');
}
return this.httpClient.get<Array<AgeRatingDto>>(this.baseUrl + method);;
return this.httpClient.get<Array<AgeRatingDto>>(this.baseUrl + method);
}
getAllPublicationStatus(libraries?: Array<number>) {
@ -50,7 +50,7 @@ export class MetadataService {
if (libraries != undefined && libraries.length > 0) {
method += '?libraryIds=' + libraries.join(',');
}
return this.httpClient.get<Array<PublicationStatusDto>>(this.baseUrl + method);;
return this.httpClient.get<Array<PublicationStatusDto>>(this.baseUrl + method);
}
getAllTags(libraries?: Array<number>) {
@ -58,7 +58,7 @@ export class MetadataService {
if (libraries != undefined && libraries.length > 0) {
method += '?libraryIds=' + libraries.join(',');
}
return this.httpClient.get<Array<Tag>>(this.baseUrl + method);;
return this.httpClient.get<Array<Tag>>(this.baseUrl + method);
}
getAllGenres(libraries?: Array<number>) {
@ -66,7 +66,7 @@ export class MetadataService {
if (libraries != undefined && libraries.length > 0) {
method += '?libraryIds=' + libraries.join(',');
}
return this.httpClient.get<Genre[]>(this.baseUrl + method);
return this.httpClient.get<Array<Genre>>(this.baseUrl + method);
}
getAllLanguages(libraries?: Array<number>) {
@ -74,7 +74,7 @@ export class MetadataService {
if (libraries != undefined && libraries.length > 0) {
method += '?libraryIds=' + libraries.join(',');
}
return this.httpClient.get<Language[]>(this.baseUrl + method);
return this.httpClient.get<Array<Language>>(this.baseUrl + method);
}
getAllPeople(libraries?: Array<number>) {
@ -82,6 +82,6 @@ export class MetadataService {
if (libraries != undefined && libraries.length > 0) {
method += '?libraryIds=' + libraries.join(',');
}
return this.httpClient.get<Person[]>(this.baseUrl + method);
return this.httpClient.get<Array<Person>>(this.baseUrl + method);
}
}