TheFlow
|
03faedfb38
|
feat(admin): Phase 2 - standardize admin UI with unified navbar component
SUMMARY:
Completed Phase 2 of admin UI overhaul: Created unified navbar component
for simple pages, standardized CSS versioning across all pages, and fixed
broken navigation. Pragmatic approach preserves valuable cross-page navigation
while ensuring consistency.
CHANGES - Simple Pages (Unified Navbar Component):
- newsletter-management.html: Replaced custom navbar with component
- hooks-dashboard.html: Replaced custom navbar with component
- audit-analytics.html: Fixed wrong navbar (was using public site component)
CHANGES - Complex Pages (Standardized CSS Only):
- case-moderation.html: Added CSS version v=1759833751
- media-triage.html: Added CSS version v=1759833751
- project-manager.html: Updated CSS version to v=1759833751
- rule-manager.html: Updated CSS version to v=1759833751
(These pages retained custom navbars to preserve cross-page navigation UX)
COMPONENT ENHANCEMENTS:
- navbar-admin.js: Added 'hooks' icon for Framework Hooks Dashboard
- Newsletter management JS: Removed manual admin-name and logout handling
CSS STANDARDIZATION:
Target version: /css/tailwind.css?v=1759833751
- 7 pages now use standardized version (was 3 different versions + missing)
RESULTS:
- All admin pages now have consistent navbar styling
- Simple pages use unified component (3 pages)
- Complex pages use standardized custom navbars (6 pages)
- All pages have correct CSS versioning
- audit-analytics.html fixed (was using wrong component)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-20 21:51:09 +13:00 |
|
TheFlow
|
4b7e50962d
|
fix(admin): Phase 1 - critical auth and navigation fixes
SUMMARY:
Fixed 3 broken admin pages (newsletter, hooks dashboard, migrator) and
standardized navigation links. These pages were completely non-functional
due to localStorage key mismatches.
CRITICAL FIXES:
1. newsletter-management.js:
- token → admin_token (5 occurrences)
- admin → admin_user (2 occurrences)
- Now matches login.js localStorage keys
2. hooks-dashboard.js:
- tractatus_admin_token → admin_token
- Now uses correct auth token
3. claude-md-migrator.js:
- auth_token → admin_token (2 occurrences)
- Added missing apiRequest() helper function
- Fixed logout to clear both admin_token and admin_user
NAVIGATION FIXES:
4. newsletter-management.html:
- dashboard.html → /admin/dashboard.html (absolute path)
5. claude-md-migrator.html:
- ../css/tailwind.css → /css/tailwind.css?v=1759833751 (absolute + version)
- Added tractatus-theme.min.css
BEFORE (BROKEN):
- Newsletter Management: ❌ Auth failed (wrong token key)
- Hooks Dashboard: ❌ Auth failed (wrong token key)
- CLAUDE.md Migrator: ❌ Auth failed + missing apiRequest()
AFTER (WORKING):
- Newsletter Management: ✅ Auth works, all API calls function
- Hooks Dashboard: ✅ Auth works, metrics load
- CLAUDE.md Migrator: ✅ Auth works, API requests function
NEXT STEPS (Phase 2):
- Create unified admin navbar component
- Standardize CSS versioning across all pages
- Verify/create missing API endpoints
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-20 21:33:50 +13:00 |
|
TheFlow
|
52cbbb1e3a
|
style(ui): update theme, branding, and GitHub repository links
Update UI across all pages with:
- New favicon and brand icons (favicon-new.svg, tractatus-icon-new.svg)
- Theme CSS integration (tractatus-theme.min.css)
- Correct GitHub repository links (AgenticGovernance/tractatus)
- PWA manifest updates
- Consistent branding colors and gradients
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-19 12:48:29 +13:00 |
|
TheFlow
|
3a55429820
|
feat: newsletter modal and deployment script enhancements
**Newsletter Modal Implementation**:
- Added modal subscription forms to blog pages
- Improved UX with dedicated modal instead of anchor links
- Location: public/blog.html, public/blog-post.html
**Blog JavaScript Enhancements**:
- Enhanced blog.js and blog-post.js with modal handling
- Newsletter form submission logic
- Location: public/js/blog.js, public/js/blog-post.js
**Deployment Script Improvements**:
- Added pre-deployment checks (server running, version parameters)
- Enhanced visual feedback with status indicators (✓/✗/⚠)
- Version parameter staleness detection
- Location: scripts/deploy-full-project-SAFE.sh
**Demo Page Cleanup**:
- Minor refinements to demo pages
- Location: public/demos/*.html
**Routes Enhancement**:
- Newsletter route additions
- Location: src/routes/index.js
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-14 13:11:46 +13:00 |
|