fix: event creation with alarm - #8797
Conversation
fix(resources): tidy up the room filter row
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
cd12e64 to
8588554
Compare
|
/backport to stabler6.6 |
odzhychko
left a comment
There was a problem hiding this comment.
Code looks good. Works as expected.
Thx for fixing what I broke...
| * @param {boolean=} data.isDefault Whether this is the default alarm | ||
| */ | ||
| addAlarmToCalendarObjectInstance({ | ||
| calendarObjectInstance = this.calendarObjectInstance, |
There was a problem hiding this comment.
thought(non-blocking): addAlarmToCalendarObjectInstance and removeAlarmFromCalendarObjectInstance should eventually move to util/alarm.js.
util/alarm.js#updateDefaultAlarm should not access the calendarObjectInstanceStore because in general stores can access utils, but utils should never access stores.
Also use of calendarsStore() can be removed by passing calendar as parameter.
There was a problem hiding this comment.
util/alarm.js#updateDefaultAlarm should not access the calendarObjectInstanceStore because in general stores can access utils, but utils should never access stores.
I agree. This will need to be refactored at some point.
And mp, we all miss things... 10 years of spaghetti code to fix.
|
The backport to # Switch to the target branch and update it
git checkout stabler6.6
git pull origin stabler6.6
# Create the new backport branch
git checkout -b backport/8797/stabler6.6
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 104e4d51
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/8797/stabler6.6Error: Failed to clone repository: Failed to create working tree: Preparing worktree (new branch 'backport/8797/stabler6.6') Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
/backport to stable6.6 |
Summary
calendarObjectInstance#8737