feat: int api remove event#846
Merged
quangtuanitmo18 merged 6 commits intomasterfrom May 4, 2026
Merged
Conversation
Contributor
quangtuanitmo18
commented
Mar 2, 2026
- Integrate event deletion logic, pr api: feat: add api remove event hawk.api.nodejs#633
- In the event overview, add three dots in the upper right corner that will open a context menu (via codex-ui). There will also be a Delete Event button.
2a016b0 to
acb81f2
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds “delete event” functionality to the event modal, wiring a new GraphQL mutation through the API/store layers and exposing it via a 3-dots context menu in the event header (Codex UI popover), with notifications and list refresh on return to the project overview.
Changes:
- Added GraphQL mutation + API/store action to remove an event (and related data).
- Implemented event header “more” menu with delete confirmation, success/error notifications, and navigation back to overview.
- Integrated Codex UI Popover globally and adjusted popover z-index to render above modals.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/styles/base.css | Overrides Codex UI popover z-index to render above app modals. |
| src/store/modules/events/index.ts | Adds Vuex action to remove an event via API. |
| src/store/modules/events/actionTypes.js | Introduces REMOVE_EVENT action type constant. |
| src/main.ts | Ensures Codex UI styles are imported (order adjustment). |
| src/i18n/messages/ru.json | Adds RU strings for remove-event UI flow. |
| src/i18n/messages/en.json | Adds EN strings for remove-event UI flow. |
| src/components/project/Overview.vue | Listens for event-deleted from nested route component to refresh daily events. |
| src/components/event/Layout.vue | Re-emits event-deleted and navigates back to overview to close modal. |
| src/components/event/EventHeader.vue | Adds 3-dots menu, confirmation, store dispatch, notifier messages, and emits event-deleted. |
| src/components/event/EventActionsMenu.vue | New popover menu component rendering action items. |
| src/api/events/queries.ts | Adds MUTATION_REMOVE_EVENT GraphQL query string. |
| src/api/events/index.ts | Exposes removeEvent(projectId, eventId) API wrapper. |
| src/App.vue | Mounts Codex UI <Popover /> needed for usePopover(). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
neSpecc
reviewed
Mar 7, 2026
neSpecc
previously approved these changes
Apr 25, 2026
neSpecc
requested changes
Apr 29, 2026
neSpecc
approved these changes
May 4, 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.