Skip to content

Commit

Permalink
update metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Nov 27, 2024
1 parent 4ba447e commit b90a5c3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/carnival/_components/EventBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const EventBanner = ({
<IconSocial size={16} /> Participants
</span>
</div>
<span className="text-2xl font-bold text-text-1">22</span>
<span className="text-2xl font-bold text-text-1">29</span>
</div>
<div className="flex min-w-40 flex-col gap-2 rounded-xl bg-default text-default-foreground p-3">
<div className="flex items-center gap-1">
Expand Down
33 changes: 20 additions & 13 deletions app/carnival/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,46 @@ import LeaderboardTable from "@/components/leaderboard/table";
import { CARNIVAL_WIP_ISSUES, CARNIVAL_CLOSED_ISSUES } from "@/data/carnival";

const MOCKED_WEEKLY_LEADERBOARD: Leaderboard[] = [
{
avatar: "https://avatars.githubusercontent.com/u/33208377?v=4",
name: "Kazunobu Ndong",
username: "ndkazu",
score: 17, // 2 (ask working on this) + 4 (PR: https://github.com/paritytech/polkadot-sdk/issues/4859 + https://github.com/paritytech/polkadot-sdk/pull/6624/files + 2PRs: benchmark v2) + 12 (PRs merged: 10 + 2) + 1 review ongoing
// https://github.com/paritytech/polkadot-sdk/issues/4859 - Completed - Estimation (6h): 8
// https://github.com/paritytech/polkadot-sdk/pull/6509 - Completed - Estimation (6h): 8
// https://github.com/paritytech/polkadot-sdk/issues/6194 - In Review: 1
},
{
avatar: "https://avatars.githubusercontent.com/u/76661350?v=4",
name: "Parth Mittal",
username: "mittal-parth",
score: 16,
score: 26,
// https://github.com/OpenZeppelin/openzeppelin-pallet-abstractions/pull/47 - Ask to Work - In Review: 2
// https://github.com/RostislavLitovkin/PlutoWallet/pull/81 - Ask to Work - In Review: 2
// https://github.com/RostislavLitovkin/PlutoWallet/pull/80 - Ask to Work - Completed - Estimation (4h): 7
// https://github.com/mittal-parth/polkadot-dev-cli - Idea: 5
// https://github.com/mittal-parth/polkadot-dev-cli - Idea: 15
},
{
avatar: "https://avatars.githubusercontent.com/u/33208377?v=4",
name: "Kazunobu Ndong",
username: "ndkazu",
score: 18,
// https://github.com/paritytech/polkadot-sdk/issues/4859 - Completed - Estimation (6h): 8
// https://github.com/paritytech/polkadot-sdk/pull/6509 - Completed - Estimation (6h): 8
// https://github.com/paritytech/polkadot-sdk/issues/6194 - In Review: 1
// Kudos Support: 1
},
{
avatar: "https://avatars.githubusercontent.com/u/6019499?v=4",
name: "Silvereau",
username: "sylvaincormier",
score: 14,
score: 18,
// https://github.com/AstarNetwork/Astar/pull/1382 - Closed - Bonus Effort (6h): 6
// https://github.com/AstarNetwork/Astar/pull/1385 - Closed - Bonus Effort (8h): 8
// https://github.com/AstarNetwork/Astar/pull/1385 - Closed - Bonus Effort (8h): 12
},
{
avatar: "https://avatars.githubusercontent.com/u/25376882?v=4",
name: "Ludovic Domingues",
username: "Krayt78",
score: 12, // Ask to Work - 10 (10 PRs for benchmarking v2) - In Review
},
{
avatar: "https://avatars.githubusercontent.com/u/78631234?v=4",
name: "Maheswaran Velmurugan",
username: "soloking1412",
score: 3, // Ask to Work
},
].map((item, idx) => ({ id: idx + 1, ...item }));

export default async function SingleEventPage() {
Expand Down
6 changes: 3 additions & 3 deletions data/carnival.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const CARNIVAL_WIP_ISSUES = [185756, 182237, 221983];
export const CARNIVAL_WIP_ISSUES = [221983, 549614, 340597, 207450, 181996];
export const CARNIVAL_NEW_LISTED_ISSUES = [
317266, 181722, 184659, 387329, 340597,
394749, 630981, 593909, 183597, 183604, 183627, 771473, 771492, 927503,
];
export const CARNIVAL_CLOSED_ISSUES = [221964];
export const CARNIVAL_CLOSED_ISSUES = [221964, 182200, 185756, 317266, 182237];

0 comments on commit b90a5c3

Please sign in to comment.