From d8b0d5971a2ce7fb173e0f2af20dc46a4cd32dc6 Mon Sep 17 00:00:00 2001 From: Rosie Val Date: Sat, 8 Aug 2026 21:04:20 -0400 Subject: [PATCH] Remove (TODO) labels and add dependency/dependent popup menus --- .../components/PluginOptionsActionSheet.tsx | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/src/plugins/start/settings.plugins/components/PluginOptionsActionSheet.tsx b/src/plugins/start/settings.plugins/components/PluginOptionsActionSheet.tsx index 87998c1..0459dcb 100644 --- a/src/plugins/start/settings.plugins/components/PluginOptionsActionSheet.tsx +++ b/src/plugins/start/settings.plugins/components/PluginOptionsActionSheet.tsx @@ -117,7 +117,7 @@ function StatusSection({ plugin }: { plugin: AnyPlugin }) { } - label="Status (TODO)" + label="Status" subLabel={bitFieldToString(PluginStatus, status)} /> {errors.length > 0 && ( @@ -175,15 +175,37 @@ function AdvancedSection({ plugin }: { plugin: AnyPlugin }) { {dependencies.length > 0 && ( } - label="Dependencies (TODO)" + label="Dependencies" subLabel={`${name} depends on ${dependencies.length} other plugins`} + onPress={() => { + ActionSheetActionCreators.openLazy( + import('./PluginListActionSheet'), + `plugin-deps-${id}`, + { + title: `Dependencies of ${name}`, + plugins: dependencies, + sheetKey: `plugin-deps-${id}`, + }, + ) + }} /> )} {dependents.length > 0 && ( } - label="Dependents (TODO)" + label="Dependents" subLabel={`${dependents.length} other plugins depend on ${name}`} + onPress={() => { + ActionSheetActionCreators.openLazy( + import('./PluginListActionSheet'), + `plugin-dependents-${id}`, + { + title: `Dependents of ${name}`, + plugins: dependents, + sheetKey: `plugin-dependents-${id}`, + }, + ) + }} /> )}