Skip to content

feature/activity-logs-project#180

Merged
mdawoud27 merged 8 commits into
mainfrom
feature/179/activity_logs_project
Apr 19, 2025
Merged

feature/activity-logs-project#180
mdawoud27 merged 8 commits into
mainfrom
feature/179/activity_logs_project

Conversation

@mdawoud27
Copy link
Copy Markdown
Contributor

PR Checklist (required)

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.

  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

Related Issue

Closes #179

@mdawoud27 mdawoud27 added the enhancement New feature or request label Apr 19, 2025
@mdawoud27 mdawoud27 requested a review from Copilot April 19, 2025 09:16
@mdawoud27 mdawoud27 self-assigned this Apr 19, 2025
@mdawoud27 mdawoud27 linked an issue Apr 19, 2025 that may be closed by this pull request
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

This PR introduces activity log tracking for various project-related actions such as project creation, updating, deletion, restoration, and managing project members. The changes involve inserting calls to activity logging functions within the project controller methods to capture relevant activity details.

  • Added activity logs to create, update, status change, priority update, delete, restore, add member, and remove member endpoints.
  • Integrated generateActivityDetails for detailed logging on project creation and update.
  • Updated imports to include new activity log utility functions.
Comments suppressed due to low confidence (1)

src/controllers/project.controller.js:821

  • [nitpick] Consider using a more descriptive action name for priority update logs (e.g., 'PRIORITY_UPDATED') to differentiate these logs from general project updates.
action: 'UPDATED',

@mdawoud27 mdawoud27 merged commit 6963b69 into main Apr 19, 2025
11 checks passed
@mdawoud27 mdawoud27 deleted the feature/179/activity_logs_project branch April 19, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Activity logs for the project controller

2 participants