From 7b0ea38bbf08bcb5e1f2287213d6de93e1eba1c9 Mon Sep 17 00:00:00 2001 From: cowking <3200017240@qq.com> Date: Wed, 9 Sep 2026 23:53:16 +0800 Subject: [PATCH] feat(settings): highlight settings items on hover --- .../editor/EditorSettingsDialog.vue | 174 ++++++++++-------- .../EditorSettingsDialog.itemHover.spec.ts | 120 ++++++++++++ ...itorSettingsDialog.previewPosition.spec.ts | 4 +- 3 files changed, 218 insertions(+), 80 deletions(-) create mode 100644 apps/desktop/src/components/editor/__tests__/EditorSettingsDialog.itemHover.spec.ts diff --git a/apps/desktop/src/components/editor/EditorSettingsDialog.vue b/apps/desktop/src/components/editor/EditorSettingsDialog.vue index e86f00f349..576663c5fd 100644 --- a/apps/desktop/src/components/editor/EditorSettingsDialog.vue +++ b/apps/desktop/src/components/editor/EditorSettingsDialog.vue @@ -5208,7 +5208,7 @@ onUnmounted(() => {
-
+
@@ -5218,7 +5218,7 @@ onUnmounted(() => {
-
+
@@ -5228,7 +5228,7 @@ onUnmounted(() => {
-
+
@@ -5238,7 +5238,7 @@ onUnmounted(() => {
-
+
@@ -5248,7 +5248,7 @@ onUnmounted(() => {
-
+
@@ -5262,7 +5262,7 @@ onUnmounted(() => {
-
+

@@ -5280,7 +5280,7 @@ onUnmounted(() => {

-
+

@@ -5298,7 +5298,7 @@ onUnmounted(() => {

-
+

@@ -5308,7 +5308,7 @@ onUnmounted(() => {

-
+

@@ -5318,7 +5318,7 @@ onUnmounted(() => {

-
+

@@ -5328,7 +5328,7 @@ onUnmounted(() => {

-
+

@@ -5342,7 +5342,7 @@ onUnmounted(() => {

-
+

@@ -5361,7 +5361,7 @@ onUnmounted(() => {

-
+

@@ -5371,7 +5371,7 @@ onUnmounted(() => {

-
+

@@ -5381,7 +5381,7 @@ onUnmounted(() => {

-
+

@@ -5391,7 +5391,7 @@ onUnmounted(() => {

-
+

@@ -5401,7 +5401,7 @@ onUnmounted(() => {

-
+

@@ -5415,7 +5415,7 @@ onUnmounted(() => {

-
+

@@ -5425,7 +5425,7 @@ onUnmounted(() => {

-
+

@@ -5435,7 +5435,7 @@ onUnmounted(() => {

-
+

@@ -5445,7 +5445,7 @@ onUnmounted(() => {

-
+

{{ t("settings.regexMaxMatchCountDescription") }}

@@ -5465,7 +5465,7 @@ onUnmounted(() => {
-
+

@@ -5483,7 +5483,7 @@ onUnmounted(() => {

-
+
@@ -5520,7 +5520,7 @@ onUnmounted(() => {
-
+

@@ -5530,7 +5530,7 @@ onUnmounted(() => {

-
+

@@ -5540,7 +5540,7 @@ onUnmounted(() => {

-
+

@@ -5583,7 +5583,7 @@ onUnmounted(() => {

-
+