Skip to content

feat: int api remove event#846

Merged
quangtuanitmo18 merged 6 commits intomasterfrom
feat-remove-event
May 4, 2026
Merged

feat: int api remove event#846
quangtuanitmo18 merged 6 commits intomasterfrom
feat-remove-event

Conversation

@quangtuanitmo18
Copy link
Copy Markdown
Contributor

  • 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.
image image

@quangtuanitmo18 quangtuanitmo18 requested a review from neSpecc March 2, 2026 10:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/components/event/EventHeader.vue Outdated
Comment thread src/components/event/EventHeader.vue
Comment thread src/components/event/EventHeader.vue Outdated
Comment thread src/store/modules/events/index.ts Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/components/event/EventHeader.vue Outdated
Comment thread src/components/event/EventHeader.vue Outdated
Comment thread src/components/event/EventActionsMenu.vue Outdated
Comment thread src/store/modules/events/index.ts Outdated
Comment thread src/api/events/index.ts Outdated
Comment thread src/components/event/EventActionsMenu.vue Outdated
Comment thread src/components/event/EventActionsMenu.vue
Comment thread src/components/event/EventActionsMenu.vue Outdated
Comment thread src/components/event/Layout.vue Outdated
neSpecc
neSpecc previously approved these changes Apr 25, 2026
Comment thread src/components/event/EventActionsMenu.vue
Comment thread src/components/event/Layout.vue Outdated
Comment thread src/i18n/messages/ru.json Outdated
Comment thread src/i18n/messages/ru.json Outdated
Comment thread src/i18n/messages/en.json Outdated
Comment thread src/components/event/EventActionsMenu.vue Outdated
Comment thread src/components/event/EventHeader.vue Outdated
Comment thread src/components/project/Overview.vue Outdated
Comment thread src/components/project/Overview.vue
@quangtuanitmo18 quangtuanitmo18 merged commit 3c0f215 into master May 4, 2026
3 checks passed
@quangtuanitmo18 quangtuanitmo18 deleted the feat-remove-event branch May 4, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants