This commit is contained in:
Kalle 2025-06-12 18:51:11 +03:00
parent 9352be9ec8
commit b8ff42892c
8 changed files with 15 additions and 10 deletions

View File

@ -159,8 +159,8 @@ describe("Plus voting", () => {
await adminAction({ _action: "REFRESH" }, { user: "admin" });
expect(await countPlusTierMembers(1)).toBe(10);
expect(await countPlusTierMembers(2)).toBe(0);
expect(await countPlusTierMembers(1)).toBe(5);
expect(await countPlusTierMembers(2)).toBe(5);
});
test("plus server skip flag ignored if for past season", async () => {
@ -177,8 +177,8 @@ describe("Plus voting", () => {
await adminAction({ _action: "REFRESH" }, { user: "admin" });
expect(await countPlusTierMembers(1)).toBe(10);
expect(await countPlusTierMembers(2)).toBe(1);
expect(await countPlusTierMembers(1)).toBe(5);
expect(await countPlusTierMembers(2)).toBe(6);
});
test("ignores leaderboard while season is ongoing", async () => {

View File

@ -68,9 +68,9 @@ function addTiers(entries: UserSPLeaderboardItem[], season: number) {
}
const PLUS_TIER_QUOTA = {
"+1": 10,
"+2": 20,
"+3": 30,
"+1": 5,
"+2": 10,
"+3": 15,
} as const;
export function addPendingPlusTiers<T extends UserSPLeaderboardItem>(
entries: T[],

View File

@ -71,6 +71,11 @@ export const list =
starts: new Date("2025-03-07T18:00:00.000Z"),
ends: new Date("2025-05-25T21:59:59.999Z"),
},
{
nth: 8,
starts: new Date("2025-06-14T18:00:00.000Z"),
ends: new Date("2025-08-24T22:00:00.000Z"),
},
] as const);
/**

View File

@ -136,9 +136,9 @@
.front__season-banner__img {
position: absolute;
width: 125px;
right: 2px;
top: -31px;
width: 110px;
right: 5px;
top: -32.5px;
}
.front__season-banner__link {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB