Claude/intelligent boyd#4
Open
dineshxr wants to merge 47 commits into
Open
Conversation
…randing - Resolved conflicts in favor of local authentication system (Better Auth) - Kept Google-only authentication setup - Preserved Infogiph branding updates - Removed unused auth components (register, forgot-password, reset-password) - Updated remote scripts and dependencies 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Moved all files from flowchartai/ subdirectory to project root - Preserved complete git history and all project files - Added CLAUDE.md project instructions to repository - Maintained all existing functionality and configurations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Fixed duplicate dependency warning in package.json - Kept the newer version (^2.57.2) and removed the older one (^2.39.0) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Updated API functions path from app/api to src/app/api - Reflects the project restructure where flowchartai is now root 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Updated @supabase/supabase-js from ^2.39.0 to ^2.57.2 - Added missing excalidraw-animate@^0.7.1 dependency - Removed better-auth and added next-auth as per package.json This resolves the Vercel deployment failure caused by outdated lockfile.
- Replace better-auth with NextAuth.js configuration - Update auth client to use next-auth/react hooks - Add SessionProvider to app providers - Update middleware to use NextAuth JWT tokens - Fix user type definitions for NextAuth compatibility - Update user components to handle nullable user properties - Add props support to FlowchartMakerHero component This resolves the better-auth import errors in Vercel deployment. Admin functionality temporarily has type issues that need separate fix.
…owchartMakerHero component
- Added NEXTAUTH_SECRET to auth configuration to fix 500 errors - Replaced failing cdn.infogiph.com URLs with local resource paths - Added CORS headers for manifest.webmanifest to resolve cross-origin issues - Updated demo video and thumbnail paths to use local assets - Fixed hero section image paths in tailark components
…nt out AI usage imports
…d product references.
…feedback, and add new SEO content for the AI agent flowchart tool.
- Fix better-auth signIn API: use signIn.social({ provider }) instead of signIn(provider)
- Fix better-auth useSession hook: use isPending directly instead of status === 'loading'
- Fix Routes.Register reference: changed to Routes.Login (no register page exists)
- Add forgotPassword email template for password reset functionality
- Register forgotPassword template in mail/types.ts
…backed by a new API, UI, and updated session middleware.
- Add useCurrentUserWithStatus hook for 3-state auth detection (loading/authenticated/unauthenticated) - Rewrite auto-generation logic: wait for session, auto-generate if authenticated, show login dialog if not - Only clear localStorage flags after successful generation to preserve on failure/retry - Use window.history.replaceState instead of router.push after save to prevent animation jank - Simplify homepage submit: both auth states set localStorage and navigate to /canvas (no pre-creation of empty records) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…vas/[id] Next.js 15 disallows `ssr: false` in `next/dynamic` within Server Components. Extract the dynamic import into a separate client-page.tsx wrapper. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add non-www → www redirect in next.config.ts so infogiph.com redirects to www.infogiph.com (matching the canonical domain) - Use window.location.origin for auth client baseURL on the client side to ensure requests stay same-origin regardless of env var mismatch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…th to Supabase with SSR.
…lity, and refine AI usage authentication and tracking.
…iews, AI pages, and Stripe integration files, alongside minor updates to an about page and global styles.
Fix the hero section's broken flowchart layout that used fragile absolute positioning (md:-mt-64 md:-ml-[48rem]) causing overlapping nodes. Replace with a clean responsive grid for mobile/tablet and proper flexbox for desktop. SEO improvements: - Add JSON-LD structured data (Organization, WebSite, BlogPosting, BreadcrumbList) - Update llms.txt and llms-full.txt from old FlowChart AI branding to InfoGiph - Fix blog page title from generic "Blog" to keyword-rich title - Add hreflang alternates to sitemap entries - Fix twitter:site from base URL to Twitter handle - Improve logo alt text from "Logo" to "InfoGiph logo" - Use static dates in sitemap instead of new Date() - Clean up redundant robots.txt Allow rules Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Canvas entry page: - Add sidebar template picker with 7 templates (Chatbot, SaaS, E-Commerce, Data Pipeline, Social, AI Agent, Org Chart) - Replace raw HTML inputs with shadcn Input, Button, ToggleGroup - Add compact toolbar with animation mode selector and controls - Support tree layout for org chart (hierarchical cards with bracket connectors matching reference design) Canvas editor: - Replace custom animated export modal with shadcn Dialog - Update color tokens to semantic values for dark mode support Homepage gallery: - Replace placeholder "Sample Diagram" boxes with 4 animated infographic diagrams (AI Agent, E-Commerce, SaaS, Org Chart) - Add GalleryDiagram component with radial SVG animations - Add OrgChartDiagram with hierarchical tree layout - Switch gallery grid from 3-col to 2x2 Route wrappers: - Update bg-slate-50 to bg-background across canvas routes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The getIcon function was called with 2 arguments but only accepted 1, causing a TypeScript compilation error on Vercel build. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@dineshxr is attempting to deploy a commit to the tanchaowen's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.