Import updates

This commit is contained in:
Darren Clarke 2023-07-11 13:48:05 +00:00 committed by GitHub
parent 73fdb6e5d1
commit 53514d68cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 85 additions and 90 deletions

View file

@ -29,7 +29,7 @@ import Link from "next/link";
import Image from "next/image";
import LinkLogo from "public/link-logo-small.png";
import { useSession, signOut } from "next-auth/react";
import { getTicketOverviewCountsQuery } from "@/app/_graphql/getTicketOverviewCountsQuery";
import { getTicketOverviewCountsQuery } from "app/_graphql/getTicketOverviewCountsQuery";
const openWidth = 270;
const closedWidth = 100;

View file

@ -1,5 +1,5 @@
import { Metadata } from "next";
import { ZammadWrapper } from "@/app/(main)/_components/ZammadWrapper";
import { ZammadWrapper } from "app/(main)/_components/ZammadWrapper";
export const metadata: Metadata = {
title: "Zammad",

View file

@ -1,5 +1,5 @@
import { Metadata } from "next";
import { ZammadWrapper } from "@/app/(main)/_components/ZammadWrapper";
import { ZammadWrapper } from "app/(main)/_components/ZammadWrapper";
export const metadata: Metadata = {
title: "Knowledge Base",

View file

@ -4,7 +4,7 @@ import { FC } from "react";
import { Grid, Box } from "@mui/material";
import { GridColDef } from "@mui/x-data-grid-pro";
import { StyledDataGrid } from "../../../_components/StyledDataGrid";
import { typography } from "@/app/_styles/theme";
import { typography } from "app/_styles/theme";
import { useRouter } from "next/navigation";
interface TicketListProps {

View file

@ -3,7 +3,7 @@
import { FC } from "react";
import useSWR from "swr";
import { TicketList } from "./TicketList";
import { getTicketsByOverviewQuery } from "@/app/_graphql/getTicketsByOverviewQuery";
import { getTicketsByOverviewQuery } from "app/_graphql/getTicketsByOverviewQuery";
type ZammadOverviewProps = {
name: string;

View file

@ -1,5 +1,5 @@
import { Metadata } from "next";
import { ZammadWrapper } from "@/app/(main)/_components/ZammadWrapper";
import { ZammadWrapper } from "app/(main)/_components/ZammadWrapper";
export const metadata: Metadata = {
title: "Profile",

View file

@ -10,7 +10,7 @@ import {
TextField,
} from "@mui/material";
import { useSWRConfig } from "swr";
import { updateTicketMutation } from "@/app/_graphql/updateTicketMutation";
import { updateTicketMutation } from "app/_graphql/updateTicketMutation";
interface ArticleCreateDialogProps {
ticketID: string;

View file

@ -2,7 +2,7 @@
import { FC, useState } from "react";
import useSWR from "swr";
import { getTicketQuery } from "@/app/_graphql/getTicketQuery";
import { getTicketQuery } from "app/_graphql/getTicketQuery";
import {
Grid,
Box,

View file

@ -1,18 +1,18 @@
"use client";
import { FC, useEffect, useState } from "react";
import { FC, /* useEffect, */ useState } from "react";
import {
Grid,
Box,
Typography,
TextField,
// Typography,
// TextField,
Stack,
Chip,
Select,
MenuItem,
} from "@mui/material";
import useSWR, { useSWRConfig } from "swr";
import { updateTicketMutation } from "@/app/_graphql/updateTicketMutation";
import { /* useSWR, */ useSWRConfig } from "swr";
import { updateTicketMutation } from "app/_graphql/updateTicketMutation";
import "@chatscope/chat-ui-kit-styles/dist/default/styles.min.css";
interface TicketEditProps {
@ -24,7 +24,7 @@ export const TicketEdit: FC<TicketEditProps> = ({ ticket }) => {
const [selectedOwner, setSelectedOwner] = useState(1);
const [selectedPriority, setSelectedPriority] = useState(1);
const [selectedState, setSelectedState] = useState(1);
const [selectedTags, setSelectedTags] = useState(["tag1", "tag2"]);
const [selectedTags] = useState(["tag1", "tag2"]);
const handleDelete = () => {
console.info("You clicked the delete icon.");
};

View file

@ -14,9 +14,9 @@ import Head from "next/head";
import useSWR from "swr";
import { NextPage } from "next";
import { Grid } from "@mui/material";
import { TicketDetail } from "@/app/_components/TicketDetail";
import { TicketEdit } from "@/app/_components/TicketEdit";
import { getTicketQuery } from "@/app/_graphql/getTicketQuery";
import { TicketDetail } from "app/_components/TicketDetail";
import { TicketEdit } from "app/_components/TicketEdit";
import { getTicketQuery } from "app/_graphql/getTicketQuery";
type TicketProps = {
id: string;