From 75c78ab6f44863f1aa082b59f4772178a8f1c8d2 Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Sat, 3 Jan 2026 10:43:45 +0100 Subject: [PATCH] try fix again, remove debug logs --- backend/src/cards/repo.js | 7 +------ backend/src/cards/stats.js | 3 --- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/backend/src/cards/repo.js b/backend/src/cards/repo.js index 8b06cebf..c9f13999 100644 --- a/backend/src/cards/repo.js +++ b/backend/src/cards/repo.js @@ -113,7 +113,6 @@ const renderRepoCard = (repo, options = {}) => { value: totalPRsAuthored, id: "prs_authored", link: `https://github.com/search?q=${repoFilter}author%3A${username}&type=pullrequests`, - number_format: "short", }; } if (show.includes("prs_commented")) { @@ -123,7 +122,6 @@ const renderRepoCard = (repo, options = {}) => { value: totalPRsCommented, id: "prs_commented", link: `https://github.com/search?q=${repoFilter}commenter%3A${username}+-author%3A${username}&type=pullrequests`, - number_format: "short", }; } if (show.includes("prs_reviewed")) { @@ -133,7 +131,6 @@ const renderRepoCard = (repo, options = {}) => { value: totalPRsReviewed, id: "prs_reviewed", link: `https://github.com/search?q=${repoFilter}reviewed-by%3A${username}+-author%3A${username}&type=pullrequests`, - number_format: "short", }; } if (show.includes("issues_authored")) { @@ -143,7 +140,6 @@ const renderRepoCard = (repo, options = {}) => { value: totalIssuesAuthored, id: "issues_authored", link: `https://github.com/search?q=${repoFilter}author%3A${username}&type=issues`, - number_format: "short", }; } if (show.includes("issues_commented")) { @@ -153,7 +149,6 @@ const renderRepoCard = (repo, options = {}) => { value: totalIssuesCommented, id: "issues_commented", link: `https://github.com/search?q=${repoFilter}commenter%3A${username}+-author%3A${username}&type=issues`, - number_format: "short", }; } @@ -169,7 +164,7 @@ const renderRepoCard = (repo, options = {}) => { showIcons: show_icons, shiftValuePos: 14.01, bold: text_bold, - number_format, + numberFormat: number_format, link: STATS[key].link, labelXOffset: 23, }), diff --git a/backend/src/cards/stats.js b/backend/src/cards/stats.js index d5b6dc41..5a786fed 100644 --- a/backend/src/cards/stats.js +++ b/backend/src/cards/stats.js @@ -86,9 +86,6 @@ const createTextNode = ({ link, labelXOffset = 25, }) => { - console.log("label: " + label); - console.log("numberFormat" + numberFormat); - const precision = typeof numberPrecision === "number" && !isNaN(numberPrecision) ? clampValue(numberPrecision, 0, 2)