Skip to content

Comments

fix: don't apply default calendar on Nextcloud < 29#5980

Merged
st3iny merged 1 commit intomainfrom
fix/default-calendar-lt-29
May 3, 2024
Merged

fix: don't apply default calendar on Nextcloud < 29#5980
st3iny merged 1 commit intomainfrom
fix/default-calendar-lt-29

Conversation

@st3iny
Copy link
Member

@st3iny st3iny commented May 3, 2024

Fix #5942

The feature to set the default calendar is only available in Nextcloud >= 29 so users might be confused by the default calendar choice which they can't influence.

Simply use the old logic (first sorted calendar) on older instances.

The feature to set the default calendar is only available in Nextcloud
>= 29 so users might be confused by the default calendar choice which
they can't influence.

Signed-off-by: Richard Steinmetz <[email protected]>
@st3iny st3iny added 3. to review Waiting for reviews bug labels May 3, 2024
@st3iny st3iny added this to the v4.8.0 milestone May 3, 2024
@st3iny st3iny self-assigned this May 3, 2024
@st3iny
Copy link
Member Author

st3iny commented May 3, 2024

/backport to stable4.7

@backportbot backportbot bot added the backport-request A backport was requested for this pull request label May 3, 2024
@codecov
Copy link

codecov bot commented May 3, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 23.51%. Comparing base (71ce4bd) to head (b46ea0d).
Report is 6 commits behind head on main.

Files Patch % Lines
src/store/calendarObjects.js 0.00% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5980      +/-   ##
============================================
- Coverage     23.52%   23.51%   -0.01%     
  Complexity      455      455              
============================================
  Files           246      246              
  Lines         11716    11718       +2     
  Branches       2144     2155      +11     
============================================
  Hits           2756     2756              
  Misses         8646     8646              
- Partials        314      316       +2     
Flag Coverage Δ
javascript 15.16% <0.00%> (-0.01%) ⬇️
php 58.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@st3iny st3iny merged commit eb60f90 into main May 3, 2024
@st3iny st3iny deleted the fix/default-calendar-lt-29 branch May 3, 2024 13:57
@backportbot backportbot bot removed the backport-request A backport was requested for this pull request label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

Development

Successfully merging this pull request may close these issues.

new event does not use Default calendar anymore

2 participants