From e411a104f45845f93954801f911619745ba8bd0a Mon Sep 17 00:00:00 2001 From: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Date: Tue, 10 Feb 2026 23:00:46 +0100 Subject: [PATCH] feat: scroll to specific setting when opening settings dialog (#8761) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Adds `settingId` parameter to `showSettingsDialog` that auto-navigates to the correct category tab, scrolls to the setting, and briefly highlights it with a CSS pulse animation - Adds `data-setting-id` attributes to setting items for stable DOM targeting - Adds "Don't show this again" checkbox with "Re-enable in Settings" deep-link to the missing nodes dialog - Adds "Re-enable in Settings" deep-link to missing models and blueprint overwrite "Don't show this again" checkboxes - Fixes #3437 ## Test plan - [x] `pnpm typecheck` passes - [x] `pnpm lint` passes - [x] Unit tests pass (59/59 including 5 new tests for `useSettingUI`) https://github.com/user-attachments/assets/a9e80aea-7b69-4686-b030-55a2e0570ff0 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8761-feat-scroll-to-specific-setting-when-opening-settings-dialog-3036d73d365081d18d9afe9f9ed41ebc) by [Unito](https://www.unito.io) --- .../content/ConfirmationDialogContent.vue | 48 ++++-- .../dialog/content/MissingModelsWarning.vue | 47 +++++- .../dialog/content/MissingNodesFooter.vue | 127 +++++++++++----- src/locales/en/main.json | 2 + .../components/SettingDialogContent.vue | 52 ++++++- .../settings/components/SettingGroup.vue | 1 + .../settings/composables/useSettingUI.test.ts | 140 ++++++++++++++++++ .../settings/composables/useSettingUI.ts | 30 +++- src/services/dialogService.ts | 13 +- 9 files changed, 388 insertions(+), 72 deletions(-) create mode 100644 src/platform/settings/composables/useSettingUI.test.ts diff --git a/src/components/dialog/content/ConfirmationDialogContent.vue b/src/components/dialog/content/ConfirmationDialogContent.vue index 556379b3fb..1d1ed3fe96 100644 --- a/src/components/dialog/content/ConfirmationDialogContent.vue +++ b/src/components/dialog/content/ConfirmationDialogContent.vue @@ -18,17 +18,35 @@