Skip to content

Commit bc509dc

Browse files
committed
Add events from 20260728 update
1 parent ce5eb8a commit bc509dc

3 files changed

Lines changed: 135 additions & 52 deletions

File tree

‎PLANS.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Keep this checklist aligned with repository behavior. Check off work in the same
5858
- [x] Default new player-created Task and Event starts to the current UTC date at 00:00 while preserving saved times when editing.
5959
- [x] Add the 100-Day Anniversary Check-In Pass and Bonus Time daily event schedules using their published UTC periods.
6060
- [x] Add the First Summer Dive event set and Cool Summer Vacation login reward using their published UTC periods and explicit daily-reset behavior.
61+
- [x] Retire the July 28 event set and add the Mabel and Discord events using the completed maintenance time and published UTC periods.
6162
- [x] Show Event alongside Daily or Weekly badges when an event also has a recurring reset, and show expired rows by default with reduced opacity and struck-through names.
6263
- [x] Show player-created Task and Event notes beneath item names with a compact two-line limit.
6364
- [x] Add editable 500-character notes to permanent checklist items, persisted locally and through Google Drive.

‎src/data/EVENTS_DATA.test.ts‎

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
import { describe, expect, it } from "vitest";
2+
import { EVENTS_DATA } from "@/data/EVENTS_DATA";
3+
4+
const EXPIRED_EVENT_IDS = [
5+
"100-day-anniversary-bonus-time",
6+
"grand-summer-festival-missions",
7+
"unforgettable-first-summer-dive-event-stage",
8+
"slicing-through-the-summer-days",
9+
"embracing-even-the-summer-heat",
10+
"summer-special-7-day-gifts",
11+
"invitation-to-break-the-ice",
12+
"anomaly-gulgak",
13+
];
14+
15+
describe("EVENTS_DATA", () => {
16+
it("defines unique, valid UTC event periods", () => {
17+
expect(new Set(EVENTS_DATA.map(({ id }) => id)).size).toBe(
18+
EVENTS_DATA.length,
19+
);
20+
21+
for (const event of EVENTS_DATA) {
22+
expect(event.startAt).toMatch(/Z$/);
23+
expect(event.endAt).toMatch(/Z$/);
24+
expect(Date.parse(event.startAt)).toBeLessThan(Date.parse(event.endAt));
25+
}
26+
});
27+
28+
it("removes events that expired on July 28", () => {
29+
const eventIds = EVENTS_DATA.map(({ id }) => id);
30+
31+
for (const expiredEventId of EXPIRED_EVENT_IDS) {
32+
expect(eventIds).not.toContain(expiredEventId);
33+
}
34+
});
35+
36+
it("uses the completed maintenance time and published Mabel schedules", () => {
37+
const eventsById = Object.fromEntries(
38+
EVENTS_DATA.map((event) => [event.id, event]),
39+
);
40+
41+
expect(
42+
eventsById["inquisitors-day-off-event-stage-inquisition"],
43+
).toMatchObject({
44+
startAt: "2026-07-29T01:30:00.000Z",
45+
endAt: "2026-08-18T23:59:00.000Z",
46+
});
47+
expect(eventsById["inquisitors-day-off-shop-story-missions"]).toMatchObject(
48+
{
49+
startAt: "2026-07-29T01:30:00.000Z",
50+
endAt: "2026-08-25T23:59:00.000Z",
51+
},
52+
);
53+
expect(eventsById["inquisitor-mabel-7-day-gifts"].recurrence).toBe("daily");
54+
expect(eventsById["anomaly-blue-shadow"].recurrence).toBe("daily");
55+
});
56+
57+
it("uses the published Discord deadlines", () => {
58+
const eventsById = Object.fromEntries(
59+
EVENTS_DATA.map((event) => [event.id, event]),
60+
);
61+
62+
expect(eventsById["mabel-update-check-in-discord"].endAt).toBe(
63+
"2026-08-06T01:00:00.000Z",
64+
);
65+
expect(eventsById["mabel-character-trivia-discord"].endAt).toBe(
66+
"2026-08-19T01:00:00.000Z",
67+
);
68+
});
69+
});

‎src/data/EVENTS_DATA.ts‎

Lines changed: 65 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export type ChecklistEvent = Omit<
2020

2121
const SUMMER_DIVE_NOTICE_TITLE =
2222
"7/7 (Tue)「An Unforgettable First Summer Dive!」Event Notice";
23+
const MABEL_EVENT_NOTICE_TITLE =
24+
"7/28 (Tue)「Inquisitor, Recorder of Reality and Phenomena Therein」Event Notice";
25+
const MABEL_DISCORD_NOTICE_TITLE =
26+
"7/29 (Wed) Update Celebration! Two Discord Events";
2327

2428
export const EVENTS_DATA: ChecklistEvent[] = [
2529
// Copy the published UTC date/time, add the year, and append Z. Do not convert
@@ -35,102 +39,111 @@ export const EVENTS_DATA: ChecklistEvent[] = [
3539
recurrence: "daily",
3640
},
3741
{
38-
id: "100-day-anniversary-bonus-time",
39-
title: "Bonus Time Event",
40-
noticeTitle: "MONGIL: STAR DIVE 100-Day Anniversary Events Notice",
42+
id: "unforgettable-first-summer-dive-shop-story-missions",
43+
title: "An Unforgettable First Summer Dive! — Shop/Story/Missions",
44+
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
4145
kind: "event",
42-
startAt: "2026-07-22T00:00:00.000Z",
43-
endAt: "2026-07-28T23:59:00.000Z",
44-
recurrence: "daily",
46+
startAt: "2026-07-07T00:00:00.000Z",
47+
endAt: "2026-08-04T23:59:00.000Z",
48+
recurrence: "none",
4549
},
4650
{
47-
id: "grand-summer-festival-missions",
48-
title: "Grand Summer Festival Missions",
51+
id: "monsterling-trait-change-support",
52+
title: "Monsterling Trait Change Support",
4953
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
5054
kind: "event",
5155
startAt: "2026-07-07T00:00:00.000Z",
52-
endAt: "2026-07-28T23:59:00.000Z",
53-
recurrence: "daily",
56+
endAt: "2026-08-18T23:59:00.000Z",
57+
recurrence: "none",
5458
},
5559
{
56-
id: "unforgettable-first-summer-dive-event-stage",
57-
title: "An Unforgettable First Summer Dive! — Event Stage/Summer Bounce",
60+
id: "legendary-monster-reginula-power-up-support",
61+
title: "Legendary Monster Reginula Power Up Support",
5862
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
5963
kind: "event",
6064
startAt: "2026-07-07T00:00:00.000Z",
61-
endAt: "2026-07-28T23:59:00.000Z",
65+
endAt: "2026-08-18T23:59:00.000Z",
6266
recurrence: "none",
6367
},
6468
{
65-
id: "unforgettable-first-summer-dive-shop-story-missions",
66-
title: "An Unforgettable First Summer Dive! — Shop/Story/Missions",
67-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
69+
id: "inquisitors-day-off-event-stage-inquisition",
70+
title: "The Inquisitor's Day Off — Event Stage/Inquisition of the Lambs",
71+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
6872
kind: "event",
69-
startAt: "2026-07-07T00:00:00.000Z",
70-
endAt: "2026-08-04T23:59:00.000Z",
73+
startAt: "2026-07-29T01:30:00.000Z",
74+
endAt: "2026-08-18T23:59:00.000Z",
7175
recurrence: "none",
7276
},
7377
{
74-
id: "slicing-through-the-summer-days",
75-
title: "Slicing Through the Summer Days",
76-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
78+
id: "inquisitors-day-off-shop-story-missions",
79+
title: "The Inquisitor's Day Off — Shop/Story/Missions",
80+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
7781
kind: "event",
78-
startAt: "2026-07-07T00:00:00.000Z",
79-
endAt: "2026-07-28T23:59:00.000Z",
82+
startAt: "2026-07-29T01:30:00.000Z",
83+
endAt: "2026-08-25T23:59:00.000Z",
8084
recurrence: "none",
8185
},
8286
{
83-
id: "embracing-even-the-summer-heat",
84-
title: "Embracing Even the Summer Heat",
85-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
87+
id: "arbiters-divine-indulgence",
88+
title: "The Arbiter's Divine Indulgence",
89+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
8690
kind: "event",
87-
startAt: "2026-07-07T00:00:00.000Z",
88-
endAt: "2026-07-28T23:59:00.000Z",
91+
startAt: "2026-07-29T01:30:00.000Z",
92+
endAt: "2026-08-18T23:59:00.000Z",
8993
recurrence: "none",
9094
},
9195
{
92-
id: "summer-special-7-day-gifts",
93-
title: "Summer Special 7-Day Gifts",
94-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
96+
id: "inquisitor-mabel-7-day-gifts",
97+
title: "Inquisitor Mabel's 7-Day Gifts",
98+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
9599
kind: "event",
96-
startAt: "2026-07-07T00:00:00.000Z",
97-
endAt: "2026-07-28T23:59:00.000Z",
100+
startAt: "2026-07-29T01:30:00.000Z",
101+
endAt: "2026-08-18T23:59:00.000Z",
98102
recurrence: "daily",
99103
},
100104
{
101-
id: "monsterling-trait-change-support",
102-
title: "Monsterling Trait Change Support",
103-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
105+
id: "special-missions-with-mabel",
106+
title: "Special Missions with Mabel",
107+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
104108
kind: "event",
105-
startAt: "2026-07-07T00:00:00.000Z",
109+
startAt: "2026-07-29T01:30:00.000Z",
106110
endAt: "2026-08-18T23:59:00.000Z",
107111
recurrence: "none",
108112
},
109113
{
110-
id: "legendary-monster-reginula-power-up-support",
111-
title: "Legendary Monster Reginula Power Up Support",
112-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
114+
id: "mabel-invitation-to-break-the-ice",
115+
title: "An Invitation to Break the Ice",
116+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
113117
kind: "event",
114-
startAt: "2026-07-07T00:00:00.000Z",
118+
startAt: "2026-08-12T00:00:00.000Z",
115119
endAt: "2026-08-18T23:59:00.000Z",
116120
recurrence: "none",
117121
},
118122
{
119-
id: "invitation-to-break-the-ice",
120-
title: "An Invitation to Break the Ice",
121-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
123+
id: "anomaly-blue-shadow",
124+
title: "Anomaly: Blue Shadow",
125+
noticeTitle: MABEL_EVENT_NOTICE_TITLE,
122126
kind: "event",
123-
startAt: "2026-07-22T00:00:00.000Z",
124-
endAt: "2026-07-28T23:59:00.000Z",
127+
startAt: "2026-08-05T00:00:00.000Z",
128+
endAt: "2026-08-18T23:59:00.000Z",
129+
recurrence: "daily",
130+
},
131+
{
132+
id: "mabel-update-check-in-discord",
133+
title: "Mabel Update Check-In!",
134+
noticeTitle: MABEL_DISCORD_NOTICE_TITLE,
135+
kind: "event",
136+
startAt: "2026-07-29T00:00:00.000Z",
137+
endAt: "2026-08-06T01:00:00.000Z",
125138
recurrence: "none",
126139
},
127140
{
128-
id: "anomaly-gulgak",
129-
title: "Anomaly: Gulgak",
130-
noticeTitle: SUMMER_DIVE_NOTICE_TITLE,
141+
id: "mabel-character-trivia-discord",
142+
title: "New Character Mabel Debut! Character Trivia Event",
143+
noticeTitle: MABEL_DISCORD_NOTICE_TITLE,
131144
kind: "event",
132-
startAt: "2026-07-15T00:00:00.000Z",
133-
endAt: "2026-07-28T23:59:00.000Z",
134-
recurrence: "daily",
145+
startAt: "2026-07-29T00:00:00.000Z",
146+
endAt: "2026-08-19T01:00:00.000Z",
147+
recurrence: "none",
135148
},
136149
];

0 commit comments

Comments
 (0)