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:
4
.gitignore
vendored
4
.gitignore
vendored
@ -3,4 +3,6 @@ dist/**
|
|||||||
desktop.ini
|
desktop.ini
|
||||||
.continue/**
|
.continue/**
|
||||||
.clasp.json
|
.clasp.json
|
||||||
coverage/
|
coverage/
|
||||||
|
test_output.txt
|
||||||
|
.agent/
|
||||||
|
|||||||
@ -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.
|
||||||
|
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
BIN
test_output.txt
BIN
test_output.txt
Binary file not shown.
Reference in New Issue
Block a user