Commit Graph

9 Commits

Author SHA1 Message Date
Frank John Begornia
1dd8493689 refactor: simplify DesignerPreview component by removing unused props and events 2025-11-20 21:26:22 +08:00
Frank John Begornia
fce7a0ec72 feat: add background color picker and update related functionality in DesignerToolbar 2025-11-18 01:37:09 +08:00
Frank John Begornia
8a9703c24a Redesign toolbar as horizontal layout above canvas
- Move DesignerToolbar from sidebar to top of canvas container
- Convert vertical toolbar to horizontal layout with grouped controls
- Add element buttons (Text, Circle, Rectangle, Image) on left
- Inline color pickers for Fill and Stroke with compact design
- Horizontal zoom controls (-, percentage, +, Reset)
- Clear Canvas button positioned on the right
- Use border separators between control groups
- Remove vertical card layout in favor of toolbar-style UI
2025-11-16 01:24:50 +08:00
Frank John Begornia
bf701f8342 Replace Firebase Storage with MinIO and add user account features
- Storage Integration:
  * Remove Firebase Storage dependency and useFirebaseStorage composable
  * Implement direct MinIO uploads via POST /storage/upload with multipart/form-data
  * Upload canvas JSON, preview PNG, and production PNG as separate objects
  * Store public URLs and metadata in design records

- Authentication & Registration:
  * Add email/password registration page with validation
  * Integrate backend user session via /auth/login endpoint
  * Store backendUser.id as ownerId in design records
  * Auto-sync backend session on Firebase auth state changes

- User Account Pages:
  * Create profile page showing user details and backend session info
  * Create orders page with transaction history filtered by customerEmail
  * Add server proxy /api/orders to forward GET /transactions queries

- Navigation Improvements:
  * Replace inline auth buttons with avatar dropdown menu
  * Add Profile, Orders, and Logout options to dropdown
  * Implement outside-click and route-change handlers for dropdown
  * Display user initials in avatar badge

- API Updates:
  * Update transactions endpoint to accept amount as string
  * Format amount with .toFixed(2) in checkout success flow
  * Query orders by customerEmail instead of ownerId for consistency
2025-11-16 01:19:35 +08:00
Frank John Begornia
0ff41822af feat: implement Stripe checkout integration and add related API endpoints 2025-11-08 01:47:14 +08:00
Frank John Begornia
02b85eefc7 fix: update Firebase initialization and runtime config for environment variables 2025-11-07 23:42:09 +08:00
Frank John Begornia
50f08f8177 chore: add firebase dependency to package.json 2025-11-07 17:38:13 +08:00
Frank John Begornia
a545cbfcca Add AppNavbar component to the main page layout 2025-11-07 00:08:21 +08:00
Frank John Begornia
e2955debb7 first commit 2025-11-02 00:23:22 +08:00