Development#20
Merged
Merged
Conversation
Build (vite): - Add manualChunks splitting vendor code into 5 independent chunks (vendor-react, vendor-supabase, vendor-i18n, vendor-query, vendor-qrcode) - Add rollup-plugin-visualizer (activated via ANALYZE=true env flag) - Add optimizeDeps.include for faster dev cold starts Routing (app.tsx): - Convert all 6 pages to React.lazy + Suspense for route-based code splitting - Wrap app in QueryClientProvider (staleTime 30s, gcTime 5min globally) Gallery rendering (GalleryPage.tsx): - Extract GalleryCard as React.memo with custom comparator — prevents full list re-renders on unrelated state changes - Add loading="lazy" decoding="async" + fade-in skeleton on preview images 3D viewer (ModelViewer.tsx): - Add lazy prop using IntersectionObserver (rootMargin: 200px) — model-viewer WebGL canvas only mounts when card enters viewport — prevents GPU OOM with 50+ gallery items Data layer (repositories): - Add .limit(200) to conversion.repository findByOwnerId - Add .limit(500) to product.repository findByOwnerId - Replace all JS aggregation in events.repository with supabase.rpc() calls (getStatsForOwner, getHotspotStatsForOwner, getAvgSessionDuration) - Replace 2-query + JS slice in embed-views.repository with single RPC call Database (migration 016): - CREATE INDEX CONCURRENTLY idx_events_owner_type_created (owner_id, event_type, created_at DESC) - CREATE INDEX CONCURRENTLY idx_generation_feedback_conversion (conversion_id) - RPC functions: get_stats_for_owner, get_hotspot_stats_for_owner, get_avg_session_duration, get_embed_domains_for_owner Cache (use-gallery.ts): - Migrate useGallery to TanStack Query useQuery + useMutation — re-navigation to gallery returns instantly from cache — optimistic cache update on product delete UI (Header.tsx, ProductDetailPage.tsx, UploadPage.tsx): - useMemo for getThemeClasses in HeaderRoot - loading="lazy" decoding="async" on all remaining raw img tags Deps: - Add @tanstack/react-query ^5.100.11 - Add @tanstack/react-virtual ^3.13.24 - Add rollup-plugin-visualizer ^7.0.1 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduces the full brand identity backend: IBrandRepository interface and BrandData/BrandLogoData/BrandColorData domain types in libs/core; Supabase implementation in libs/data with generated database types for brands, brand_logos, and brand_colors; migration 017 that creates those tables with RLS owner-scoped policies; and a new /api/brand/scrape Worker endpoint that fetches a website URL and extracts brand name, description, logo, and brand colors from its HTML head. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds the full brand identity UI: BrandPage with logo upload, color palette management, and website-based brand scraping; useBrand hook encapsulating React Query fetch/mutate logic; brand state wired into AppContext; brand API methods in merchant-api-client; route added to app.tsx; English and Turkish i18n keys for all brand UI strings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rewrites README with full architecture diagram, tech stack table, quick-start guide, environment variable reference, Supabase setup, API reference, and deployment sections. Adds ARCHITECTURE.md, CHANGELOG.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md, DISCLAIMER.md, ROADMAP.md, SUPPORT.md, GitHub issue templates, PR template, and four reference docs (ai-integration, deployment, env-variables, supabase-schema). Expands SECURITY.md with security practices, known limitations, and coordinated disclosure process. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds commitlint with conventional-commits config and husky hooks (commit-msg validation, branch name enforcement). Switches Vite manualChunks from static object to function form for better chunk splitting. Adds skipTypeCheck and declaration:false to the API build target. Adds MIT LICENSE, changesets config, and smart-commit skill definitions for agents/claude/cursor. Updates memory index. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…elog generation scripts
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
minimalblock | e5e4bbe | Commit Preview URL Branch Preview URL |
May 19 2026, 08:36 PM |
…iguration fix in wrangler.toml
Deploying minimalblock with
|
| Latest commit: |
e5e4bbe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a0183365.minimalblock.pages.dev |
| Branch Preview URL: | https://development.minimalblock.pages.dev |
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.