aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/list
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2020-02-11 20:54:01 +0100
committerQuentin Gliech <quentingliech@gmail.com>2020-02-11 20:54:38 +0100
commit9ddcb4b09215f942cb7889f9756d426ad3c90253 (patch)
treee547e20530a8c713881eb29059e5647db6e91cca /webui/src/list
parente5f52401b2a839881fedef5a446f0ed21d2d34c2 (diff)
downloadgit-bug-9ddcb4b09215f942cb7889f9756d426ad3c90253.tar.gz
webui: force import order
Diffstat (limited to 'webui/src/list')
-rw-r--r--webui/src/list/BugRow.tsx8
-rw-r--r--webui/src/list/Filter.tsx12
-rw-r--r--webui/src/list/FilterToolbar.tsx9
-rw-r--r--webui/src/list/List.tsx1
-rw-r--r--webui/src/list/ListQuery.tsx13
5 files changed, 24 insertions, 19 deletions
diff --git a/webui/src/list/BugRow.tsx b/webui/src/list/BugRow.tsx
index 6979b296..f94538a7 100644
--- a/webui/src/list/BugRow.tsx
+++ b/webui/src/list/BugRow.tsx
@@ -1,16 +1,18 @@
-import { makeStyles } from '@material-ui/core/styles';
import TableCell from '@material-ui/core/TableCell/TableCell';
import TableRow from '@material-ui/core/TableRow/TableRow';
import Tooltip from '@material-ui/core/Tooltip/Tooltip';
-import ErrorOutline from '@material-ui/icons/ErrorOutline';
+import { makeStyles } from '@material-ui/core/styles';
import CheckCircleOutline from '@material-ui/icons/CheckCircleOutline';
+import ErrorOutline from '@material-ui/icons/ErrorOutline';
import React from 'react';
import { Link } from 'react-router-dom';
+
import Date from '../Date';
import Label from '../Label';
-import { BugRowFragment } from './BugRow.generated';
import { Status } from '../gqlTypes';
+import { BugRowFragment } from './BugRow.generated';
+
type OpenClosedProps = { className: string };
const Open = ({ className }: OpenClosedProps) => (
<Tooltip title="Open">
diff --git a/webui/src/list/Filter.tsx b/webui/src/list/Filter.tsx
index d0091306..30b52de8 100644
--- a/webui/src/list/Filter.tsx
+++ b/webui/src/list/Filter.tsx
@@ -1,12 +1,12 @@
-import React, { useState, useRef } from 'react';
-import { Link } from 'react-router-dom';
-import { LocationDescriptor } from 'history';
-import clsx from 'clsx';
-import { makeStyles } from '@material-ui/core/styles';
-import { SvgIconProps } from '@material-ui/core/SvgIcon';
import Menu from '@material-ui/core/Menu';
import MenuItem from '@material-ui/core/MenuItem';
+import { SvgIconProps } from '@material-ui/core/SvgIcon';
+import { makeStyles } from '@material-ui/core/styles';
import ArrowDropDown from '@material-ui/icons/ArrowDropDown';
+import clsx from 'clsx';
+import { LocationDescriptor } from 'history';
+import React, { useState, useRef } from 'react';
+import { Link } from 'react-router-dom';
export type Query = { [key: string]: Array<string> };
diff --git a/webui/src/list/FilterToolbar.tsx b/webui/src/list/FilterToolbar.tsx
index 2aaf7f84..df295054 100644
--- a/webui/src/list/FilterToolbar.tsx
+++ b/webui/src/list/FilterToolbar.tsx
@@ -1,10 +1,11 @@
-import { makeStyles } from '@material-ui/core/styles';
-import React from 'react';
-import { LocationDescriptor } from 'history';
import { pipe } from '@arrows/composition';
import Toolbar from '@material-ui/core/Toolbar';
-import ErrorOutline from '@material-ui/icons/ErrorOutline';
+import { makeStyles } from '@material-ui/core/styles';
import CheckCircleOutline from '@material-ui/icons/CheckCircleOutline';
+import ErrorOutline from '@material-ui/icons/ErrorOutline';
+import { LocationDescriptor } from 'history';
+import React from 'react';
+
import {
FilterDropdown,
FilterProps,
diff --git a/webui/src/list/List.tsx b/webui/src/list/List.tsx
index 23b193d4..cebd13f2 100644
--- a/webui/src/list/List.tsx
+++ b/webui/src/list/List.tsx
@@ -1,6 +1,7 @@
import Table from '@material-ui/core/Table/Table';
import TableBody from '@material-ui/core/TableBody/TableBody';
import React from 'react';
+
import BugRow from './BugRow';
import { BugListFragment } from './ListQuery.generated';
diff --git a/webui/src/list/ListQuery.tsx b/webui/src/list/ListQuery.tsx
index a9bb15df..c91264e1 100644
--- a/webui/src/list/ListQuery.tsx
+++ b/webui/src/list/ListQuery.tsx
@@ -1,16 +1,17 @@
-import { fade, makeStyles, Theme } from '@material-ui/core/styles';
import IconButton from '@material-ui/core/IconButton';
+import InputBase from '@material-ui/core/InputBase';
+import Paper from '@material-ui/core/Paper';
+import { fade, makeStyles, Theme } from '@material-ui/core/styles';
+import ErrorOutline from '@material-ui/icons/ErrorOutline';
import KeyboardArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
import KeyboardArrowRight from '@material-ui/icons/KeyboardArrowRight';
-import ErrorOutline from '@material-ui/icons/ErrorOutline';
-import Paper from '@material-ui/core/Paper';
-import InputBase from '@material-ui/core/InputBase';
import Skeleton from '@material-ui/lab/Skeleton';
+import { ApolloError } from 'apollo-boost';
import React, { useState, useEffect, useRef } from 'react';
import { useLocation, useHistory, Link } from 'react-router-dom';
-import { ApolloError } from 'apollo-boost';
-import List from './List';
+
import FilterToolbar from './FilterToolbar';
+import List from './List';
import { useListBugsQuery } from './ListQuery.generated';
type StylesProps = { searching?: boolean };