Skip to content

Commit 8c9513c

Browse files
Move to @oxide/design-system icons (#1765)
* Install new ds and use that for icons * Remove old icon workflow * Update to metrics icon * Fix tsx extension import error * fix icon imports, I think * uninstall jscodeshift. best day of my life * don't need the figma-export things either --------- Co-authored-by: David Crespo <[email protected]>
1 parent 0314fd7 commit 8c9513c

193 files changed

Lines changed: 54 additions & 10542 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.figmaexportrc.js‎

Lines changed: 0 additions & 53 deletions
This file was deleted.

‎.gitattributes‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎.github/workflows/update-icons.yaml‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎app/layouts/SiloLayout.tsx‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88
import { useMemo } from 'react'
99
import { useLocation, useNavigate } from 'react-router-dom'
1010

11-
import {
12-
Access16Icon,
13-
Divider,
14-
Folder16Icon,
15-
Images16Icon,
16-
Snapshots16Icon,
17-
} from '@oxide/ui'
11+
import { Access16Icon, Divider, Folder16Icon, Images16Icon, Metrics16Icon } from '@oxide/ui'
1812

1913
import { DocsLinkItem, NavLinkItem, Sidebar } from 'app/components/Sidebar'
2014
import { TopBar } from 'app/components/TopBar'
@@ -69,7 +63,7 @@ export function SiloLayout() {
6963
<Images16Icon /> Images
7064
</NavLinkItem>
7165
<NavLinkItem to={pb.siloUtilization()}>
72-
<Snapshots16Icon /> Utilization
66+
<Metrics16Icon /> Utilization
7367
</NavLinkItem>
7468
<NavLinkItem to={pb.siloAccess()}>
7569
<Access16Icon /> Access & IAM

‎app/layouts/SystemLayout.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { apiQueryClient } from '@oxide/api'
1212
import {
1313
Cloud16Icon,
1414
Divider,
15+
Metrics16Icon,
1516
Settings16Icon,
16-
Snapshots16Icon,
1717
Storage16Icon,
1818
} from '@oxide/ui'
1919

@@ -104,7 +104,7 @@ export default function SystemLayout() {
104104
<Instances16Icon /> Issues
105105
</NavLinkItem> */}
106106
<NavLinkItem to={pb.systemUtilization()}>
107-
<Snapshots16Icon /> Utilization
107+
<Metrics16Icon /> Utilization
108108
</NavLinkItem>
109109
<NavLinkItem to={pb.sledInventory()}>
110110
<Storage16Icon /> Inventory

‎app/pages/SiloUtilizationPage.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { useIsFetching } from '@tanstack/react-query'
1010
import { useMemo, useState } from 'react'
1111

1212
import { apiQueryClient, usePrefetchedApiQuery } from '@oxide/api'
13-
import { Divider, Listbox, PageHeader, PageTitle, Snapshots24Icon } from '@oxide/ui'
13+
import { Divider, Listbox, Metrics24Icon, PageHeader, PageTitle } from '@oxide/ui'
1414
import { bytesToGiB, bytesToTiB } from '@oxide/util'
1515

1616
import { useIntervalPicker } from 'app/components/RefetchIntervalPicker'
@@ -63,7 +63,7 @@ export function SiloUtilizationPage() {
6363
return (
6464
<>
6565
<PageHeader>
66-
<PageTitle icon={<Snapshots24Icon />}>Capacity &amp; Utilization</PageTitle>
66+
<PageTitle icon={<Metrics24Icon />}>Capacity &amp; Utilization</PageTitle>
6767
</PageHeader>
6868

6969
<div className="flex justify-between gap-3">

‎app/pages/system/CapacityUtilizationPage.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ import {
1414
Cpu16Icon,
1515
Divider,
1616
Listbox,
17+
Metrics24Icon,
1718
PageHeader,
1819
PageTitle,
1920
Ram16Icon,
20-
Snapshots24Icon,
2121
Ssd16Icon,
2222
} from '@oxide/ui'
2323
import { bytesToGiB, bytesToTiB } from '@oxide/util'
@@ -85,7 +85,7 @@ export function CapacityUtilizationPage() {
8585
return (
8686
<>
8787
<PageHeader>
88-
<PageTitle icon={<Snapshots24Icon />}>Capacity &amp; Utilization</PageTitle>
88+
<PageTitle icon={<Metrics24Icon />}>Capacity &amp; Utilization</PageTitle>
8989
</PageHeader>
9090

9191
<div className="mb-12 flex min-w-min flex-col gap-3 lg+:flex-row">

‎codemods/add-responsive-viewbox.icons.js‎

Lines changed: 0 additions & 41 deletions
This file was deleted.

‎codemods/fix-title-and-fill.icons.js‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎codemods/remove-import-extensions.icons.js‎

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)