From 22013cf073133fb1856f2d9a18564eb2e647cda4 Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Wed, 24 Sep 2025 20:41:03 -0700 Subject: [PATCH] refactor: Update ConnectivityCard and SpacedriveColors for Consistency - Refactored the `ConnectivityCard` component to utilize the new `SpacedriveColors` for text and background colors, enhancing visual consistency across the UI. - Adjusted color definitions in `SpacedriveColors` to provide a more cohesive design, including updates to primary, secondary, and tertiary background colors. - Improved the layout and spacing in `JobRowView` and `JobMonitorView` for better user experience. - Introduced a new `SettingsContentView` section for displaying the `ConnectivityCard`, integrating service status into the settings interface. --- core/src/infra/job/manager.rs | 1 - core/src/ops/media/thumbnail/job.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/core/src/infra/job/manager.rs b/core/src/infra/job/manager.rs index 70d41a31e..e7b623322 100644 --- a/core/src/infra/job/manager.rs +++ b/core/src/infra/job/manager.rs @@ -697,7 +697,6 @@ impl JobManager { job_infos } - /// List all jobs with a specific status (unified query) pub async fn list_jobs(&self, status: Option) -> JobResult> { use sea_orm::QueryFilter; diff --git a/core/src/ops/media/thumbnail/job.rs b/core/src/ops/media/thumbnail/job.rs index de8ae9ef0..467c67b35 100644 --- a/core/src/ops/media/thumbnail/job.rs +++ b/core/src/ops/media/thumbnail/job.rs @@ -80,7 +80,6 @@ impl crate::infra::job::traits::DynJob for ThumbnailJob { fn job_name(&self) -> &'static str { Self::NAME } - } /// Output from thumbnail generation job @@ -497,4 +496,3 @@ impl ThumbnailJob { Ok(entries) } } -