From f2e28175a0910b08c190e88d18bbc60a734ece56 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Mon, 18 Aug 2025 15:53:35 +0930 Subject: [PATCH 01/11] feat: update crxjs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f97d86d2..a22498dc 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@babel/plugin-transform-runtime": "^7.26.9", "@babel/runtime": "^7.26.9", "@bedframe/cli": "^0.0.91", - "@crxjs/vite-plugin": "2.1.0", + "@crxjs/vite-plugin": "^2.2.0", "@types/mime-types": "^2.1.4", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", From 6ef6c986dc4c88f87c933c68ebbb0febbeb353b1 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Mon, 18 Aug 2025 16:04:53 +0930 Subject: [PATCH 02/11] fix (build): stop duplicate icon bundling warnings temp --- src/manifests/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifests/manifest.json b/src/manifests/manifest.json index 92736dce..3afc625d 100644 --- a/src/manifests/manifest.json +++ b/src/manifests/manifest.json @@ -32,7 +32,7 @@ ], "web_accessible_resources": [ { - "resources": ["resources/icons/*", "resources/update-image.webp"], + "resources": ["resources/update-image.webp"], "matches": ["*://*/*"] } ] From cd1f954cc7082194b715bcbc6a08aecec330472f Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Mon, 18 Aug 2025 16:24:02 +0930 Subject: [PATCH 03/11] feat: remove ugly line in transparency effects --- src/css/injected.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/css/injected.scss b/src/css/injected.scss index f66995a3..b2ee82b0 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -801,6 +801,11 @@ div > ol:has(.uiFileHandlerWrapper) { box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2); } +html.transparencyEffects .ResourceList__ResourceItem___voTSd, +html.transparencyEffects .ResourceList__ResourceItem___voTSd .ResourceList__name___ydvDT { + border-bottom: none !important; +} + .assessmentsWrapper .message { display: none; } @@ -4008,3 +4013,5 @@ h2.home-subtitle { font-size: 20px; font-weight: 400; } + + From ad9a013b0067d649f7a4145d9ceb835fc0663efd Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Tue, 19 Aug 2025 08:13:20 +0930 Subject: [PATCH 04/11] update injected.scss --- src/css/injected.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/injected.scss b/src/css/injected.scss index b2ee82b0..e3aa1142 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -801,8 +801,8 @@ div > ol:has(.uiFileHandlerWrapper) { box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.2); } -html.transparencyEffects .ResourceList__ResourceItem___voTSd, -html.transparencyEffects .ResourceList__ResourceItem___voTSd .ResourceList__name___ydvDT { +html.transparencyEffects [class*="ResourceList__ResourceItem___voTSd"], +html.transparencyEffects [class*="ResourceList__ResourceItem___voTSd"] [class*="ResourceList__name___ydvDT"] { border-bottom: none !important; } From 4188ef0d676a7ebdf237ba22af66c82c1dd3ae37 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Tue, 19 Aug 2025 08:14:12 +0930 Subject: [PATCH 05/11] format: remove extra lines --- src/css/injected.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/css/injected.scss b/src/css/injected.scss index e3aa1142..7b86bca6 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -4013,5 +4013,3 @@ h2.home-subtitle { font-size: 20px; font-weight: 400; } - - From 30aa39142d777529d6d1e5c20c6154544e68fdd8 Mon Sep 17 00:00:00 2001 From: Jones Date: Tue, 19 Aug 2025 11:26:59 +0930 Subject: [PATCH 06/11] fix: icons not loading --- src/manifests/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifests/manifest.json b/src/manifests/manifest.json index 3afc625d..92736dce 100644 --- a/src/manifests/manifest.json +++ b/src/manifests/manifest.json @@ -32,7 +32,7 @@ ], "web_accessible_resources": [ { - "resources": ["resources/update-image.webp"], + "resources": ["resources/icons/*", "resources/update-image.webp"], "matches": ["*://*/*"] } ] From 886c79b3eeb5cb0a016b62dc496f7d62d20fa190 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Tue, 19 Aug 2025 11:39:28 +0930 Subject: [PATCH 07/11] fix(deps): crxjs beta being used --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a22498dc..f837a83b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "devDependencies": { "@babel/plugin-transform-runtime": "^7.26.9", "@babel/runtime": "^7.26.9", - "@bedframe/cli": "^0.0.91", + "@bedframe/cli": "^0.0.95", "@crxjs/vite-plugin": "^2.2.0", "@types/mime-types": "^2.1.4", "@types/react": "^19.0.10", From 3ca5a49769ba5e221ef94967c5eca393bb497ea0 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Tue, 19 Aug 2025 11:49:19 +0930 Subject: [PATCH 08/11] bump(deps): updated deps to match --- package.json | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index f837a83b..ea6a2549 100644 --- a/package.json +++ b/package.json @@ -37,14 +37,14 @@ "@babel/runtime": "^7.26.9", "@bedframe/cli": "^0.0.95", "@crxjs/vite-plugin": "^2.2.0", - "@types/mime-types": "^2.1.4", + "@types/mime-types": "^3.0.1", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", - "cross-env": "^7.0.3", - "dependency-cruiser": "^16.10.0", - "eslint": "9.22.0", + "cross-env": "^10.0.0", + "dependency-cruiser": "^17.0.1", + "eslint": "^9.33.0", "glob": "^11.0.1", - "mime-types": "^2.1.35", + "mime-types": "^3.0.1", "prettier": "^3.5.3", "process": "^0.11.10", "publish-browser-extension": "^3.0.1", @@ -55,6 +55,7 @@ "url": "^0.11.4" }, "dependencies": { + "@bedframe/core": "^0.0.46", "@codemirror/autocomplete": "^6.18.6", "@codemirror/commands": "^6.8.0", "@codemirror/lang-css": "^6.3.1", @@ -65,10 +66,10 @@ "@sveltejs/vite-plugin-svelte": "^5.0.3", "@tailwindcss/forms": "^0.5.10", "@tsconfig/svelte": "^5.0.4", - "@types/chrome": "^0.0.308", + "@types/chrome": "^0.1.4", "@types/color": "^4.2.0", "@types/lodash": "^4.17.16", - "@types/node": "^22.13.10", + "@types/node": "^24.3.0", "@types/sortablejs": "^1.15.8", "@types/uuid": "^10.0.0", "@types/webextension-polyfill": "^0.12.3", From 08586781ce778d2cd96923ca295f82e88ad2b0c1 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Tue, 19 Aug 2025 12:24:03 +0930 Subject: [PATCH 09/11] feat: proper gramatical naming for news sources --- src/interface/pages/settings/general.svelte | 23 ++++++++++--------- src/seqta/utils/SendNewsPage.ts | 25 ++++++++++++++++----- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/src/interface/pages/settings/general.svelte b/src/interface/pages/settings/general.svelte index 91a8a600..8557b7be 100644 --- a/src/interface/pages/settings/general.svelte +++ b/src/interface/pages/settings/general.svelte @@ -183,18 +183,19 @@ props: { state: $settingsState.newsSource, onChange: (value: string) => settingsState.newsSource = value, - options: [ - { value: "australia", label: "Australia" }, - { value: "usa", label: "USA" }, - { value: "taiwan", label: "Taiwan" }, - { value: "hong_kong", label: "Hong Kong" }, - { value: "panama", label: "Panama" }, - { value: "canada", label: "Canada" }, - { value: "singapore", label: "Singapore" }, - { value: "uk", label: "UK" }, - { value: "japan", label: "Japan" }, - { value: "netherlands", label: "Netherlands" } + options: [ + { value: "australia", label: "Australia" }, + { value: "usa", label: "USA" }, + { value: "uk", label: "UK" }, + { value: "taiwan", label: "Taiwan" }, + { value: "hong_kong", label: "Hong Kong" }, + { value: "panama", label: "Panama" }, + { value: "canada", label: "Canada" }, + { value: "singapore", label: "Singapore" }, + { value: "japan", label: "Japan" }, + { value: "netherlands", label: "Netherlands" } ] + } } ] as option} diff --git a/src/seqta/utils/SendNewsPage.ts b/src/seqta/utils/SendNewsPage.ts index 95a7f046..f21c0bde 100644 --- a/src/seqta/utils/SendNewsPage.ts +++ b/src/seqta/utils/SendNewsPage.ts @@ -18,12 +18,27 @@ export async function SendNewsPage() { const main = document.getElementById("main"); main!.innerHTML = ""; + const displayCountry = (() => { + switch (settingsState.newsSource?.toLowerCase()) { + case "usa": return "the USA"; + case "uk": return "the UK"; + case "netherlands": return "the Netherlands"; + default: + return settingsState.newsSource + ? settingsState.newsSource + .split("_") + .map(word => word.charAt(0).toUpperCase() + word.slice(1)) + .join(" ") + : "Australia"; + } + })(); + const html = stringToHTML(/* html */ ` -
-
-

Latest Headlines in ${settingsState.newsSource ? settingsState.newsSource.charAt(0).toUpperCase() + settingsState.newsSource.slice(1) : "Australia"}

-
-
`); +
+
+

Latest Headlines in ${displayCountry}

+
+
`); main!.append(html.firstChild!); From 530f07e6406fa282538c99bb265b873c17061e34 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Sat, 23 Aug 2025 10:52:42 +0930 Subject: [PATCH 10/11] bump(deps): bump more deps --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 229d002d..8bbf4abb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -84,6 +84,10 @@ export default defineConfig(({ command }) => ({ settings: join(__dirname, "src", "interface", "index.html"), pageState: join(__dirname, "src", "pageState.js"), }, + onwarn(warning, warn) { + if (warning.code === "FILE_NAME_CONFLICT") return; + warn(warning); + }, }, }, })); From 7d11e203a6cbf94006ce89707d19b1fa6a3ca276 Mon Sep 17 00:00:00 2001 From: Jones8683 Date: Wed, 27 Aug 2025 19:58:54 +0930 Subject: [PATCH 11/11] bump: more packages --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fe8a0e8..2726211f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@

ChromeDownload - +