From db044d2a0c5934733322fc2906f8ee37f5bd40a1 Mon Sep 17 00:00:00 2001 From: Dishanth H G Date: Fri, 1 May 2026 21:38:54 +0530 Subject: [PATCH 1/3] updated packeg-lock.json --- package-lock.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package-lock.json b/package-lock.json index 88d8f91d32..adfba7a841 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3882,6 +3882,7 @@ "version": "2.5.6", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.6.tgz", "integrity": "sha512-tmmZ3lQxAe/k/+rNnXQRawJ4NjxO2hqiOLTHvWchtGZULp4RyFeh6aU4XdOYBFe2KE1oShQTv4AblOs2iOrNnQ==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -3921,6 +3922,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -3941,6 +3943,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -3961,6 +3964,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -3981,6 +3985,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4001,6 +4006,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4021,6 +4027,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4041,6 +4048,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4061,6 +4069,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4081,6 +4090,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4101,6 +4111,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4121,6 +4132,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4141,6 +4153,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -4161,6 +4174,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -18034,6 +18048,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, "license": "MIT", "optional": true }, @@ -23484,6 +23499,7 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, From ef3b267c6488d98e0cb06b75afa1d8c93dbe07d5 Mon Sep 17 00:00:00 2001 From: Dishanth H G Date: Fri, 1 May 2026 21:47:25 +0530 Subject: [PATCH 2/3] remove duplicate --- src/pages/community.astro | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/pages/community.astro b/src/pages/community.astro index 3bbb641213..b1f452030c 100644 --- a/src/pages/community.astro +++ b/src/pages/community.astro @@ -1,14 +1,9 @@ --- -import { getCurationSketches } from "../api/OpenProcessing"; +import { getCurationSketches, priorityIds } from "../api/OpenProcessing"; import CommunityLayout from "../layouts/CommunityLayout.astro"; import { getCollectionInDefaultLocale } from "./_utils"; const allSketches = await getCurationSketches(); -const priorityIds = [ - '2684408', '2693274', '2693345', - '2689119', '2484739', '2688829', - '2690571', '2690405', '2691712', '2690038' - ]; const sketches = allSketches .filter(sk => priorityIds.includes(String(sk.visualID))) .slice(0, 8); From 861ff244f53350693c30b689ec085d250cd3c8ee Mon Sep 17 00:00:00 2001 From: Dishanth H G Date: Fri, 1 May 2026 22:04:29 +0530 Subject: [PATCH 3/3] Simplify community sketch selection --- src/pages/[locale]/community.astro | 2 +- src/pages/community.astro | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pages/[locale]/community.astro b/src/pages/[locale]/community.astro index f23faee6a9..6860a11abb 100644 --- a/src/pages/[locale]/community.astro +++ b/src/pages/[locale]/community.astro @@ -6,7 +6,7 @@ import { getCollectionInLocaleWithFallbacks } from "@pages/_utils"; export const getStaticPaths = async () => { const allSketches = await getCurationSketches(); - const sketches = allSketches.slice(0, 10); + const sketches = allSketches.slice(0, 8); return await Promise.all( nonDefaultSupportedLocales.map(async (locale) => { const libraries = await getCollectionInLocaleWithFallbacks( diff --git a/src/pages/community.astro b/src/pages/community.astro index b1f452030c..e5e21daff7 100644 --- a/src/pages/community.astro +++ b/src/pages/community.astro @@ -1,12 +1,10 @@ --- -import { getCurationSketches, priorityIds } from "../api/OpenProcessing"; +import { getCurationSketches } from "../api/OpenProcessing"; import CommunityLayout from "../layouts/CommunityLayout.astro"; import { getCollectionInDefaultLocale } from "./_utils"; const allSketches = await getCurationSketches(); -const sketches = allSketches - .filter(sk => priorityIds.includes(String(sk.visualID))) - .slice(0, 8); +const sketches = allSketches.slice(0, 8); const libraries = await getCollectionInDefaultLocale("libraries"); const pastEvents = await getCollectionInDefaultLocale("events"); ---