-
Notifications
You must be signed in to change notification settings - Fork 241
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
First prototype to show tasks on calendar and redirect to tasks app #1798
First prototype to show tasks on calendar and redirect to tasks app #1798
Conversation
Currently changing the settings to display the tasks requires a refresh of the page. As the eventobjects of the current time ranges are already cached. Is there an easy way to force requery of the time ranges? |
There is a fetchedTimeRanges store. You will have to add a mutation to reset the entire store. After that, if you increment the modificationCount, it will force fullCalendar to rerender and since there are no time-ranges, it will fetch them from the server. |
@bfritscher Thank you very much for this pull-request :) |
Only a superficial thing: It should be "Show tasks in calendar" (on → in) and it should be below "Enable birthday calendar" as it is sort of related since it adds a virtual kind of calendar. |
Hmm ok, then maybe test with just the |
aCalendar (10Mio.+ downloads on gplay) uses unchecked checkboxes. |
@bpcurse could you show a screenshot? |
@jancborchardt Sure, it looks like this (in dark mode): Overdue items have a solid color (filled) checkbox with an exclamation mark in it. |
Since tasks can have both a start- and a due date, it would be great if these task will actually occupy the space in the week view just like a calendar item does. This way you can visually see where in the day the task fits. |
I’d agree with @bpcurse that using non-filled checkboxes or filled ones depending on state is best – just like the Tasks app indeed does, so we have symmetry there. @armaccloud this seems like something for a follow-up pull request. |
I am looking forward to this feature. I hope it gets figured out soon. I saw the new separation of calendars with and without task lists. I assume this is related and it got me excited. |
Hey @bfritscher, |
@bfritscher I would really like to include this in the next minor release. |
@georgehrke I can set aside some time this evening to make an updated pull request. Summary of the changes discussed above:
|
eb9b14e
to
d171faa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me now, except for the minor wording change.
Yes, it looked good when i checked it earlier. |
Hey guys I am relatively new to github. Is it possible for normal users to pull requests such as this to our own nextcloud instances. I am very excited for this feature |
As discussed further above, I improved the support for VTODO in calendar-js, so we no longer need the hack in I will take care of rebasing and resolving the small leftover ToDos tomorrow. |
- supports taks in mixed calendars or on task only calendars - feature can be toggled in settings - checkbox icon adapts to light and dark text and is checked if task is done - if start date is available event duration is set from start to due date - clicking on event redirects to task app Signed-off-by: Boris Fritscher <[email protected]>
Signed-off-by: Boris Fritscher <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
539e4c1
to
6cb9511
Compare
…usly done in calendarObject model Signed-off-by: Georg Ehrke <[email protected]>
…nc func in eventClick handler Signed-off-by: Georg Ehrke <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
Signed-off-by: Georg Ehrke <[email protected]>
@tcitworld Is this good to go from your side? :) |
@bfritscher Thanks a lot for this contribution! |
@georgehrke Thank you for the improvements and the merge! |
When will the next calendar release happen? Would love to test this great new feature :) |
2.1.0 will probably come end of June / early July. I had too many other things on my plate last month and didn't manage to work as much on the Calendar as i hoped to. |
This is a start to address issue #28 . Feedback is welcome.