You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The normal edit flow already handles all the cases outlined below, but it's important to understand this flow in detail. In gider.im, recurring entries are managed with a smart data approach, which requires us to address these specific scenarios. In the future, I plan to write tests to ensure that we can develop this feature confidently.
- If it's an exlclusion edit
- just update the exclusion entry
- If it's a single entry edit
- just update the entry
- If it's a ghost record
- create a new entry and exclusion
- If it's a recurring entry AND user checks "apply the subsequents"
- If we are editing the main entry and there is no exclusions just update the entry
- If we are not
- update all future exclusions as "deletion"
- stop the old recurring config (update recurringConfig)
- create a new recurring config
- create a new entry
- create a new exclusion
documentationImprovements or additions to documentation
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The normal edit flow already handles all the cases outlined below, but it's important to understand this flow in detail. In gider.im, recurring entries are managed with a smart data approach, which requires us to address these specific scenarios. In the future, I plan to write tests to ensure that we can develop this feature confidently.
Read #8 for understanding recurring entries.
Beta Was this translation helpful? Give feedback.
All reactions