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

Fix calendar events right drawer empty fields #6271

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

bosiraphael
Copy link
Contributor

Fix calendar events right drawer empty fields

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

  • Added CalendarEventDetailsEffect component to update store with calendar event details (packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetailsEffect.tsx)
  • Integrated CalendarEventDetailsEffect into RightDrawerCalendarEvent to handle empty fields (packages/twenty-front/src/modules/activities/calendar/right-drawer/components/RightDrawerCalendarEvent.tsx)
  • Included RecordValueSetterEffect in RightDrawerCalendarEvent for setting and updating record values (packages/twenty-front/src/modules/activities/calendar/right-drawer/components/RightDrawerCalendarEvent.tsx)

2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

upsertRecords([record]);
}, [record, upsertRecords]);

return <></>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Style: Returning an empty fragment may be unnecessary. Consider returning null instead.

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

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

LGTM :p What a beautiful code

@charlesBochet charlesBochet merged commit 2218e20 into main Jul 16, 2024
13 checks passed
@charlesBochet charlesBochet deleted the fix-calendar-events-right-drawer branch July 16, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants