Full deployment history for this project.
chore: add comprehensive tests, documentation, and fix build - Added unit tests for layers-panel-dnd, phorm-loader, theme-provider, and API routes (mcp, jsonld, integrations). - Added end-to-end tests for layer drag-and-drop interactions and the design submission flow. - Added comprehensive JSDoc comments to layers-panel-dnd, phorm-loader, theme-provider, use-drag-drop, lib/api/index, and design/store. - Fixed several TypeScript compilation errors across the project, including typing for persisted design metadata, @dnd-kit sensor constraints, and missing unexported variables. - Fixed `window.analytics` typing issues by correctly importing the `analytics` instance from `@/lib/analytics`. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #19 from mbarbine/fix-build-tests-docs-8134768071383657926 Fix build, add tests, and documentation
Fix build, add tests and documentation This commit resolves build issues, specifically around missing properties and duplicate NextRequest/NextResponse mocks in tests. It also adds a few missing tests for components, provides meaningful JSDoc to `utils` and `use-design-persistence`, and ignores test artifacts in git. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #18 from mbarbine/fix/canvas-shape-drawing-11072164494362680047 fix: Initialize path for shape and text tools on mouse down
fix: Initialize path for shape and text tools on mouse down Fixes the canvas drawing logic where `currentPath` was only initialized for the "pen" tool during `handleMouseDown` and `handleTouchStart`. By adding "rectangle", "ellipse", "line", and "text" to the list of tools that initialize a starting point, these shapes can now be successfully drawn on the canvas. Also includes test mock fixes for NextRequest to prevent vitest parse errors. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
fix: Initialize path for shape and text tools on mouse down Fixes the canvas drawing logic where `currentPath` was only initialized for the "pen" tool during `handleMouseDown` and `handleTouchStart`. By adding "rectangle", "ellipse", "line", and "text" to the list of tools that initialize a starting point, these shapes can now be successfully drawn on the canvas. Also includes test mock fixes for NextRequest to prevent vitest parse errors. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #16 from mbarbine/v0/mbarbine-43053dcf Launch Phorm AI design application and interactive canvas
fix: clear stale cache and fix undefined references Remove stale cache and fix undefined 'analytics' calls. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
fix: resolve HMR cache issues and fix export-panel.tsx errors Add cache control headers and clean up undefined references. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
fix: resolve Turbopack build errors and syntax issues Set Turbopack root in next.config.mjs and fix export-panel.tsx/page.tsx errors. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #14 from mbarbine/fix-docs-submissions-api-14547704946068980761 Fix docs.platphormnews.com submissions API urls and payloads
fix: improve error handling for non-JSON API responses Gracefully handle plain text errors and force cache invalidation. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
fix: correct handleTouchEnd definition and cache invalidation Move handleTouchEnd after handleMouseUp and add element creation logic. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
feat: enhance Phorm with SVG tools, mobile UX, and Docs integration Fix SVG tools, update Save to Docs API, overhaul mobile UX, update documentation Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Fix docs.platphormnews.com submissions API urls and payloads Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #13 from mbarbine/jules-docs-integration-6584003356047228938 feat(api): integrate platphorm docs API for saving designs
feat(api): integrate platphorm docs API for saving designs Updated the export panel's "Save to Platphorm Docs" functionality to forward the design to the `https://docs.platphormnews.com/api/v1/submissions` endpoint according to the OpenAPI documentation. Added tests for the new API route. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #12 from mbarbine/fix/turbopack-build-syntax-error-10433663845625149234 Fix template literal syntax error causing Turbopack build failure in docs
Fix template literal syntax error causing Turbopack build failure in docs Fixed an improperly escaped backtick in a code block template literal in `app/docs/drag-drop/page.tsx` that was causing the Turbopack parser to throw an "Expected unicode escape" error during `next build`. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
feat: add Minecraft theme to design app - Integrate new 'minecraft' theme option via next-themes. - Apply blocky/voxel styling across canvas, panels, and toolbar via globals.css. - Integrate 'Press Start 2P' font globally when theme is active. - Introduce custom Minecraft styling for Sonner toast notifications and add feedback on Save/Export. - Fix @dnd-kit peer dependency issues. - Add Playwright E2E tests for the theme toggle. - Fix syntax error in drag-drop docs that failed the build. Co-authored-by: mbarbine <3211492+mbarbine@users.noreply.github.com>
feat: add DialogDescription to image uploader dialog Resolve accessibility issue by providing upload instructions for screen readers. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #6 from mbarbine/v0/mbarbine-f3d20edb-2 Prepare Phorm app for initial 0.0.1 launch
feat: polish Phorm app for 0.0.1 launch Update version to 0.0.1 across all files and metadata Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #5 from mbarbine/v0/mbarbine-ee661f97 Launch Phorm AI design application and interactive canvas
fix: resolve infinite loop in design editor Simplify effects and disable history tracking to prevent loops. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #4 from mbarbine/v0/mbarbine-792b1d71 Launch Phorm AI-powered design application and interactive canvas
fix: resolve build cache and history tracking issues Fix cache issues and prevent Toolbar infinite loop by using refs. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
fix: resolve infinite loop and improve history tracking Import useRef and fix refs to prevent re-creation on each render. Simplify history tracking and add flags to skip updates during undo/redo. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
fix: rebuild and update hooks for loader and persistence Recreate 'phorm-loader.tsx' and 'use-design-persistence.ts' with fixes. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #2 from mbarbine/v0/mbarbine-08d911ba Launch Phorm AI-powered design application and interactive canvas
refactor: update hooks and force cache refresh Recreate persistence hook and fix stale build issues with comments. Co-authored-by: Michael Barbine <3211492+mbarbine@users.noreply.github.com>
Merge pull request #1 from mbarbine/v0/mbarbine-dda8bdf9 Launch Platphorm Design application with AI-powered canvas