Rating Overhaul (#2159)
* Switched Ratings to a float system. Allow rating something as 0%. Allow half step ratings. Added new css variable: --rating-star-color. By default, N/A will show for series that have no ratings. N/A ratings are not included in overall rating calculations. * Show extended entity properties on desktop for list view cards. * Refactored the code for series metadata detail to use a re-usable component to reduce the copy/paste for the Genres tags like sections. * List Item will show extended properties about a chapter/volume, like weblinks on Desktop viewports. * Refactored even further so all of series detail uses the same component code. Tweaked the spacing on the series detail area. List items will now show Characters and Tags which are helpful for more Hentai related content. * Fixed a bug with removing something from "OnDeckRemoval" table when something was read.
This commit is contained in:
parent
f5ad821cd9
commit
734e299f7f
29 changed files with 2760 additions and 405 deletions
22
openapi.json
22
openapi.json
|
@ -11306,9 +11306,13 @@
|
|||
"format": "int32"
|
||||
},
|
||||
"rating": {
|
||||
"type": "integer",
|
||||
"description": "A number between 0-5 that represents how good a series is.",
|
||||
"format": "int32"
|
||||
"type": "number",
|
||||
"description": "A number between 0-5.0 that represents how good a series is.",
|
||||
"format": "float"
|
||||
},
|
||||
"hasBeenRated": {
|
||||
"type": "boolean",
|
||||
"description": "If the rating has been explicitly set. Otherwise the 0.0 rating should be ignored as it's not rated"
|
||||
},
|
||||
"review": {
|
||||
"type": "string",
|
||||
|
@ -15362,9 +15366,13 @@
|
|||
"format": "date-time"
|
||||
},
|
||||
"userRating": {
|
||||
"type": "integer",
|
||||
"type": "number",
|
||||
"description": "Rating from logged in user. Calculated at API-time.",
|
||||
"format": "int32"
|
||||
"format": "float"
|
||||
},
|
||||
"hasUserRated": {
|
||||
"type": "boolean",
|
||||
"description": "If the user has set the rating or not"
|
||||
},
|
||||
"format": {
|
||||
"enum": [
|
||||
|
@ -17112,8 +17120,8 @@
|
|||
"format": "int32"
|
||||
},
|
||||
"userRating": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue