Use new TemplateTypePicker component in ScaffolderPage

Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Co-authored-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshum@spotify.com>
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
Mike Lewis
2021-06-28 18:29:57 +01:00
parent 2669b41f2f
commit e5abca34f6
@@ -28,7 +28,6 @@ import {
EntityListProvider,
EntitySearchBar,
EntityTagPicker,
EntityTypePicker,
UserListPicker,
} from '@backstage/plugin-catalog-react';
import { Button, makeStyles } from '@material-ui/core';
@@ -36,6 +35,7 @@ import React from 'react';
import { Link as RouterLink } from 'react-router-dom';
import { registerComponentRouteRef } from '../../routes';
import { TemplateList } from '../TemplateList';
import { TemplateTypePicker } from '../TemplateTypePicker';
const useStyles = makeStyles(theme => ({
contentWrapper: {
@@ -89,8 +89,7 @@ export const ScaffolderPageContents = () => {
initialFilter="all"
availableFilters={['all', 'starred']}
/>
{/* TODO(mtlewis) replace with custom checkbox list? maybe multiselect */}
<EntityTypePicker />
<TemplateTypePicker />
<EntityTagPicker />
</div>
<div>