Commit Graph

107 Commits

Author SHA1 Message Date
Wayne Sutton
a5c30a1592 fix: docs scroll 2025-12-30 12:24:36 -08:00
Wayne Sutton
6cd9ec116c feat: add CLAUDE.md and skills documentation
Created CLAUDE.md for Claude Code instructions and .claude/skills/ directory with frontmatter, convex, and sync skill files. Updated sync-discovery-files.ts to auto-update CLAUDE.md during sync.
2025-12-30 12:03:06 -08:00
Wayne Sutton
63de46830d update: dashboard requireAuth true 2025-12-30 00:33:39 -08:00
Wayne Sutton
689951d344 feat: markdown sync v2 complete
Complete markdown synchronization system with dashboard UI, sync server, type safety, and security improvements.
2025-12-30 00:29:07 -08:00
Wayne Sutton
02bc3c2973 update: workos logo, blog post images and dashboard docs images upload 2025-12-29 23:12:28 -08:00
Wayne Sutton
e8d09fcce2 feature: new dashboard workos auth for dashboard login, dashboard optional in site config, sync server for dashboard, workos and dashboard docs updated 2025-12-29 22:11:52 -08:00
Wayne Sutton
f6c9478c9d sf auth loading image [skip netlify] 2025-12-29 16:02:00 -08:00
Wayne Sutton
1e055c76fb Update: added stats page public or private option in siteconfig 2025-12-28 22:26:05 -08:00
Wayne Sutton
29d38eeced update: blog post image for Team Workflows with Git Version Control post 2025-12-28 21:52:24 -08:00
Wayne Sutton
c5896fd5ef feat: add blog heading styles to home intro content 2025-12-28 18:09:57 -08:00
Wayne Sutton
6cdb524c3c Newsletter image upload for blog post 2025-12-28 11:43:12 -08:00
Wayne Sutton
e1e64a36ec feat: Add MCP server fork setup instructions and update documentation 2025-12-27 22:54:51 -08:00
Wayne Sutton
eb018f4156 Update package-lock.json with @modelcontextprotocol/sdk dependencies 2025-12-27 22:24:21 -08:00
Wayne Sutton
01ac2a01c7 feat: added HTTP-Based MCP Server on Netlify 2025-12-27 22:18:03 -08:00
Wayne Sutton
d6e76f6e39 update: setup fork config docs and featured image. 2025-12-27 21:05:39 -08:00
Wayne Sutton
434d5bff71 disable newsletter admin on production 2025-12-27 16:14:52 -08:00
Wayne Sutton
47934cd382 update: added agentmail to readme, updated home links 2025-12-27 16:03:18 -08:00
Wayne Sutton
a87db9d171 docs: add changelog entries for v1.33.1 through v1.37.0
Add missing changelog entries to content/pages/changelog-page.md:

v1.34.0 (2025-12-26): Blog page featured layout with hero post
- blogFeatured frontmatter field for posts
- Hero card displays first featured post with landscape image
- 2-column featured row for remaining featured posts
- 3-column grid for regular posts

v1.35.0 (2025-12-26): Image support at top of posts and pages
- showImageAtTop frontmatter field
- Full-width image display above post header
- Works for both posts and pages

v1.36.0 (2025-12-27): Social footer component
- Customizable social links (8 platform types)
- Copyright with auto-updating year
- showSocialFooter frontmatter field for per-page control
- Configurable via siteConfig.socialFooter

v1.37.0 (2025-12-27): Newsletter Admin UI
- Three-column admin interface at /newsletter-admin
- Subscriber management with search and filters
- Send newsletter panel (post selection or custom email)
- Weekly digest automation (Sunday 9am UTC)
- Developer notifications (subscriber alerts, weekly stats)
- Markdown-to-HTML conversion for custom emails
2025-12-27 15:32:07 -08:00
Wayne Sutton
c312a4c808 updated anthropic production no key warning message 2025-12-26 22:14:04 -08:00
Wayne Sutton
3dcdb69041 update: show iamge at top of blog post, updated monospace font and base font size, default font for write 2025-12-26 18:13:06 -08:00
Wayne Sutton
b35dd17332 Update: Blog page featured layout ui, mobile menu padding and font change 2025-12-26 16:41:06 -08:00
Wayne Sutton
bfe88d0217 feat: add AI Agent chat integration with Anthropic Claude API
Add AI writing assistant (Agent) powered by Anthropic Claude API. Agent can be enabled on Write page (replaces textarea) and optionally in RightSidebar on posts/pages via frontmatter.

Features:
- AIChatView component with per-page chat history
- Page content context support for AI responses
- Markdown rendering for AI responses
- User-friendly error handling for missing API keys
- System prompt configurable via Convex environment variables
- Anonymous session authentication using localStorage

Environment variables required:
- ANTHROPIC_API_KEY (required)
- CLAUDE_PROMPT_STYLE, CLAUDE_PROMPT_COMMUNITY, CLAUDE_PROMPT_RULES (optional split prompts)
- CLAUDE_SYSTEM_PROMPT (optional single prompt fallback)

Configuration:
- siteConfig.aiChat.enabledOnWritePage: Enable Agent toggle on /write page
- siteConfig.aiChat.enabledOnContent: Allow Agent on posts/pages via frontmatter
- Frontmatter aiChat: true (requires rightSidebar: true)

Updated files:
- src/components/AIChatView.tsx: AI chat interface component
- src/components/RightSidebar.tsx: Conditional Agent rendering
- src/pages/Write.tsx: Agent mode toggle (title changes to Agent)
- convex/aiChats.ts: Chat history queries and mutations
- convex/aiChatActions.ts: Claude API integration with error handling
- convex/schema.ts: aiChats table with indexes
- src/config/siteConfig.ts: AIChatConfig interface
- Documentation updated across all files

Documentation:
- files.md: Updated component descriptions
- changelog.md: Added v1.33.0 entry
- TASK.md: Marked AI chat tasks as completed
- README.md: Added AI Agent Chat section
- content/pages/docs.md: Added AI Agent chat documentation
- content/blog/setup-guide.md: Added AI Agent chat setup instructions
- public/raw/changelog.md: Added v1.33.0 entry
2025-12-26 12:31:33 -08:00
Wayne Sutton
50890e9153 update: added firecrawl logo to homepage 2025-12-25 23:47:26 -08:00
Wayne Sutton
2168d80af3 fix home css 2025-12-25 23:19:17 -08:00
Wayne Sutton
b94b26116a Add image support to footer component with size control via HTML attributes 2025-12-25 23:01:58 -08:00
Wayne Sutton
d00f204fa7 docs: update changelog page with right sidebar feature and fixes
Add v1.30.0, v1.30.1, and v1.30.2 entries to changelog-page.md covering:
- Right sidebar feature implementation
- TypeScript error fixes
- Right sidebar default behavior fix
2025-12-25 21:06:06 -08:00
Wayne Sutton
6b776733d5 feat: add font family configuration system with monospace option 2025-12-25 12:17:27 -08:00
Wayne Sutton
66c7f161bd update: homepage and descrption text 2025-12-25 00:47:40 -08:00
Wayne Sutton
01db0a70e2 fix: plain text code blocks now wrap text properly 2025-12-25 00:31:30 -08:00
Wayne Sutton
27847327fd fix: standardize URLs to www.markdown.fast to resolve RSS feed validation errors 2025-12-24 23:45:58 -08:00
Wayne Sutton
03ff3eb844 feat: add discovery files sync commands and update documentation 2025-12-24 23:16:34 -08:00
Wayne Sutton
1ac6b9fc84 docs: update changelog page with v1.26.0 and v1.27.0 2025-12-24 14:35:49 -08:00
Wayne Sutton
4bc26c7a33 feat: add tag pages, related posts, and re-enable AI service links
- Add /tags/[tag] routes with dynamic tag archive pages
- Add related posts component to blog post footers (up to 3 by shared tags)
- Tag links in post footers now navigate to tag archive pages
- Re-enable Open in AI links using GitHub raw URLs (bypasses edge issues)
- Add gitHubRepo config in siteConfig.ts for raw URL construction
- Add by_tags index and getAllTags/getPostsByTag/getRelatedPosts queries
- Update sitemap to include dynamically generated tag pages
- Add mobile responsive styling for all new components
- Update docs with git push requirement for AI links to work
2025-12-24 13:49:00 -08:00
Wayne Sutton
dc5f9eff4c fix: sidebar border and ui sidebar ui changes 2025-12-24 12:23:59 -08:00
Wayne Sutton
e2eaa9c43b fix: disable AI service links due to Netlify edge function issues
- Remove /api/raw Netlify Function that caused build failures
- Comment out ChatGPT/Claude/Perplexity buttons in CopyPageDropdown
- Keep Copy page, View as Markdown, Download as SKILL.md options
- Update blog post with detailed log of attempted solutions
- Clean up netlify.toml by removing broken redirect rule

Users can still copy markdown and paste into AI tools manually.
The raw markdown files work in browsers but AI crawlers cannot
fetch them reliably due to Netlify edge function interception.
2025-12-24 01:44:00 -08:00
Wayne Sutton
534f020999 Move logo to top navigation header on all pages 2025-12-24 01:31:04 -08:00
Wayne Sutton
b43f8ff2f4 fix(api): use JS Netlify Function with query param for /api/raw endpoint 2025-12-24 00:55:55 -08:00
Wayne Sutton
6cbe5006ac fix(build): remove @netlify/functions dependency, use inline types 2025-12-24 00:45:14 -08:00
Wayne Sutton
c98049c411 feat(api): add /api/raw/:slug endpoint for AI tools (ChatGPT, Claude, Perplexity)
- Create netlify/functions/raw.ts Netlify Function
- Returns text/plain with minimal headers for reliable AI ingestion
- Reads from dist/raw/ (production) or public/raw/ (dev/preview)
- Update CopyPageDropdown to use /api/raw/:slug for AI services
- Keep /raw/:slug.md for View as Markdown browser viewing
- Add @netlify/functions dev dependency
2025-12-24 00:35:02 -08:00
Wayne Sutton
6ac6098668 fix(ai): remove Link header from /raw/* and use window.location.origin for raw URLs
- Remove Link header from global headers scope, apply only to /index.html
- Remove X-Robots-Tag noindex from /raw/* to allow AI crawler indexing
- Use window.location.origin instead of props.url for raw markdown URL construction
- Ensures correct URLs even when props.url points to canonical/deploy preview domains
- Fixes ChatGPT/Perplexity fetch failures on /raw/*.md endpoints
2025-12-24 00:13:10 -08:00
Wayne Sutton
a9d500ca4f eat(sync): generate homepage index markdown file listing all posts 2025-12-24 00:00:08 -08:00
Wayne Sutton
54e9dcc88c feat(sync): generate homepage index markdown file listing all posts 2025-12-23 23:55:23 -08:00
Wayne Sutton
6a49583da5 fix(edge): let AI crawlers bypass botMeta OG interception for /raw/*.md 2025-12-23 23:19:40 -08:00
Wayne Sutton
e8c8218c81 perf: use aggregate components in getStats for O(log n) counts instead of O(n) table scans pre and post data 2025-12-23 17:18:36 -08:00
Wayne Sutton
6b25873c79 perf: use aggregate components in getStats for O(log n) counts instead of O(n) table scans 2025-12-23 17:13:50 -08:00
Wayne Sutton
fa9651f62e docs: update changelog page with v1.24.3 and v1.24.4 releases
- Added v1.24.4 entry documenting showInNav field and hardcodedNavItems configuration
- Added v1.24.3 entry documenting inner page logo configuration
- Includes configuration examples and updated file lists
- Maintains consistent format with existing changelog entries
2025-12-23 17:01:22 -08:00
Wayne Sutton
3d6700739d feat: added logo to pages, blog post as an option in sitecong 2025-12-23 15:41:47 -08:00
Wayne Sutton
bdf5378a9a feat(mobile): redesign menu with sidebar integration
- Move mobile nav controls to left side (hamburger, search, theme)
- Add sidebar TOC to mobile menu when page has sidebar layout
- Hide desktop sidebar on mobile since accessible via hamburger
- Standardize mobile menu typography with CSS variables
- Use font-family inherit for consistent fonts across menu elements
2025-12-23 14:01:37 -08:00
Wayne Sutton
3b9f140fe1 updates: readme links update to live site 2025-12-23 01:06:46 -08:00
Wayne Sutton
52016b974f updated readme with docs links 2025-12-23 01:02:23 -08:00