From 1dbb2e5f948b86f31216699b0f4c4b88b4f21617 Mon Sep 17 00:00:00 2001 From: Bar Nuri Date: Thu, 5 Dec 2024 12:32:08 +0200 Subject: [PATCH 1/6] Update config.json --- config.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 679893a..25a5fc2 100644 --- a/config.json +++ b/config.json @@ -1,13 +1,17 @@ { - "title": "GitHub Repositories Viewer", + "title": "Bar Nuri Repositories Viewer", "fetchConfigs": [ { "orgOrUser": "csharp-opensource", "isUser": false }, + { + "orgOrUser": "actions-opensource", + "isUser": false + }, { "orgOrUser": "barnuri", "isUser": true } ] -} \ No newline at end of file +} From ea54af65fbcfd7404df5d2d858bb20bc97baded5 Mon Sep 17 00:00:00 2001 From: Bar Nuri Date: Thu, 5 Dec 2024 12:34:43 +0200 Subject: [PATCH 2/6] Update generateIndex.js --- generateIndex.js | 1 + 1 file changed, 1 insertion(+) diff --git a/generateIndex.js b/generateIndex.js index 46d2fb1..a69b999 100644 --- a/generateIndex.js +++ b/generateIndex.js @@ -13,6 +13,7 @@ async function getRepos(url) { return repos.map(repo => ({ html_url: repo.html_url, name: repo.name, + full_name: repo.full_name, description: repo.description, contributors_url: repo.contributors_url, pushed_at: repo.pushed_at, From b2764e81c34fbc30569ca8c88943c7adde4a6c81 Mon Sep 17 00:00:00 2001 From: Bar Nuri Date: Thu, 5 Dec 2024 12:37:00 +0200 Subject: [PATCH 3/6] Update generateIndex.js --- generateIndex.js | 1 + 1 file changed, 1 insertion(+) diff --git a/generateIndex.js b/generateIndex.js index a69b999..d5b3aed 100644 --- a/generateIndex.js +++ b/generateIndex.js @@ -14,6 +14,7 @@ async function getRepos(url) { html_url: repo.html_url, name: repo.name, full_name: repo.full_name, + owner: repo.full_name.replace(`/${repo.name}`, ''), description: repo.description, contributors_url: repo.contributors_url, pushed_at: repo.pushed_at, From 270a2d6b42876578a8e6e4391a9e3cef65b8cfc6 Mon Sep 17 00:00:00 2001 From: Bar Nuri Date: Thu, 5 Dec 2024 12:40:38 +0200 Subject: [PATCH 4/6] Update generateIndex.js --- generateIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generateIndex.js b/generateIndex.js index d5b3aed..5f33697 100644 --- a/generateIndex.js +++ b/generateIndex.js @@ -11,10 +11,10 @@ async function getRepos(url) { if (!response.ok) throw new Error("Failed to fetch repositories"); const repos = await response.json(); return repos.map(repo => ({ - html_url: repo.html_url, name: repo.name, full_name: repo.full_name, owner: repo.full_name.replace(`/${repo.name}`, ''), + owner_url: repo.html_url.replace(`/${repo.name}`, ''), description: repo.description, contributors_url: repo.contributors_url, pushed_at: repo.pushed_at, From 696d46f8f1516687d3025474d9586b00cf3e54a6 Mon Sep 17 00:00:00 2001 From: Bar Nuri Date: Thu, 5 Dec 2024 12:40:48 +0200 Subject: [PATCH 5/6] Update index.html --- index.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 8d233a9..0f167e6 100644 --- a/index.html +++ b/index.html @@ -111,9 +111,10 @@

Loading...

const repoDiv = document.createElement("div"); repoDiv.className = "repo"; repoDiv.innerHTML = ` -

${repo.name}

-

${repo.description || "No description"}

- `; +

${repo.owner}

+

${repo.name}

+

${repo.description || "No description"}

+ `; const contributorsDiv = document.createElement("div"); contributorsDiv.className = "contributors"; @@ -123,9 +124,9 @@

${repo.name} - ${contributor.login} - `; + ${contributor.login} + ${contributor.login} + `; contributorsDiv.appendChild(contributorDiv); } repoDiv.appendChild(contributorsDiv); From f6fb19c017b7826d1529f1699efaff4fe64fa6b0 Mon Sep 17 00:00:00 2001 From: Bar Nuri Date: Thu, 5 Dec 2024 12:43:31 +0200 Subject: [PATCH 6/6] Update index.html --- index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 0f167e6..a4b6a2e 100644 --- a/index.html +++ b/index.html @@ -111,8 +111,15 @@

Loading...

const repoDiv = document.createElement("div"); repoDiv.className = "repo"; repoDiv.innerHTML = ` -

${repo.owner}

-

${repo.name}

+
+

+ ${repo.owner} +

+ / +

+ ${repo.name} +

+

${repo.description || "No description"}

`;