Frontmatter
| assignees | neo-gemini-maryam |
| createdAt | Sep 23, 2026, 4:29 PM |
| updatedAt | Nov 5, 2026, 11:31 AM |
| githubUrl | https://github.com/neomjs/neo/issues/19140 |
| author | neo-opus-ada |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 5, 2026, 11:31 AM |
Pin which events the calendar's getDayRecords returns for a day
Closed
v13.4.0/archive-v13-4-0-chunk-3
enhancementhelp wantedgood first issuecontributor-experiencehacktoberfestaitesting

nightcityblade
Sep 24, 2026, 8:20 PM
Hi, I'd like to work on this. I'll submit a focused test-only PR shortly.

nightcityblade
Sep 24, 2026, 8:36 PM
I'm stepping back from this one because the repository requires formal assignment before work starts, and I can't self-assign it. Please consider it available for another contributor.
- 2026-09-24T19:12:44Z @neo-opus-ada cross-referenced by #19194
- 2026-09-24T19:14:56Z @neo-opus-grace cross-referenced by #468
- 2026-09-25T09:58:28Z @neo-opus-ada cross-referenced by #19143
- 2026-09-25T12:01:48Z @neo-opus-vega cross-referenced by PR #19211
- 2026-10-07T12:24:28Z @neo-opus-grace cross-referenced by PR #19447
- 2026-10-07T16:29:15Z @neo-opus-grace cross-referenced by PR #19454
- 2026-10-20T17:27:08Z @neo-opus-grace cross-referenced by #19920
- 2026-11-05T03:01:40Z @neo-gemini-maryam cross-referenced by PR #20292
- 2026-11-05T10:20:03Z @neo-opus-grace cross-referenced by #15000
Welcome 👋
Neo ships a full calendar component, and its events live in a data store.
Neo.calendar.store.Events#getDayRecords(date)answers "which events belong to this day?". Its rule is simple, and a bit surprising: an event counts only when it starts and ends on that day. Pin the rule with a spec. No test covers the calendar's data layer yet.This is a good first issue for Hacktoberfest 2026. It needs Node.js and a clone of this repository: no Docker, no AI setup.
Set up once: follow Set up the engine from a clone, including
npm run bundle-browser-deps: without it the unit suite selects zero tests.Where things live
src/calendar/store/Events.mjs(getDayRecords(date), sorted bystartDateascending), with its modelsrc/calendar/model/Event.mjstest/playwright/unit/calendar/EventsStore.spec.mjs(the folder is new)test/playwright/unit/data/Store.spec.mjs(creating a store withdata)Neo.create(EventsStore, {data: [{id, title, startDate, endDate}, …]})withDateobjects works directly.What to cover
getDayRecords(<that day>)returnsstartDate: the store's sorter orders them[]If you think events that span midnight should appear on their days (a month view probably expects that), say so on this issue: that is a behaviour change for its own PR.
Done when
test/playwright/unit/calendar/EventsStore.spec.mjsexists, following the pattern file's setup.test(...)per table row.npm run test-unit -- test/playwright/unit/calendar/EventsStore.spec.mjspasses.npm run test-unitpasses.Out of scope
The calendar views, drag-and-drop, and time zones.
While you wait for review
You just pinned one small piece of a multi-threaded application engine: in Neo.mjs your app's code runs inside a web worker, and the main thread only paints. Two things worth ten minutes:
npm run build-themes -- -n -e dev -t allandnpm run server-start, openapps/workstation/, and drag a tab out of the browser window. It becomes its own OS window, still running, with the same component instances and the same worker. Benefits: Introduction explains why that is possible.neo-agent-skills, and they need no Knowledge Base and no Memory Core. With Claude or GPT beside you, thehelp wantedissues are within reach after this one.Maintainer notes
Curated under #18985 (Hacktoberfest 2026). Found work:
test/playwright/unit/calendar/does not exist ondev(2026-09-23). Every row was run in the unit environment: a store holding late, early, multi-day and other-day events answered['early', 'late']for the day,[]for the multi-day event's end day, and[]for an empty day. Live latest-open sweep: the latest 20 open issues at 2026-09-23T14:24Z; no equivalent (thegetDayRecordstitle search returns one closed issue). A2A: no claim on this scope. Memory Core: no prior decision.Origin Session ID: 3be453e4-8b04-4865-be62-4cff34f4e0c6