From 80eaea069e46ee1b6340964c6a4f01583a2b3c6a Mon Sep 17 00:00:00 2001 From: Abdullah Alhazmy Date: Wed, 1 May 2024 11:54:20 +0300 Subject: [PATCH 1/5] Update Github trending widget URL --- src/utils/defaults.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/defaults.js b/src/utils/defaults.js index eafec4d0..bc76b344 100644 --- a/src/utils/defaults.js +++ b/src/utils/defaults.js @@ -233,7 +233,7 @@ module.exports = { ethGasHistory: 'https://ethgas.watch/api/gas/trend', exchangeRates: 'https://v6.exchangerate-api.com/v6/', flights: 'https://aerodatabox.p.rapidapi.com/flights/airports/icao/', - githubTrending: 'https://gh-trending-repos.herokuapp.com/', + githubTrending: 'https://trend.doforce.xyz/', hackernewsTrending: 'https://hacker-news.firebaseio.com/v0', healthChecks: 'https://healthchecks.io/api/v1/checks', holidays: 'https://kayaposoft.com/enrico/json/v2.0/?action=getHolidaysForDateRange', From b4bf81fe3cd896f3a82e1a38e25a14595180ad6a Mon Sep 17 00:00:00 2001 From: Abdullah Alhazmy Date: Wed, 1 May 2024 12:17:49 +0300 Subject: [PATCH 2/5] Update GitHubTrending.vue --- src/components/Widgets/GitHubTrending.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/components/Widgets/GitHubTrending.vue b/src/components/Widgets/GitHubTrending.vue index 9a4c217b..12d40b8d 100644 --- a/src/components/Widgets/GitHubTrending.vue +++ b/src/components/Widgets/GitHubTrending.vue @@ -6,7 +6,6 @@

{{ repo.name }}

{{ repo.stars | formatStars }}

-

↑{{ repo.newStars | formatStars }}

{{ repo.slug }}

{{ repo.desc }}

@@ -77,11 +76,10 @@ export default { slug: repo.repo, desc: repo.desc, lang: repo.lang, - link: repo.repo_link, + link: "https://github.com" + repo.repo_link, stars: repo.stars, forks: repo.forks, - newStars: parseInt(repo.added_stars, 10), - avatar: repo.avatars[0] || 'https://github.com/fluidicon.png', + avatar: repo.build_by[0] || 'https://github.com/fluidicon.png', }); }); if (this.limit && this.limit < results.length) { @@ -140,11 +138,6 @@ export default { font-size: 1.2rem; font-weight: bold; } - &.new-stars { - font-size: 0.8rem; - color: var(--success); - opacity: var(--dimming-factor); - } } } } From bfba50aa8eba450669e559e0fb2f563f237d9281 Mon Sep 17 00:00:00 2001 From: Abdullah Alhazmy Date: Wed, 1 May 2024 12:20:48 +0300 Subject: [PATCH 3/5] Update GitHubTrending.vue --- src/components/Widgets/GitHubTrending.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/GitHubTrending.vue b/src/components/Widgets/GitHubTrending.vue index 12d40b8d..87e6842c 100644 --- a/src/components/Widgets/GitHubTrending.vue +++ b/src/components/Widgets/GitHubTrending.vue @@ -76,7 +76,7 @@ export default { slug: repo.repo, desc: repo.desc, lang: repo.lang, - link: "https://github.com" + repo.repo_link, + link: "https://github.com" + repo.repo, stars: repo.stars, forks: repo.forks, avatar: repo.build_by[0] || 'https://github.com/fluidicon.png', From eb62c7c53c966c105b80e1069ea226e8e44bda85 Mon Sep 17 00:00:00 2001 From: Abdullah Alhazmy Date: Wed, 1 May 2024 12:26:10 +0300 Subject: [PATCH 4/5] Update GitHubTrending.vue --- src/components/Widgets/GitHubTrending.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/Widgets/GitHubTrending.vue b/src/components/Widgets/GitHubTrending.vue index 87e6842c..7c52f006 100644 --- a/src/components/Widgets/GitHubTrending.vue +++ b/src/components/Widgets/GitHubTrending.vue @@ -6,6 +6,7 @@

{{ repo.name }}

{{ repo.stars | formatStars }}

+

↑{{ repo.newStars | formatStars }}

{{ repo.slug }}

{{ repo.desc }}

@@ -79,6 +80,7 @@ export default { link: "https://github.com" + repo.repo, stars: repo.stars, forks: repo.forks, + newStars: repo.change, avatar: repo.build_by[0] || 'https://github.com/fluidicon.png', }); }); @@ -138,6 +140,11 @@ export default { font-size: 1.2rem; font-weight: bold; } + &.new-stars { + font-size: 0.8rem; + color: var(--success); + opacity: var(--dimming-factor); + } } } } From ef851d005f65ec6508cb1c94ce9bb31fd2411ac6 Mon Sep 17 00:00:00 2001 From: Abdullah Alhazmy Date: Wed, 29 May 2024 08:29:17 +0300 Subject: [PATCH 5/5] Update GitHubTrending.vue --- src/components/Widgets/GitHubTrending.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Widgets/GitHubTrending.vue b/src/components/Widgets/GitHubTrending.vue index 7c52f006..c6376b6c 100644 --- a/src/components/Widgets/GitHubTrending.vue +++ b/src/components/Widgets/GitHubTrending.vue @@ -77,7 +77,7 @@ export default { slug: repo.repo, desc: repo.desc, lang: repo.lang, - link: "https://github.com" + repo.repo, + link: `https://github.com/${repo.repo}`, stars: repo.stars, forks: repo.forks, newStars: repo.change,