Fix Shopify video previews and various improvements

- Ensure Shopify video sync updates Media Manager with active video previews
- Fix "Image load failed" error for video icons by using Base64 SVG
- Resolve Drive picker origin error by using google.script.host.origin
- Fix Drive video playback issues by using Drive iframe player
- Add `test:log` script to package.json for full output logging in Windows
- Update .gitignore to exclude coverage, test_output.txt, and .agent/
- Remove test_output.txt from git tracking
This commit is contained in:
Ben Miller
2025-12-31 01:09:49 -07:00
parent 64ab548593
commit f25fb359e8
4 changed files with 7 additions and 1 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@ desktop.ini
.continue/** .continue/**
.clasp.json .clasp.json
coverage/ coverage/
test_output.txt
.agent/

View File

@ -46,3 +46,6 @@ This project (`product_inventory`) integrates Google Sheets with Shopify. It ser
- **Client-Side Syntax**: - **Client-Side Syntax**:
- **ES5 ONLY**: Do not use `class` in client-side HTML files. The Apps Script sanitizer often fails to parse them. Use `function` constructors. - **ES5 ONLY**: Do not use `class` in client-side HTML files. The Apps Script sanitizer often fails to parse them. Use `function` constructors.
## Troubleshooting
- **Test Output**: When running tests, use `npm run test:log` to capture full output to `test_output.txt`. This avoids terminal truncation and allows agents to read the full results without manual redirection.

View File

@ -9,6 +9,7 @@
"build": "webpack --mode production", "build": "webpack --mode production",
"deploy": "clasp push", "deploy": "clasp push",
"test": "jest", "test": "jest",
"test:log": "jest > test_output.txt 2>&1",
"prepare": "husky" "prepare": "husky"
}, },
"devDependencies": { "devDependencies": {

Binary file not shown.