Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Daily Plan organization team types #2929

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

GloireMutaliko21
Copy link
Contributor

@GloireMutaliko21 GloireMutaliko21 commented Aug 19, 2024

Description

Refactoring of daily plan typing. Added organizationTeamId on model

Regarding this PR : ever-co/ever-gauzy#8082 we need to improve also for Ever Teams corresponding types

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@GloireMutaliko21 GloireMutaliko21 self-assigned this Aug 19, 2024
@GloireMutaliko21 GloireMutaliko21 changed the title refact: daily plan add teamId on model [Improvement] Daily Plan organization team types Aug 19, 2024
@GloireMutaliko21 GloireMutaliko21 added this to the v0.2.0 milestone Aug 19, 2024
@GloireMutaliko21 GloireMutaliko21 marked this pull request as ready for review August 20, 2024 11:08
@evereq evereq requested a review from Cedric921 August 27, 2024 20:08
@evereq
Copy link
Member

evereq commented Aug 27, 2024

@Cedric921 can you review this one?

Copy link
Contributor

@Cedric921 Cedric921 left a comment

Choose a reason for hiding this comment

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

Everything is good in this PR, I think we can merge it now.

But we need to create another Issue/PR to update :

  • Nextjs endpoints for daily plans
  • client call functions: getAllDayPlansAPI(), getMyDailyPlansAPI(), getDayPlansByEmployeeAPI()
  • hook functions: getAllDayPlans(), getMyDailyPlans() , getEmployeeDayPlans()

For all these functions we also need to add the params organizationTeamId or activeTeamId so that, when we change the active team in Page , the data (dailyPlan) will be filtered by the new active Team.

@evereq evereq merged commit 35abf3c into develop Aug 28, 2024
12 checks passed
@evereq evereq deleted the fix/daily-plan-feature-add-team-field branch August 28, 2024 06:25
@evereq
Copy link
Member

evereq commented Aug 28, 2024

@GloireMutaliko21 please work on items from above comment as priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants