Movie card visual consistency (#1758)

* Support getting scenes on movies in the API

* Make movie card visually consistent with scene etc

* Add date
* Add synopsis
* Show scene count with hover listing the scenes
* Move scene index to button

* Move scene number to own section

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
gitgiggety
2021-09-26 05:52:08 +02:00
committed by GitHub
parent 5fdab995f5
commit 1d04b550b9
7 changed files with 82 additions and 16 deletions

View File

@@ -2,4 +2,4 @@ fragment SlimMovieData on Movie {
id
name
front_image_path
}
}

View File

@@ -17,4 +17,10 @@ fragment MovieData on Movie {
front_image_path
back_image_path
scene_count
scenes {
id
title
path
}
}

View File

@@ -17,6 +17,7 @@ type Movie {
front_image_path: String # Resolver
back_image_path: String # Resolver
scene_count: Int # Resolver
scenes: [Scene!]!
}
input MovieCreateInput {
@@ -60,4 +61,4 @@ input MovieDestroyInput {
type FindMoviesResultType {
count: Int!
movies: [Movie!]!
}
}