From 79d10b5b379795573094318d21308b8fdaa84da5 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Tue, 24 Feb 2026 10:24:05 -0500 Subject: [PATCH] docs: add theme fix and admin sidebar implementation plans - Add THEME_FIX_PLAN.md: comprehensive plan for theme system consistency - Add ADMIN_SIDEBAR_PLAN.md: reusable admin sidebar component plan - Add WOOD_PANELING_PLAN.md: wood paneling and full-width layout plan --- ADMIN_SIDEBAR_PLAN.md | 318 ++++++++++++++++++++ THEME_FIX_PLAN.md | 23 +- WOOD_PANELING_PLAN.md | 685 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 1011 insertions(+), 15 deletions(-) create mode 100644 ADMIN_SIDEBAR_PLAN.md create mode 100644 WOOD_PANELING_PLAN.md diff --git a/ADMIN_SIDEBAR_PLAN.md b/ADMIN_SIDEBAR_PLAN.md new file mode 100644 index 0000000..7ce7c1c --- /dev/null +++ b/ADMIN_SIDEBAR_PLAN.md @@ -0,0 +1,318 @@ +# Admin Panel Sidebar Reusable Component Plan + +## Problem Statement + +The admin panel sidebar is currently implemented with code duplication and inconsistencies: + +### Current Issues + +1. **Code Duplication**: Sidebar markup is duplicated across templates: + - `admin.templ` (lines 17-32) + - `admin_library.templ` (lines 14-29) + +2. **Inconsistent Navigation Links**: + - `admin.templ`: Dashboard → **"User Administration"** → Library Management + - `admin_library.templ`: Dashboard → **"Profile Settings"** → Library Management + - "Profile Settings" link points to `/admin/profile` (doesn't exist) + - "User Administration" link points to `/admin/users` (correct) + +3. **Missing Sidebar**: `admin_users.templ` has **no sidebar at all** - only uses main `@Header` component + +4. **Inconsistent Layouts**: + - `admin.templ` & `admin_library.templ`: Full sidebar layout with `