From 2b54354b3f8aa0d52a20c57cea3073ee1caf981a Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Sat, 5 Jul 2025 04:36:27 +0000 Subject: [PATCH] Refactor ContactsView: replace verbose template with semantic CSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove 91 lines of repeated inline styling and complex conditionals - Add 15 semantic CSS classes (btn-primary, contact-list, etc.) - Replace inline logic with computed properties and methods - Fix invalid Tailwind class: text-md → text-base - 25% template code reduction with improved maintainability Template: 349 → 258 lines, +149 lines reusable CSS --- src/views/ContactsView.vue | 438 ++++++++++++++++++++++++------------- 1 file changed, 282 insertions(+), 156 deletions(-) diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 95241987..b4cf665b 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -14,102 +14,71 @@ Onboarding Guide - +
- + + + + - - - - - - - - - - + +