From d857cce5dc248a0238b1213369595ca761c47918 Mon Sep 17 00:00:00 2001 From: Adam French Date: Wed, 25 Mar 2026 02:43:24 +0000 Subject: [PATCH] Consolidate OptionalLinkTable and ToggleLinkTable into LinkTable LinkTable now supports variant (list/table) and optional title toggle, replacing the need for separate components. Updates all consumers to use the unified API. Co-Authored-By: Claude Opus 4.6 --- nginx/vue/src/components/util/LinkTable.vue | 69 ++++++++++++++++--- .../src/components/util/OptionalLinkTable.vue | 27 -------- .../src/components/util/ToggleLinkTable.vue | 28 -------- nginx/vue/src/views/Bookmarks.vue | 8 +-- nginx/vue/src/views/home/Consumption.vue | 4 +- nginx/vue/src/views/home/Favorites.vue | 7 +- nginx/vue/src/views/home/Gym.vue | 4 +- nginx/vue/src/views/home/Links.vue | 2 +- 8 files changed, 73 insertions(+), 76 deletions(-) delete mode 100644 nginx/vue/src/components/util/OptionalLinkTable.vue delete mode 100644 nginx/vue/src/components/util/ToggleLinkTable.vue diff --git a/nginx/vue/src/components/util/LinkTable.vue b/nginx/vue/src/components/util/LinkTable.vue index 8773c93..2e8ee63 100644 --- a/nginx/vue/src/components/util/LinkTable.vue +++ b/nginx/vue/src/components/util/LinkTable.vue @@ -1,20 +1,73 @@ diff --git a/nginx/vue/src/components/util/OptionalLinkTable.vue b/nginx/vue/src/components/util/OptionalLinkTable.vue deleted file mode 100644 index 0c25bf5..0000000 --- a/nginx/vue/src/components/util/OptionalLinkTable.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/nginx/vue/src/components/util/ToggleLinkTable.vue b/nginx/vue/src/components/util/ToggleLinkTable.vue deleted file mode 100644 index c953fac..0000000 --- a/nginx/vue/src/components/util/ToggleLinkTable.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - diff --git a/nginx/vue/src/views/Bookmarks.vue b/nginx/vue/src/views/Bookmarks.vue index 151c4c0..fe6fa5e 100644 --- a/nginx/vue/src/views/Bookmarks.vue +++ b/nginx/vue/src/views/Bookmarks.vue @@ -1,7 +1,5 @@