Commit Graph

11 Commits

Author SHA1 Message Date
8554ae9610 Fix duplicate media import bug and rename MediaSidebar to MediaManager
- Renamed src/MediaSidebar.html to src/MediaManager.html to align with modal UI.
- Fixed race condition in Photo Picker polling preventing duplicate imports.
- Updated global.ts, initMenu.ts, and mediaHandlers.ts used in the fix.
- Fixed unit tests for mediaHandlers.
2025-12-26 22:57:46 -07:00
50ddfc9e15 Feature: Robust Google Photos Integration & Media Hardening
- Implemented Google Photos Picker with Session API.
- Fixed 403 Forbidden errors by adding OAuth headers to download requests.
- Implemented MediaHandler resilience:
  - 3-Step Import (Save to Root -> Verify Folder -> Move).
  - Advanced Drive API Fallback (v3/v2) for file creation.
  - Blob Sanitization (Utilities.newBlob) to fix server errors.
- Enabled Advanced Drive Service in ppsscript.json.
- Updated Documentation (MEMORY.md, ARCHITECTURE.md) with findings.
2025-12-26 01:51:04 -07:00
95094b1674 feat(media): implement integrated media manager with sidebar and picker
- Implement DriveService and ShopifyMediaService for backend operations
- Create MediaSidebar.html with premium UI and auto-polling
- Integrate Google Picker API for robust file selection
- Orchestrate sync logic via MediaService (Drive -> Staged Upload -> Shopify)
- Add secure config handling for API keys and tokens
- Update ppsscript.json with required OAuth scopes
- Update MEMORY.md and README.md with architecture details
2025-12-25 15:10:17 -07:00
2d43c07546 feat: implement periodic shopify sales sync
- automated sales check (default 10 mins)

- manual reconciliation menu

- updates 'status' and 'shopify_status' in sheet

- updated docs
2025-12-24 22:08:12 -07:00
418123d742 feat: add troubleshooting side panel and advanced queue controls
- Implemented a global toggle to enable/disable background queue processing.
- Added a Side Panel (Sidebar.html) to view pending edits.
- Added per-item controls: 'Delete' to remove from queue, 'Push' to force update.
- Updated 'onEditQueue.ts' with robust error handling for batch processing.
- Updated documentation (README, ARCHITECTURE) to reflect new features.
- Fixed 'clasp' deployment issues by cleaning up manifest management.
2025-12-24 21:14:19 -07:00
6c7092bc5e misc fixes
*  updateShopifyProductHandler acts on all selected rows
*  updateProductToShopify checks SKU more quickly
*  defaults are always set products
2024-11-19 21:49:41 -07:00
220ee45e22 partial implementation of product update 2024-11-14 02:03:42 -07:00
9b01d6de8a use installed triggers
cannot call external services from default triggers
2024-11-14 00:50:05 -07:00
a5c0a1176d omg this is working 2024-11-13 23:43:32 -07:00
fb86c9c96d able to pull Products using Shopify GraphQL API 2024-11-09 02:40:13 -07:00
20a5e738f7 working version checkin
*  add config class
*  add vlookup
*  add menu
*  add photo folder creation
*  add prep for product templates
2024-11-04 20:44:19 -07:00