Skip to content

feat(importing): show all writable calendars in picker#7876

Open
odzhychko wants to merge 1 commit intonextcloud:mainfrom
odzhychko:2572
Open

feat(importing): show all writable calendars in picker#7876
odzhychko wants to merge 1 commit intonextcloud:mainfrom
odzhychko:2572

Conversation

@odzhychko
Copy link
Copy Markdown
Contributor

@odzhychko odzhychko commented Jan 18, 2026

Mark unsupported calendars as non-selectable.
Previously they were fully hidden.

Show a message about why some calendars are not selectable.

Also show calendars that do not support events (and only support tasks and/or journal entries).
Previously, calendars that did not support events were hidden altogether.

Resolves: #2572

Before

Screenshot From 2026-01-18 23-18-03

After

image

Test data

SampleIcsFiles.zip

After (previous iterations)

First iteration Screenshot From 2026-01-18 23-15-30
Second iteraton (vertical margin 10px) Screenshot From 2026-01-25 19-38-36

Comment thread src/components/AppNavigation/Settings/ImportScreenRow.vue Outdated
Comment thread src/components/AppNavigation/Settings/ImportScreenRow.vue
@odzhychko odzhychko marked this pull request as draft January 21, 2026 15:43
Comment thread src/store/calendars.js
@odzhychko odzhychko marked this pull request as ready for review January 25, 2026 18:50
Comment thread src/components/AppNavigation/Settings/ImportScreenRow.vue Outdated
@ChristophWurst ChristophWurst self-requested a review January 28, 2026 13:20
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews enhancement New feature request labels Jan 28, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread src/store/calendars.js
@odzhychko odzhychko force-pushed the 2572 branch 2 times, most recently from fbd478e to a28bec5 Compare January 30, 2026 15:06
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 2, 2026

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@odzhychko
Copy link
Copy Markdown
Contributor Author

This code is now rebased and works with the recent update to Vue 3.

Comment thread css/import.scss Outdated
.import-modal-file-item {
display: flex;
padding-top: 10px;
margin-top: 10px;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey! Thanks a lot for the PR!

Could you please use css variables for these changes?

https://docs.nextcloud.com/server/latest/developer_manual/html_css_design/css.html

Suggested change
margin-top: 10px;
margin-top: calc(var(--default-grid-baseline) * 2);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Cool that the UI gets more consistent bit by bit 😄

Mark unsupported calendars as non-selectable.
Previously they were fully hidden.

Show a message about why some calendars are not selectable.

Also show calendars that do not support events (and only support tasks and/or journal entries).
Previously, calendars that did not support events were hidden altogether.

Resolves:  nextcloud#2572
Signed-off-by: Oleksandr Dzhychko <hey@oleks.dev>
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 enhancement New feature request feedback-requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check import ics for VTODOs and filter Calendars accordingly

3 participants