From 8cde6f103445ee0fcd7b8b0694714d79332b4ab1 Mon Sep 17 00:00:00 2001 From: haopengzhan Date: Sun, 23 Aug 2026 14:50:05 -0700 Subject: [PATCH] fix: shorten manifest description to 116 chars to meet Chrome Web Store limit --- .github/workflows/ci.yml | 6 +++++- Makefile | 2 +- manifest.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ead2724..046b826 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,11 @@ jobs: console.error('Error: Manifest version must be 3'); process.exit(1); } - console.log('✅ manifest.json is valid (v' + manifest.version + ')'); + if (manifest.description && manifest.description.length > 132) { + console.error('Error: Description is too long (' + manifest.description.length + ' > 132 chars)'); + process.exit(1); + } + console.log('✅ manifest.json is valid (v' + manifest.version + ', description: ' + manifest.description.length + '/132 chars)'); " - name: Verify Referenced Assets & Files diff --git a/Makefile b/Makefile index a54162b..01f87fc 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ help: ## check: Verify JavaScript syntax and manifest validity check: @echo "🔍 Validating manifest.json and JavaScript files..." - @node -e "const m = JSON.parse(require('fs').readFileSync('manifest.json')); if (m.manifest_version !== 3) process.exit(1); console.log('✅ Manifest v' + m.version + ' OK');" + @node -e "const m = JSON.parse(require('fs').readFileSync('manifest.json')); if (m.manifest_version !== 3) process.exit(1); if (m.description.length > 132) { console.error('❌ Description too long: ' + m.description.length + ' > 132'); process.exit(1); } console.log('✅ Manifest v' + m.version + ' OK (Description: ' + m.description.length + '/132 chars)');" @find scripts dashboard popup -name "*.js" | while read -r jsfile; do \ node --check "$$jsfile" && echo " ✓ $$jsfile valid"; \ done diff --git a/manifest.json b/manifest.json index 9fa5b05..e31e06d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Brightwheel Memories & Reports Exporter", "version": "1.0.0", - "description": "Export all your children's memories, high-res photos, videos, daily care reports, milestones, and activity manifests from Brightwheel.", + "description": "Export all your child's high-res photos, videos, daily care logs, milestones, and activity reports from Brightwheel.", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png",