Skip to content

Comments

🐛 fix(recurring-events): fix ui recurring event transitions#1091

Merged
victor-enogwe merged 1 commit intomainfrom
fix-series-ui-transition-1079-1081
Oct 9, 2025
Merged

🐛 fix(recurring-events): fix ui recurring event transitions#1091
victor-enogwe merged 1 commit intomainfrom
fix-series-ui-transition-1079-1081

Conversation

@victor-enogwe
Copy link
Contributor

What does this PR do?

This PR fixes the bugs that disabled users ability to transition recurring events to standalone events.

Use Case

closes #1079
closes #1081

Copilot AI review requested due to automatic review settings October 9, 2025 10:20
Copy link
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 fixes bugs that disabled users' ability to transition recurring events to standalone events. The changes refactor how recurrence handling is managed in the UI, particularly around event form interactions and update scope detection.

  • Simplifies recurrence toggle logic by removing form visibility state management
  • Fixes recurring event update scope determination by properly detecting recurrence changes
  • Introduces a utility component for conditional rendering to improve code clarity

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/web/src/views/Forms/EventForm/RecurringEventUpdateScopeDialog.tsx Refactors to use DirtyParser for recurrence change detection and fixes priority handling
packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/components/RecurrenceToggle.tsx Simplifies toggle logic by removing form visibility state and using ConditionalRender
packages/web/src/views/Forms/EventForm/DateControlsSection/RecurrenceSection/RecurrenceSection.tsx Removes form visibility state management and switches to ConditionalRender
packages/web/src/views/Calendar/components/Draft/sidebar/hooks/useSidebarActions.ts Adds proper recurrence change detection for event instance handling
packages/web/src/views/Calendar/components/Draft/hooks/state/useDraftConfirmation.ts Fixes update scope determination for standalone event transitions
packages/web/src/views/Calendar/Calendar.tsx Reorganizes imports and adjusts component positioning
packages/web/src/components/ConditionalRender/ConditionalRender.tsx Adds new utility component for conditional rendering
packages/web/src/common/parsers/dirty.parser.ts Makes recurrenceChanged method public for external usage

@victor-enogwe victor-enogwe merged commit 429223a into main Oct 9, 2025
4 checks passed
@victor-enogwe victor-enogwe deleted the fix-series-ui-transition-1079-1081 branch October 9, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant