Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen committed Feb 22, 2024
1 parent 8815085 commit 1df8bd3
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/Inventory/Inventory.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import * as React from "react";
import {ISupportProps} from "@app/Resources/Resources";
import {
EmptyState,
EmptyStateBody,
EmptyStateFooter,
Button,
Bullseye,

Check failure on line 5 in src/app/Inventory/Inventory.tsx

View workflow job for this annotation

GitHub Actions / Lint

Member 'Bullseye' of the import declaration should be sorted alphabetically
EmptyState,
EmptyStateActions,
EmptyStateBody,
EmptyStateFooter,
Menu,
MenuContent,
MenuList,
MenuItem,
MenuToggle,
MenuToggleCheckbox,
MenuToggleElement,
Popper,
Pagination,
SearchInput,
Expand All @@ -22,7 +23,6 @@ import {
} from '@patternfly/react-core';
import { Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
import {MenuToggleElement} from "@patternfly/react-core/dist/esm/components/MenuToggle/MenuToggle";

interface Repository {
name: string;
Expand Down
110 changes: 110 additions & 0 deletions src/app/__snapshots__/app.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,116 @@ exports[`App tests should render default App component 1`] = `
</svg>
</span>
</div>
<div
class="pf-v5-c-masthead__content"
>
<div
class="pf-v5-c-toolbar"
data-ouia-component-id="OUIA-Generated-Toolbar-1"
data-ouia-component-type="PF5/Toolbar"
data-ouia-safe="true"
id="pf-random-id-0"
>
<div
class="pf-v5-c-toolbar__content"
>
<div
class="pf-v5-c-toolbar__content-section"
>
<div
class="pf-v5-c-toolbar__item"
>
<div
aria-label="Dark theme toggle group"
class="pf-v5-c-toggle-group"
role="group"
>
<div
class="pf-v5-c-toggle-group__item"
>
<button
aria-label="light theme toggle"
aria-pressed="true"
class="pf-v5-c-toggle-group__button pf-m-selected"
type="button"
>
<span
class="pf-v5-c-toggle-group__icon"
>
<span
class="pf-v5-c-icon pf-m-md"
>
<span
class="pf-v5-c-icon__content"
>
<svg
aria-hidden="true"
class="pf-v5-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 512 512"
width="1em"
>
<path
d="M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"
/>
</svg>
</span>
</span>
</span>
</button>
</div>
<div
class="pf-v5-c-toggle-group__item"
>
<button
aria-label="dark theme toggle"
aria-pressed="false"
class="pf-v5-c-toggle-group__button"
type="button"
>
<span
class="pf-v5-c-toggle-group__icon"
>
<span
class="pf-v5-c-icon pf-m-md"
>
<span
class="pf-v5-c-icon__content"
>
<svg
aria-hidden="true"
class="pf-v5-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 512 512"
width="1em"
>
<path
d="M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"
/>
</svg>
</span>
</span>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
<div
class="pf-v5-c-toolbar__content pf-m-hidden"
hidden=""
>
<div
class="pf-v5-c-toolbar__group"
/>
</div>
</div>
</div>
</header>
<div
aria-hidden="false"
Expand Down

0 comments on commit 1df8bd3

Please sign in to comment.