Files
gpui-component/docs/data/contributors.data.js
Jason Lee d34ea6640a docs: Improve docs add more details. (#1447)
- Also update "Compare to others", close #1452
2025-10-29 02:41:28 +00:00

17 lines
443 B
JavaScript

const IGNORE_LOGINS = ["dependabot[bot]", "copilot"];
const API_URL =
"https://api.github.com/repos/longbridge/gpui-component/contributors";
export default {
async load() {
return await fetch(API_URL)
.then((res) => res.json())
.then((items) => {
let filtered = items.filter(
(item) => !IGNORE_LOGINS.includes(item.login.toLowerCase()),
);
return filtered.slice(0, 24);
});
},
};