Port Movies UI to v2.5 (#397)

* Ignore generated-graphql.tsx in 2.5
* Make movie name mandatory
* Port #395 fix to v2.5
* Differentiate front/back image browse buttons
* Move URL, Synopsis to separate rows
* Fix unknown query params crashing UI
This commit is contained in:
WithoutPants
2020-03-21 08:21:49 +11:00
committed by GitHub
parent 5aa6dec8dc
commit ff495361d9
39 changed files with 1663 additions and 5911 deletions

View File

@@ -19,6 +19,11 @@ const menuItems: IMenuItem[] = [
messageID: "scenes",
href: "/scenes"
},
{
href: "/movies",
icon: "film",
messageID: "movies"
},
{
href: "/scenes/markers",
icon: "map-marker-alt",
@@ -79,6 +84,8 @@ export const MainNavbar: React.FC = () => {
? "/performers/new"
: location.pathname === "/studios"
? "/studios/new"
: location.pathname === "/movies"
? "/movies/new"
: null;
const newButton =
path === null ? (
@@ -98,7 +105,7 @@ export const MainNavbar: React.FC = () => {
variant="dark"
bg="dark"
className="top-nav"
expand="md"
expand="lg"
expanded={expanded}
onToggle={setExpanded}
ref={navbarRef}