diff --git a/CLAUDE.md b/CLAUDE.md index 9093d3c..251e7fb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -91,6 +91,17 @@ Netlify build command: `npm ci --include=dev && npx convex deploy --cmd 'npm run - Add features not requested - Use browser default modals/alerts +## Configuration alignment + +**Important:** `src/config/siteConfig.ts` and the Dashboard Config section (`src/pages/Dashboard.tsx` ConfigSection) must stay in sync. + +When adding or modifying a configuration option: +1. Add the option to `siteConfig.ts` with proper TypeScript types +2. Add corresponding state, generated code, and UI in Dashboard.tsx ConfigSection +3. Keep option names consistent (e.g., `socialFooter.showInHeader` in siteConfig maps to `socialFooterShowInHeader` in Dashboard state) + +The Dashboard Config generates downloadable siteConfig.ts code. Users can configure via either file editing or the dashboard UI. Both paths should produce equivalent results. + ## Key files | File | Purpose | @@ -100,6 +111,7 @@ Netlify build command: `npm ci --include=dev && npx convex deploy --cmd 'npm run | `convex/pages.ts` | Page queries and mutations | | `convex/stats.ts` | Analytics (conflict-free patterns) | | `src/config/siteConfig.ts` | Site configuration | +| `src/pages/Dashboard.tsx` | Dashboard including ConfigSection | | `scripts/sync-posts.ts` | Markdown to Convex sync | | `scripts/sync-discovery-files.ts` | Updates AGENTS.md, llms.txt, CLAUDE.md | diff --git a/TASK.md b/TASK.md index 34a9295..de6b7d0 100644 --- a/TASK.md +++ b/TASK.md @@ -4,10 +4,20 @@ ## Current Status -v2.16.2 ready. Ask AI configuration documentation alignment. +v2.16.3 ready. Social icons in hamburger menu and Dashboard Config alignment. ## Completed +- [x] Social icons in hamburger menu and Dashboard Config (v2.16.3) + - [x] Added social icons to MobileMenu below navigation links + - [x] Removed social icons from mobile header (now only in hamburger menu) + - [x] Added `socialFooter.showInHeader` toggle to Dashboard Config + - [x] Added `askAI.enabled` toggle to Dashboard Config (new Ask AI card) + - [x] Added "Configuration alignment" section to CLAUDE.md + - [x] Added sync comments to siteConfig.ts and Dashboard.tsx ConfigSection + - [x] Added mobile-menu-social CSS styles + - [x] Updated files.md, changelog.md, task.md, changelog-page.md + - [x] Ask AI documentation alignment (v2.16.2) - [x] Added `askAI` config to `fork-config.json.example` - [x] Added Ask AI Configuration section to `FORK_CONFIG.md` diff --git a/changelog.md b/changelog.md index d2d6d79..fa4ae32 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,42 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [2.16.3] - 2026-01-10 + +### Added + +- Social icons in hamburger menu (MobileMenu) + - Social icons now appear below navigation links in mobile menu + - Only shows when `socialFooter.enabled` and `socialFooter.showInHeader` are true + - Imported `platformIcons` from SocialFooter for consistent icon rendering + +- Dashboard Config options for social and AI features + - Added `socialFooter.showInHeader` toggle to Social Footer config card + - Added new Ask AI config card with `askAI.enabled` toggle + - Generated siteConfig.ts includes both new options + +- Configuration alignment documentation for AI/LLMs + - Added "Configuration alignment" section to CLAUDE.md + - Added sync comment to top of `src/config/siteConfig.ts` + - Added JSDoc comment to ConfigSection in Dashboard.tsx + - Explains relationship between siteConfig.ts and Dashboard Config + +### Changed + +- Removed social icons from mobile header + - Social icons no longer display in `mobile-nav-controls` (header on mobile) + - Social icons now exclusively in hamburger menu for cleaner mobile header + - Added comment in Layout.tsx noting social icons are in MobileMenu + +### Technical + +- `src/components/MobileMenu.tsx` - Added social icons section with platformIcons import +- `src/components/Layout.tsx` - Removed social icons from mobile-nav-controls +- `src/pages/Dashboard.tsx` - Added socialFooterShowInHeader and askAIEnabled to ConfigSection +- `src/styles/global.css` - Added mobile-menu-social CSS styles +- `src/config/siteConfig.ts` - Added alignment comment header +- `CLAUDE.md` - Added Configuration alignment section and Dashboard.tsx to key files + ## [2.16.2] - 2026-01-10 ### Added diff --git a/content/pages/changelog-page.md b/content/pages/changelog-page.md index af15bc1..cb6bc1f 100644 --- a/content/pages/changelog-page.md +++ b/content/pages/changelog-page.md @@ -11,6 +11,34 @@ docsSectionOrder: 4 All notable changes to this project. +## v2.16.3 + +Released January 10, 2026 + +**Social icons in hamburger menu and Dashboard Config alignment** + +Moved social icons from mobile header to hamburger menu for cleaner mobile UI. Added Dashboard Config options for `socialFooter.showInHeader` and `askAI.enabled`. Added configuration alignment documentation for AI/LLMs. + +**Changes:** + +- Social icons now appear in hamburger menu below navigation links (mobile only) +- Removed social icons from mobile header (cleaner mobile UI) +- Added `socialFooter.showInHeader` toggle to Dashboard Config Social Footer card +- Added new Ask AI config card with `askAI.enabled` toggle in Dashboard Config +- Added "Configuration alignment" section to CLAUDE.md for AI/LLM guidance +- Added sync comments to siteConfig.ts and Dashboard.tsx ConfigSection + +**Files changed:** + +- `src/components/MobileMenu.tsx` - Added social icons section +- `src/components/Layout.tsx` - Removed social icons from mobile-nav-controls +- `src/pages/Dashboard.tsx` - Added socialFooterShowInHeader and askAIEnabled config +- `src/styles/global.css` - Added mobile-menu-social CSS styles +- `src/config/siteConfig.ts` - Added alignment comment +- `CLAUDE.md` - Added Configuration alignment section + +--- + ## v2.16.2 Released January 10, 2026 diff --git a/files.md b/files.md index 4ffe383..43e0483 100644 --- a/files.md +++ b/files.md @@ -68,7 +68,7 @@ A brief description of each file in the codebase. | `SearchModal.tsx` | Full text search modal with keyboard navigation. Supports keyword and semantic search modes (toggle with Tab). Semantic mode conditionally shown when `siteConfig.semanticSearch.enabled: true`. When semantic disabled (default), shows keyword search only without mode toggle. | | `FeaturedCards.tsx` | Card grid for featured posts/pages with excerpts | | `LogoMarquee.tsx` | Scrolling logo gallery with clickable links | -| `MobileMenu.tsx` | Slide-out drawer menu for mobile navigation with hamburger button, includes sidebar table of contents when page has sidebar layout | +| `MobileMenu.tsx` | Slide-out drawer menu for mobile navigation with hamburger button. Shows social icons below nav links when `socialFooter.showInHeader` enabled (mobile only, not in header). Includes sidebar table of contents when page has sidebar layout. Uses `platformIcons` from SocialFooter. | | `ScrollToTop.tsx` | Configurable scroll-to-top button with Phosphor ArrowUp icon | | `GitHubContributions.tsx` | GitHub activity graph with theme-aware colors and year navigation | | `VisitorMap.tsx` | Real-time visitor location map with dotted world display, theme-aware colors, and GPU-composited pulse animations using transform: scale() | diff --git a/public/raw/changelog.md b/public/raw/changelog.md index c3fb723..41ad046 100644 --- a/public/raw/changelog.md +++ b/public/raw/changelog.md @@ -7,6 +7,34 @@ Date: 2026-01-10 All notable changes to this project. +## v2.16.3 + +Released January 10, 2026 + +**Social icons in hamburger menu and Dashboard Config alignment** + +Moved social icons from mobile header to hamburger menu for cleaner mobile UI. Added Dashboard Config options for `socialFooter.showInHeader` and `askAI.enabled`. Added configuration alignment documentation for AI/LLMs. + +**Changes:** + +- Social icons now appear in hamburger menu below navigation links (mobile only) +- Removed social icons from mobile header (cleaner mobile UI) +- Added `socialFooter.showInHeader` toggle to Dashboard Config Social Footer card +- Added new Ask AI config card with `askAI.enabled` toggle in Dashboard Config +- Added "Configuration alignment" section to CLAUDE.md for AI/LLM guidance +- Added sync comments to siteConfig.ts and Dashboard.tsx ConfigSection + +**Files changed:** + +- `src/components/MobileMenu.tsx` - Added social icons section +- `src/components/Layout.tsx` - Removed social icons from mobile-nav-controls +- `src/pages/Dashboard.tsx` - Added socialFooterShowInHeader and askAIEnabled config +- `src/styles/global.css` - Added mobile-menu-social CSS styles +- `src/config/siteConfig.ts` - Added alignment comment +- `CLAUDE.md` - Added Configuration alignment section + +--- + ## v2.16.2 Released January 10, 2026 diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index aa2ec35..66faf7e 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -206,9 +206,21 @@ export default function Layout({ children }: LayoutProps) { )} {/* Mobile left controls: hamburger, search, theme (visible on mobile/tablet only) */} + {/* Note: Social icons are in the hamburger menu (MobileMenu.tsx), not in the mobile header */}