Merged
Conversation
neSpecc
reviewed
Apr 22, 2026
…or handling in bulkToggleEventMark and bulkUpdateAssignee methods
…ventMarks and clean up related tests
…e events as visited for a user
…hod for improved code reuse and clarity
Contributor
There was a problem hiding this comment.
Pull request overview
Adds backend support and test coverage for multi-select bulk actions on events, including bulk visit, bulk mark toggle, and bulk assignee updates.
Changes:
- Introduces new GraphQL mutations/types for bulk visiting events, bulk toggling marks, and bulk updating assignees.
- Adds resolver/helper logic to validate/dedupe bulk IDs, merge invalid IDs into
failedEventIds, and enqueue assignee notifications asynchronously. - Implements
EventsFactorybulk operations and adds Jest tests for resolvers/helpers/factory methods.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| test/resolvers/event-bulk-visit.test.ts | Adds resolver tests for bulkVisitEvents validation + failed ID merging |
| test/resolvers/event-bulk-update-assignee.test.ts | Adds resolver tests for EventsMutations.bulkUpdateAssignee and notification enqueueing |
| test/resolvers/event-bulk-toggle-marks.test.ts | Adds resolver tests for bulkToggleEventMarks semantics + validation |
| test/resolvers/bulk-events-helper.test.ts | Adds helper tests for fire-and-forget notification enqueueing |
| test/models/eventsFactory-bulk-visit.test.ts | Adds model tests for EventsFactory.bulkVisitEvent |
| test/models/eventsFactory-bulk-update-assignee.test.ts | Adds model tests for EventsFactory.bulkUpdateAssignee |
| test/models/eventsFactory-bulk-toggle.test.ts | Adds model tests for EventsFactory.bulkToggleEventMark |
| src/typeDefs/event.ts | Adds new GraphQL inputs/types/mutations for bulk operations |
| src/resolvers/helpers/bulkEvents.js | Adds bulk ID parsing/merging helpers + async notification enqueue helper |
| src/resolvers/event.js | Wires new bulk mutations and switches assignee notification sending to fire-and-forget |
| src/models/eventsFactory.js | Implements bulk visit, bulk mark toggle, bulk assignee update, and shared resolver for bulk IDs |
| package.json | Bumps package version |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
neSpecc
approved these changes
Apr 23, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tency across the codebase
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #640 +/- ##
===========================================
- Coverage 58.30% 43.21% -15.09%
===========================================
Files 19 53 +34
Lines 518 2455 +1937
Branches 95 517 +422
===========================================
+ Hits 302 1061 +759
- Misses 216 1318 +1102
- Partials 0 76 +76 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
FeironoX5
approved these changes
Apr 27, 2026
…ount from responses and enhancing error handling
…us and modified count, enhancing response clarity
…anges occur during bulk assignee update
neSpecc
approved these changes
Apr 28, 2026
…vent marks and update related documentation for clarity
…rized cases for improved readability and maintainability
neSpecc
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces multi-select on the project daily events list with a bulk action bar