nextcloud / nextcloud/calendar

Add a better message when an ICS is invalid

Open
#8,333 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement Feature: Importing Feature: WebCal
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Is your feature request related to a problem? Please describe.

Following #8332 , it might be good to get a better message than "there is an error" when trying to import an invalid ICS calendar.

Describe the solution you'd like

Some kind of message like "This calendar is invalid", and it could be even better if that gives a direct link to the validator, like "Please check the validator: https://icalendar.org/validator.html" ; or even better "This calendar is invalid, check it here: https://icalendar.org/validator.html.html?url=https://foo.bar.tld/calendar.ics" , which could give a direct knowledge of the trouble to the user.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the calendar import flow to find where the generic error "there is an error" is produced; the issue does not name a file or test. Review how the imported calendar URL is available before deciding whether to show only an invalid-calendar message or also a validator link. Done means invalid ICS imports give a more useful, user-facing message.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.