committed by
Eric Peterson
parent
b3d64b448e
commit
1b1c47f4a7
@@ -38,16 +38,15 @@ import {
|
||||
catalogApiRef,
|
||||
CATALOG_FILTER_EXISTS,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { searchPlugin, SearchType } from '@backstage/plugin-search';
|
||||
import {
|
||||
DefaultResultListItem,
|
||||
SearchBar,
|
||||
SearchFilter,
|
||||
searchPlugin,
|
||||
SearchBar,
|
||||
SearchResult,
|
||||
SearchResultPager,
|
||||
SearchType,
|
||||
} from '@backstage/plugin-search';
|
||||
import { useSearch } from '@backstage/plugin-search-react';
|
||||
useSearch,
|
||||
} from '@backstage/plugin-search-react';
|
||||
import { TechDocsSearchResultListItem } from '@backstage/plugin-techdocs';
|
||||
|
||||
const useStyles = makeStyles(theme => ({
|
||||
|
||||
@@ -29,15 +29,15 @@ import {
|
||||
catalogApiRef,
|
||||
CATALOG_FILTER_EXISTS,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { SearchType } from '@backstage/plugin-search';
|
||||
import {
|
||||
DefaultResultListItem,
|
||||
SearchBar,
|
||||
SearchFilter,
|
||||
SearchResult,
|
||||
SearchResultPager,
|
||||
SearchType,
|
||||
} from '@backstage/plugin-search';
|
||||
import { useSearch } from '@backstage/plugin-search-react';
|
||||
useSearch,
|
||||
} from '@backstage/plugin-search-react';
|
||||
import { TechDocsSearchResultListItem } from '@backstage/plugin-techdocs';
|
||||
import { Grid, List, makeStyles, Paper, Theme } from '@material-ui/core';
|
||||
import React from 'react';
|
||||
|
||||
+4
-4
@@ -8,14 +8,14 @@ import {
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { TechDocsSearchResultListItem } from '@backstage/plugin-techdocs';
|
||||
|
||||
import { SearchType } from '@backstage/plugin-search';
|
||||
import {
|
||||
DefaultResultListItem,
|
||||
SearchBar,
|
||||
SearchFilter,
|
||||
SearchResult,
|
||||
SearchType,
|
||||
DefaultResultListItem,
|
||||
} from '@backstage/plugin-search';
|
||||
import { useSearch } from '@backstage/plugin-search-react';
|
||||
useSearch
|
||||
} from '@backstage/plugin-search-react';
|
||||
import {
|
||||
CatalogIcon,
|
||||
Content,
|
||||
|
||||
@@ -16,7 +16,10 @@
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { SearchBarBase, SearchBarBaseProps } from '../SearchBar';
|
||||
import {
|
||||
SearchBarBase,
|
||||
SearchBarBaseProps,
|
||||
} from '@backstage/plugin-search-react';
|
||||
import { useNavigateToQuery } from '../util';
|
||||
|
||||
const useStyles = makeStyles({
|
||||
|
||||
@@ -34,10 +34,10 @@ import {
|
||||
MockSearchApi,
|
||||
SearchContextProvider,
|
||||
SearchResult,
|
||||
SearchResultPager,
|
||||
} from '@backstage/plugin-search-react';
|
||||
import { TestApiProvider } from '@backstage/test-utils';
|
||||
import { SearchModal } from './SearchModal';
|
||||
import { SearchResultPager } from '../SearchResultPager';
|
||||
import { SearchType } from '../SearchType';
|
||||
import { useSearchModal } from './useSearchModal';
|
||||
|
||||
|
||||
@@ -28,14 +28,14 @@ import {
|
||||
} from '@material-ui/core';
|
||||
import LaunchIcon from '@material-ui/icons/Launch';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { SearchBar } from '../SearchBar';
|
||||
import {
|
||||
DefaultResultListItem,
|
||||
SearchContextProvider,
|
||||
SearchBar,
|
||||
SearchResult,
|
||||
SearchResultPager,
|
||||
useSearch,
|
||||
} from '@backstage/plugin-search-react';
|
||||
import { SearchResultPager } from '../SearchResultPager';
|
||||
import { useRouteRef } from '@backstage/core-plugin-api';
|
||||
import { Link, useContent } from '@backstage/core-components';
|
||||
import { rootRouteRef } from '../../plugin';
|
||||
|
||||
Reference in New Issue
Block a user