Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions apps/extension/CHROMEWEBSTORE.md

Large diffs are not rendered by default.

25 changes: 13 additions & 12 deletions apps/extension/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ Release-readiness check of the extension built from `dev` at `fc9b820d` on 2026-

## 1. Readiness check (2026-10-30)

| Check | Result | Evidence |
| :--------------------------------------------- | :------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Build (`pnpm --filter @repo/extension build`) | Pass | `dist/` holds 11 files, 936 KB. The manifest is MV3, version `2.0.0`. |
| Extension tests, typecheck, lint | Pass | `test-extension-pipeline.ts` passes, including #1302, #1304 and #1326; `eslint --max-warnings 0` is clean. |
| Manifest permissions match `CHROMEWEBSTORE.md` | Pass | `storage` and `sidePanel`; 11 store host patterns (10 stores, TikTok on two hosts) plus `rate.vn` and `www.rate.vn`. The content-script matches cover the same origins; on `www.tiktok.com` they are limited to product page paths (#1601). The pipeline test enforces this (#1231). |
| `review_risk_score: null` shown as no data | Pass | The live lookup returns `null` for a seller with no analysed review, and the side panel shows `reviewRiskNoData` (#1266). |
| `dosafe_risk_score: null` | Fixed in #1465 (PR #1476) | A seller with no DOSafe score answers null from the API and reads "chưa đủ dữ liệu" in the side panel, never "0". |
| Verdict `messageKey` and the locale catalogue | Pass | All 10 server keys (`apps/web/src/server/rate/extension.ts`) map in `VERDICT_MESSAGES`. Every label and explanation exists in vi, en and cs with the right placeholder count. The live lookup returns `genuine_deal` and `fair_market` with their params. |
| Lookup ranking (#1379) | Pass | Live lookup of "Apple iPhone 16 128GB" matches `apple-iphone-16-128gb`, not the 16e. |
| 429 handling | Fixed in #1466 | After a 429 the extension sends no lookup until `Retry-After` (default 60 s, cap 600 s), the panel says how many seconds to wait, and the pill looks the product up again once the wait is over. |
| No locale sent | Pass | The lookup sends platform, URL, title, mode, ids, variant and prices, but no locale. The verdict is rendered from `messageKey` in the extension's language. |
| Version header | Fixed in #1466 | `X-Rate-Extension-Version` reads `chrome.runtime.getManifest().version`. |
| Check | Result | Evidence |
| :--------------------------------------------- | :------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Build (`pnpm --filter @repo/extension build`) | Pass | `dist/` holds 11 files, 936 KB. The manifest is MV3, version `2.0.0`. |
| Extension tests, typecheck, lint | Pass | `test-extension-pipeline.ts` passes, including #1302, #1304 and #1326; `eslint --max-warnings 0` is clean. |
| Manifest permissions match `CHROMEWEBSTORE.md` | Pass | `storage` and `sidePanel`; 36 store host patterns across 22 stores (TikTok on two hosts, 13 retail chains on bare + subdomain patterns) plus `rate.vn` and `www.rate.vn`. The content-script matches cover the same origins; on `www.tiktok.com` they are limited to product page paths (#1601). The pipeline test enforces this (#1231, #1850). |
| `review_risk_score: null` shown as no data | Pass | The live lookup returns `null` for a seller with no analysed review, and the side panel shows `reviewRiskNoData` (#1266). |
| `dosafe_risk_score: null` | Fixed in #1465 (PR #1476) | A seller with no DOSafe score answers null from the API and reads "chưa đủ dữ liệu" in the side panel, never "0". |
| Verdict `messageKey` and the locale catalogue | Pass | All 10 server keys (`apps/web/src/server/rate/extension.ts`) map in `VERDICT_MESSAGES`. Every label and explanation exists in vi, en and cs with the right placeholder count. The live lookup returns `genuine_deal` and `fair_market` with their params. |
| Lookup ranking (#1379) | Pass | Live lookup of "Apple iPhone 16 128GB" matches `apple-iphone-16-128gb`, not the 16e. |
| 429 handling | Fixed in #1466 | After a 429 the extension sends no lookup until `Retry-After` (default 60 s, cap 600 s), the panel says how many seconds to wait, and the pill looks the product up again once the wait is over. |
| No locale sent | Pass | The lookup sends platform, URL, title, mode, ids, variant and prices, but no locale. The verdict is rendered from `messageKey` in the extension's language. |
| Version header | Fixed in #1466 | `X-Rate-Extension-Version` reads `chrome.runtime.getManifest().version`. |

## 2. Release checklist (JOY publishes)

Expand All @@ -28,6 +28,7 @@ Release-readiness check of the extension built from `dev` at `fc9b820d` on 2026-
- **Opt-in:** the crowd opt-in is off by default, and its label names the fields it sends (#1230, #1241).
- **Contribution erasure:** with the observation routes on, opt in, open a product page, then turn the opt-in off: the server holds no observation for the install's id afterwards, and with the network off the erasure is retried at the next start (#1606).
- **Consent page:** a fresh install opens the consent page once, with "No" focused. Closing it leaves the opt-in off; "Yes" turns on the side panel toggle; reloading or updating the extension does not open it again (#1603).
- **Host-permission upgrade & re-enable:** install the previous packaged release first, then update in place without uninstalling. Confirm Chrome shows the new host-permission prompt when additional store patterns are introduced; in the release notes and support copy, tell existing users whose install Chrome pauses for new permissions to click the puzzle-piece Extensions menu (or open `chrome://extensions`), select Rate.vn, and click "Accept permissions" / re-enable the toggle so store lookup resumes.
5. Update the store listing:
- Description and screenshots match the panel as it is now (the price list and the states from #1319).
- The changelog below.
Expand Down
42 changes: 41 additions & 1 deletion apps/extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,26 @@
"https://hoanghamobile.com/*",
"https://didongviet.vn/*",
"https://phongvu.vn/*",
"https://gearvn.com/*",
"https://*.gearvn.com/*",
"https://nguyenkim.com/*",
"https://*.nguyenkim.com/*",
"https://shopdunk.com/*",
"https://*.shopdunk.com/*",
"https://hacom.vn/*",
"https://*.hacom.vn/*",
"https://clickbuy.com.vn/*",
"https://*.clickbuy.com.vn/*",
"https://viettelstore.vn/*",
"https://*.viettelstore.vn/*",
"https://pico.vn/*",
"https://*.pico.vn/*",
"https://mediamart.vn/*",
"https://*.mediamart.vn/*",
"https://memoryzone.com.vn/*",
"https://*.memoryzone.com.vn/*",
"https://anphatpc.com.vn/*",
"https://*.anphatpc.com.vn/*",
"https://rate.vn/*",
"https://www.rate.vn/*"
],
Expand All @@ -66,7 +86,27 @@
"https://fptshop.com.vn/*",
"https://hoanghamobile.com/*",
"https://didongviet.vn/*",
"https://phongvu.vn/*"
"https://phongvu.vn/*",
"https://gearvn.com/*",
"https://*.gearvn.com/*",
"https://nguyenkim.com/*",
"https://*.nguyenkim.com/*",
"https://shopdunk.com/*",
"https://*.shopdunk.com/*",
"https://hacom.vn/*",
"https://*.hacom.vn/*",
"https://clickbuy.com.vn/*",
"https://*.clickbuy.com.vn/*",
"https://viettelstore.vn/*",
"https://*.viettelstore.vn/*",
"https://pico.vn/*",
"https://*.pico.vn/*",
"https://mediamart.vn/*",
"https://*.mediamart.vn/*",
"https://memoryzone.com.vn/*",
"https://*.memoryzone.com.vn/*",
"https://anphatpc.com.vn/*",
"https://*.anphatpc.com.vn/*"
],
"exclude_matches": ["https://www.tiktok.com/@*/video/*"],
"js": ["content/content-script.js"],
Expand Down
14 changes: 7 additions & 7 deletions apps/extension/src/_locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"message": "Rate.vn - Porovnání cen, historie cen a AI filtr falešných recenzí"
},
"extDescription": {
"message": "Historie cen za 90 dní, odhalení falešných slev, levnější prodejci a AI filtr falešných recenzí v 10 vietnamských obchodech."
"message": "Historie cen za 90 dní, odhalení falešných slev, levnější prodejci a AI filtr falešných recenzí ve 22 vietnamských obchodech."
},
"actionTitle": {
"message": "Otevřít panel cen a důvěryhodnosti Rate.vn"
Expand Down Expand Up @@ -276,7 +276,7 @@
"message": "Body historie cen se stále sbírají."
},
"radarDealsTitle": {
"message": "Skutečné slevy pod mediánem (10 obchodů)"
"message": "Skutečné slevy pod mediánem (22 obchodů)"
},
"radarSavings": {
"message": "Ušetříte $AMOUNT$ (-$PCT$ %)",
Expand Down Expand Up @@ -335,7 +335,7 @@
"message": "nedostatek dat"
},
"merchantDirTitle": {
"message": "Důvěryhodnost prodejců v 10 obchodech ($COUNT$)",
"message": "Důvěryhodnost prodejců ve 22 obchodech ($COUNT$)",
"placeholders": {
"count": {
"content": "$1"
Expand Down Expand Up @@ -398,10 +398,10 @@
}
},
"noProductStores": {
"message": "Shopee, Lazada, Tiki, TikTok Shop, CellphoneS, Thế Giới Di Động, FPT Shop, Hoàng Hà Mobile, Di Động Việt"
"message": "Shopee, Lazada, Tiki, TikTok Shop, CellphoneS, Thế Giới Di Động, Điện Máy Xanh, TopZone, FPT Shop, Hoàng Hà Mobile, Di Động Việt, Phong Vũ, GearVN, Nguyễn Kim, ShopDunk, HACOM, Clickbuy, Viettel Store, Pico, MediaMart, MemoryZone"
},
"noProductLastStore": {
"message": "Phong Vũ"
"message": "An Phát Computer"
},
"variantPickerTitle": {
"message": "Zvolte prohlíženou variantu úložiště"
Expand Down Expand Up @@ -514,7 +514,7 @@
}
},
"radarPillSpread": {
"message": "Rozdíl v 10 obchodech $PCT$ %",
"message": "Rozdíl mezi obchody $PCT$ %",
"placeholders": {
"pct": {
"content": "$1"
Expand Down Expand Up @@ -673,7 +673,7 @@
"message": "Rate.vn je připraveno"
},
"onboardingLookup": {
"message": "Na stránkách produktů 10 podporovaných obchodů rozšíření posílá Rate.vn obchod, URL bez parametrů, název, ID produktu a obchodu, variantu, cenu a původní cenu, aby vyhledalo historii cen. Účet není potřeba."
"message": "Na stránkách produktů 22 podporovaných obchodů rozšíření posílá Rate.vn obchod, URL bez parametrů, název, ID produktu a obchodu, variantu, cenu a původní cenu, aby vyhledalo historii cen. Účet není potřeba."
},
"onboardingQuestion": {
"message": "Chcete přispívat nabídkami, které si prohlížíte?"
Expand Down
14 changes: 7 additions & 7 deletions apps/extension/src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"message": "Rate.vn - Price Comparison, Price History & AI Fake Review Filter"
},
"extDescription": {
"message": "Check 90-day price history, spot fake discounts, find cheaper sellers and filter fake reviews with AI on 10 Vietnamese stores."
"message": "Check 90-day price history, spot fake discounts, find cheaper sellers and filter fake reviews with AI on 22 Vietnamese stores."
},
"actionTitle": {
"message": "Open the Rate.vn price and trust panel"
Expand Down Expand Up @@ -276,7 +276,7 @@
"message": "Still collecting price history points."
},
"radarDealsTitle": {
"message": "Genuine deals below the median (10 stores)"
"message": "Genuine deals below the median (22 stores)"
},
"radarSavings": {
"message": "Save $AMOUNT$ (-$PCT$%)",
Expand Down Expand Up @@ -335,7 +335,7 @@
"message": "not enough data"
},
"merchantDirTitle": {
"message": "Seller trust across 10 stores ($COUNT$)",
"message": "Seller trust across 22 stores ($COUNT$)",
"placeholders": {
"count": {
"content": "$1"
Expand Down Expand Up @@ -398,10 +398,10 @@
}
},
"noProductStores": {
"message": "Shopee, Lazada, Tiki, TikTok Shop, CellphoneS, Thế Giới Di Động, FPT Shop, Hoàng Hà Mobile, Di Động Việt"
"message": "Shopee, Lazada, Tiki, TikTok Shop, CellphoneS, Thế Giới Di Động, Điện Máy Xanh, TopZone, FPT Shop, Hoàng Hà Mobile, Di Động Việt, Phong Vũ, GearVN, Nguyễn Kim, ShopDunk, HACOM, Clickbuy, Viettel Store, Pico, MediaMart, MemoryZone"
},
"noProductLastStore": {
"message": "Phong Vũ"
"message": "An Phát Computer"
},
"variantPickerTitle": {
"message": "Choose the Storage Variant You Are Viewing"
Expand Down Expand Up @@ -514,7 +514,7 @@
}
},
"radarPillSpread": {
"message": "10-store gap $PCT$%",
"message": "Cross-store gap $PCT$%",
"placeholders": {
"pct": {
"content": "$1"
Expand Down Expand Up @@ -673,7 +673,7 @@
"message": "Rate.vn is ready"
},
"onboardingLookup": {
"message": "On product pages of the 10 supported stores, the extension sends Rate.vn the store, the URL without parameters, the title, the item and shop ids, the variant, the price and the original price to look up price history. No account needed."
"message": "On product pages of the 22 supported stores, the extension sends Rate.vn the store, the URL without parameters, the title, the item and shop ids, the variant, the price and the original price to look up price history. No account needed."
},
"onboardingQuestion": {
"message": "Would you like to contribute the listings you view?"
Expand Down
Loading
Loading