diff --git a/.cspell/project_words.txt b/.cspell/project_words.txt index 924a3634c..e19636e4f 100644 --- a/.cspell/project_words.txt +++ b/.cspell/project_words.txt @@ -14,6 +14,7 @@ Flac haden haoyuan haris +Iconoir josephjacks justinhoffman Keychain diff --git a/packages/interface/src/AppLayout.tsx b/packages/interface/src/AppLayout.tsx index 863051e18..4e9a9a383 100644 --- a/packages/interface/src/AppLayout.tsx +++ b/packages/interface/src/AppLayout.tsx @@ -1,5 +1,6 @@ import { useCurrentLibrary } from '@sd/client'; import clsx from 'clsx'; +import { IconoirProvider } from 'iconoir-react'; import { Suspense } from 'react'; import { Outlet } from 'react-router-dom'; @@ -32,9 +33,17 @@ export function AppLayout() { >
- }> - - + + }> + + +
diff --git a/packages/interface/src/components/jobs/JobManager.tsx b/packages/interface/src/components/jobs/JobManager.tsx index af8bec52f..b5b953315 100644 --- a/packages/interface/src/components/jobs/JobManager.tsx +++ b/packages/interface/src/components/jobs/JobManager.tsx @@ -68,9 +68,7 @@ export function JobsManager() { Recent Jobs
- + diff --git a/packages/interface/src/components/layout/Sidebar.tsx b/packages/interface/src/components/layout/Sidebar.tsx index 1f91479e7..38217c715 100644 --- a/packages/interface/src/components/layout/Sidebar.tsx +++ b/packages/interface/src/components/layout/Sidebar.tsx @@ -16,6 +16,7 @@ import { ButtonLink, CategoryHeading, Dropdown, + Loader, OverlayPanel, Switch, cva, @@ -44,58 +45,54 @@ export function Sidebar() { return (
-
- - - {isLoadingLibraries ? 'Loading...' : library ? library.config.name : ' '} - - - } - > - - {libraries?.map((lib) => ( - switchLibrary(lib.uuid)} - > - {lib.config.name} - - ))} - - - - Library Settings - - - Add Library - + + + {isLoadingLibraries ? 'Loading...' : library ? library.config.name : ' '} + + + } + > + + {libraries?.map((lib) => ( alert('TODO: Not implemented yet!')} + selected={lib.uuid === library?.uuid} + key={lib.uuid} + onClick={() => switchLibrary(lib.uuid)} > - Lock + {lib.config.name} - - + ))} + + + + Library Settings + + + Add Library + + alert('TODO: Not implemented yet!')}> + Lock + + + +
diff --git a/packages/interface/src/components/location/LocationListItem.tsx b/packages/interface/src/components/location/LocationListItem.tsx index 53c77d9f5..4b1735f94 100644 --- a/packages/interface/src/components/location/LocationListItem.tsx +++ b/packages/interface/src/components/location/LocationListItem.tsx @@ -33,25 +33,24 @@ export default function LocationListItem({ location }: LocationListItemProps) {

{location.name}

-

- {location.node.name} +

+ {location.node.name} {location.local_path}

- +
+
+ + +