- Replace all text-[10px] (308 instances) with text-xs (12px) - Replace all text-[9px] and text-[8px] (133 instances) with text-xs - Replace all text-[11px] (76 instances) with text-xs - Bump all input/textarea font sizes to text-base (16px) to prevent iOS auto-zoom - No visual design changes — only sizing minimums enforced Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3.4 KiB
3.4 KiB
AIUI Project Memory
Session Startup
- Run
preview_startwith name"app"immediately — runs both Vite (:5173) + Claude proxy (:3141) viapackages/app/scripts/dev.sh - Always commit work before ending a session
- Work on
developmentbranch, merge tomainonly when production ready
User Preferences
- NO worktrees, NO temporary branches — just
developmentandmain - Always use combined dev script (proxy + frontend), never bare
vite - Commit frequently to avoid losing work
Current State (2026-03-04)
- Branch:
overnight/2026-03-03, all committed and pushed to remote (git.tx1138.com) - Typecheck passes clean
What's Been Built
- Chat: AI streaming with stop generation, web search, article integration, paste & extract
- Content panel tabs: Films, Music, Magazine, News, Books, TV Series, Images, Places, Code, Design System, Nostr, Apps
- Detail views for each content type (side-by-side desktop, overlay mobile)
- Apps tab: curated DB of ~30 Nostr/Bitcoin apps, AppsGrid + AppDetail with search/category filtering/how-to
- Design system viewer (grid + detail) for tokens, colors, typography, components
- Nostr feed scaffold with note/article/zap filtering
- Content extraction: contentExtraction.ts + contentFiltering.ts (overhauled classifiers)
- Bare domain extraction from AI text (e.g. "check out damus.io")
- Banner fallback composable (primary → API → gradient)
- Image fallbacks: Wikipedia + Google Books sources
- Loading skeletons per content type variant
- Project grid with breadcrumb nav and inline creation
- Filesystem Vite plugin for local project browsing
- PWA with star icon, TMDB proxy, Jamendo for music
- Slash command palette: /code, /nostr, /design, /search show in palette with auto-send
- Chat action buttons: wrapped in glass container (backdrop blur, border, shadow)
- Settings modal: Memory + Advanced Settings via gear icon
- Chat history: dedicated clock icon button
- Web search: Brave API primary, SearXNG rotation fallback, DuckDuckGo fallback
- iOS HIG mobile UX rules in
.cursor/rules/15-mobile-ux.mdc
Key Files
- Dev script:
packages/app/scripts/dev.sh - Launch config:
.claude/launch.json(name: "app") - Main page:
packages/app/src/pages/ChatPage.vue - Content panel:
packages/app/src/components/content/ContentPanel.vue - Content grids:
packages/app/src/components/content/*Grid.vue - Detail views:
packages/app/src/components/content/*Detail.vue - Apps:
packages/app/src/data/apps.ts(curated DB),AppsGrid.vue,AppDetail.vue - AI composable:
packages/app/src/composables/useAI.ts - Content extraction:
packages/app/src/composables/contentExtraction.ts - Content filtering:
packages/app/src/composables/contentFiltering.ts - Content panel logic:
packages/app/src/composables/useContentPanel.ts - Image fallbacks:
packages/app/src/composables/useImageFallback.ts - Banner fallback:
packages/app/src/composables/useBannerFallback.ts - Chat input:
packages/app/src/components/chat/ChatInput.vue - Prompt palette:
packages/app/src/components/chat/PromptPalette.vue - Chat message:
packages/app/src/components/chat/ChatMessage.vue - Settings modal:
packages/app/src/components/chat/SettingsModal.vue - Web search plugin:
packages/app/vite-web-search.ts - Prompt templates store:
packages/app/src/stores/promptTemplates.ts
Recent Session Work (2026-03-04)
See session-2026-03-04.md for details.