Spaces:
Running

danylokhodus Claude Opus 5.5 commited on
Commit
0dcbaee
·
1 Parent(s): b1dd449

feat: new landing, template system, auto-layout, Free/Plus plans; remove AI and hide habits

Browse files

- Remove AI assistant UI (chat overlay, AI goal generation, AI toolbar button)
- Plans: Free/Plus with shared limits config (src/config/plans.js), new subscription page
- Hide habits: habit nodes hidden on the canvas (kept in data), sidebar item and /habits route removed
- Template system: built-in starters laid out automatically, template gallery with
previews, search and categories, save board or selection as template, insert into any board
- One-click auto-layout (toolbar, context menu, Shift+L) powered by dagre, animated
- New landing page with motion animations and an honest feature/roadmap description
- en/uk translations for the new UI; health ping instead of the public user list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

32 files changed +3425 -3438
Files changed (32)
package-lock.json+19
package.json+1
src/App.jsx+3-8
src/components/Sidebar.jsx+17-13
src/config/plans.jsAdded+20
src/context/AuthContext.jsx+1-1
src/features/canvas/components/AIHintOverlay.jsxDeleted-428
src/features/canvas/components/CanvasToolbar.jsx+28-36
src/features/canvas/components/PaywallModal.jsx+5-4
src/features/canvas/components/nodes/SketchNode.jsx+2-2
src/features/canvas/hooks/useCanvasLogic.js+191-284
src/features/canvas/layout.jsAdded+143
src/features/dashboard/hooks/useDashboardLogic.js+14-38
src/features/landing/HeroBoardDemo.jsxAdded+243
src/features/landing/components/AIFeatureSection.jsxDeleted-76
src/features/landing/components/HeroSection.jsxDeleted-130
src/features/landing/components/PricingSection.jsxDeleted-105
src/features/landing/landingCopy.jsAdded+199
src/features/templates/SaveTemplateModal.jsxAdded+146
src/features/templates/TemplateGallery.jsxAdded+322
src/features/templates/TemplatePreview.jsxAdded+105
src/features/templates/builtinTemplates.jsAdded+174
src/features/templates/templatesApi.jsAdded+121
src/layouts/Layout.jsx+37-19
src/locales/en.json+541-466
src/locales/uk.json+541-466
src/pages/CanvasPage.jsx+93-171
src/pages/DashboardPage.jsx+16-427
src/pages/LandingPage.jsx+343-616
src/pages/OnboardingPage.jsx+8-8
src/pages/SettingsPage.jsx-6
src/pages/SubscriptionPage.jsx+92-134