Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust CALDAV.test_connection to return a boolean or raise an exception with a message. (Fixes #802) #805

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

MelissaAutumn
Copy link
Member

This hopefully gives the user a little more feedback on what went wrong with their connection attempt.

Screenshots

image image

@MelissaAutumn MelissaAutumn self-assigned this Dec 19, 2024
@@ -51,6 +51,7 @@ const isError = props.type === 'error';
font-size: 0.8125rem;
font-weight: 700;
line-height: 1;
white-space: pre;
Copy link
Member Author

Choose a reason for hiding this comment

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

For our sweet newline character in the localization message

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, it is intended. Thanks.

@MelissaAutumn MelissaAutumn added the l10n update A string has been added or needs updating label Dec 19, 2024
Copy link
Collaborator

@devmount devmount left a comment

Choose a reason for hiding this comment

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

Thank you! I added the German translation.

remote-calendar-connection-error = The remote calendar could not be reached. Please verify your connection information and try again.
remote-calendar-connection-error = The remote calendar could not be reached due to {$reason}.

Please verify your connection information and try again.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this intended to be indented?

@@ -51,6 +51,7 @@ const isError = props.type === 'error';
font-size: 0.8125rem;
font-weight: 700;
line-height: 1;
white-space: pre;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, it is intended. Thanks.

@MelissaAutumn MelissaAutumn merged commit db8186e into main Dec 20, 2024
4 checks passed
@MelissaAutumn MelissaAutumn deleted the bugs/802-provide-caldav-errors-to-frontend branch December 20, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n update A string has been added or needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants