From 4df0ad3dc7a91c0e1e39d51d84362d692b1287ba Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Mon, 29 Dec 2025 20:22:32 -0800 Subject: [PATCH] Add AMD as an install option + lint fixes --- .../src/components/install/GpuPicker.vue | 30 +++++++++++-------- .../install/HardwareOption.stories.ts | 5 ---- .../src/components/install/HardwareOption.vue | 4 --- .../install/InstallLocationPicker.vue | 7 +++-- .../components/maintenance/TaskListPanel.vue | 1 - .../src/types/desktop/torchTypes.ts | 3 ++ apps/desktop-ui/src/views/InstallView.vue | 28 ++++++++++------- apps/desktop-ui/src/views/MaintenanceView.vue | 1 - src/locales/en/main.json | 4 ++- 9 files changed, 45 insertions(+), 38 deletions(-) create mode 100644 apps/desktop-ui/src/types/desktop/torchTypes.ts diff --git a/apps/desktop-ui/src/components/install/GpuPicker.vue b/apps/desktop-ui/src/components/install/GpuPicker.vue index 98dddb762..719977087 100644 --- a/apps/desktop-ui/src/components/install/GpuPicker.vue +++ b/apps/desktop-ui/src/components/install/GpuPicker.vue @@ -11,29 +11,31 @@ + @@ -41,7 +43,6 @@ @@ -66,28 +67,31 @@ diff --git a/apps/desktop-ui/src/components/install/HardwareOption.stories.ts b/apps/desktop-ui/src/components/install/HardwareOption.stories.ts index d830af49f..fc0e56713 100644 --- a/apps/desktop-ui/src/components/install/HardwareOption.stories.ts +++ b/apps/desktop-ui/src/components/install/HardwareOption.stories.ts @@ -29,7 +29,6 @@ export const AppleMetalSelected: Story = { imagePath: '/assets/images/apple-mps-logo.png', placeholderText: 'Apple Metal', subtitle: 'Apple Metal', - value: 'mps', selected: true } } @@ -39,7 +38,6 @@ export const AppleMetalUnselected: Story = { imagePath: '/assets/images/apple-mps-logo.png', placeholderText: 'Apple Metal', subtitle: 'Apple Metal', - value: 'mps', selected: false } } @@ -48,7 +46,6 @@ export const CPUOption: Story = { args: { placeholderText: 'CPU', subtitle: 'Subtitle', - value: 'cpu', selected: false } } @@ -57,7 +54,6 @@ export const ManualInstall: Story = { args: { placeholderText: 'Manual Install', subtitle: 'Subtitle', - value: 'unsupported', selected: false } } @@ -67,7 +63,6 @@ export const NvidiaSelected: Story = { imagePath: '/assets/images/nvidia-logo-square.jpg', placeholderText: 'NVIDIA', subtitle: 'NVIDIA', - value: 'nvidia', selected: true } } diff --git a/apps/desktop-ui/src/components/install/HardwareOption.vue b/apps/desktop-ui/src/components/install/HardwareOption.vue index ae254fd8f..9acc9e79c 100644 --- a/apps/desktop-ui/src/components/install/HardwareOption.vue +++ b/apps/desktop-ui/src/components/install/HardwareOption.vue @@ -36,17 +36,13 @@