-
Notifications
You must be signed in to change notification settings - Fork 100
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
feat: add alarms (reminders) #2743
base: master
Are you sure you want to change the base?
Conversation
4210a10
to
767cba3
Compare
Wow, thanks a lot for your contribution. I can see that this took a lot of work. From a first glance it looks great, both code and screenshots. I will give it a test as soon as I can. |
nickvergessen jancborchardt Could you please invite jaylinski to the Nextcloud org (if he likes)? Collaborating would be easier then. Thanks a lot! |
@jaylinski I only had a bit of time yet and played around with the feature a little. It seems to work nicely in general, although I didn't check yet if the reminders really trigger a notification on the server or mobile devices. So this is not an extensive review yet and I only collect some things I noticed.
|
This comment was marked as resolved.
This comment was marked as resolved.
In general it seems to work really nicely with most cases already thought out well. It will require a bit more testing as this is a huge feature with many corner cases. However, if the above things are fixed, I am fine with merging it already and proceed in follow-up PRs. Some minor design nitpicks can also be fixed later. |
Done |
@raimund-schluessler Thanks for the review. I'll fix the JS error. Regarding the removal of reminders that depend on the start/end-date. I thought about it and I agree.
Maybe there are other good options. |
@jaylinski We should stay in accordance to the CalDAV specification, which states that relative alarms without the date the alarm is related to are not allowed. See the description in https://icalendar.org/iCalendar-RFC-5545/3-6-6-alarm-component.html:
So, the options 2 and 3 in your list are not possible by the specification alone. Furthermore, the user would still see the alarms being present, and might falsely assume that they are still working, where in reality they won't. However, we are free to convert relative alarms to absolute alarms, if the related date is deleted. We could present the user with a popup to let him decide whether he wants to:
The other option would be to not confront the user with this problem, and simply convert relative to absolute alarms. This is what we mostly do, to prevent pop-ups and dialogs as they often interfere with the workflow. @jancborchardt and @nimishavijay might also have an opinion here. |
Completely agreed! Relative dates make more sense anyway, and for the deletion popup I would suggest that we show it but simplify the wording to
That way the user won't be confused when the alarm that they had set with the due date in mind goes off without any warning :) |
Fixes nextcloud#154 Signed-off-by: Jakob Linskeseder <[email protected]>
I just pushed the fix for the Since it is an edge-case, I tried to implement it as simple as possible and used the browser-native validation. If that's ok for you, I'll try to get the custom CSS for the As for the start/end-date deletion issue, I'll try to implement it as suggested by @nimishavijay. |
Description
This PR adds an alarms (reminder) feature to the tasks app.
Tasks
Screenshots
Fixes #154.