Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

feat: working hotlist with some cleanup#521

Merged
bdougie merged 7 commits intobetafrom
hotlist
Apr 13, 2024
Merged

feat: working hotlist with some cleanup#521
bdougie merged 7 commits intobetafrom
hotlist

Conversation

@bdougie
Copy link
Member

@bdougie bdougie commented Apr 3, 2024

Description

As an effort to revive this project, I am swapping out the repoList from Supabase and leveraging this endpoint instead. https://beta.api.opensauced.pizza/v2/histogram/top/stars

This still needs clean up, and the API needs to filter out spam accounts from showing (check for user 404s).

async function userStatusCode(owner: String) {
  const apiUserUrl = `https://api.github.com/users/${owner}`;
  const response = await fetch(apiUserUrl);
  const {login} = await response.json();
  if (apiUserUrl !== response.url) {
    return [301, login];
  } else {
    return [response.status,""];
  }
}

Related Tickets & Documents

closes #476

Mobile & Desktop Screenshots/Recordings

Screen Shot 2024-04-02 at 7 45 24 PM

Steps to QA

  1. View the landing and note there are repos.

Tier (staff will fill in)

  • Tier 1
  • Tier 2
  • Tier 3
  • Tier 4

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Apr 3, 2024

Deploy Preview for hot-sauced-ui ready!

Name Link
🔨 Latest commit c67f97c
🔍 Latest deploy log https://app.netlify.com/sites/hot-sauced-ui/deploys/661ac2649114a50008e68e42
😎 Deploy Preview https://deploy-preview-521--hot-sauced-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bdougie bdougie merged commit 69ba683 into beta Apr 13, 2024
@bdougie bdougie deleted the hotlist branch April 13, 2024 17:37
github-actions bot pushed a commit that referenced this pull request Apr 13, 2024
## [2.37.0-beta.3](v2.37.0-beta.2...v2.37.0-beta.3) (2024-04-13)

### 🍕 Features

* working hotlist with needed cleanup ([#521](#521)) ([69ba683](69ba683))
@github-actions
Copy link

🎉 This PR is included in version 2.37.0-beta.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Apr 13, 2024
## [2.37.0](v2.36.0...v2.37.0) (2024-04-13)

### 🍕 Features

* Update robots.txt ([73afcf6](73afcf6))
* Use OpenSauced links instead of GitHub ([#520](#520)) ([6581b9e](6581b9e))
* working hotlist with needed cleanup ([#521](#521)) ([69ba683](69ba683))
@github-actions
Copy link

🎉 This PR is included in version 2.37.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bdougie bdougie changed the title feat: working hotlist with needed cleanup feat: working hotlist with some cleanup Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Swap Hot Repositories with Recommendation feed

1 participant