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

Add scheduling availability settings #27466

Merged
merged 1 commit into from
Oct 18, 2021

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Jun 10, 2021

Fixes #27422

Bildschirmfoto von 2021-10-18 20-17-39
Bildschirmfoto von 2021-10-18 20-18-52

This is an early prototype for #27422

Bildschirmfoto von 2021-06-10 20-08-36

To do

  • Fetch current availability value form the scheduling inbox via a propfind
  • Ability to select a timezone
    • Auto-detect default via jstz
  • Ability to add another slot for a day
  • Ability to remove a slot from a day, but not the last one
  • Prop patch the scheduling inbox with the updated availability rrule
  • Start the week at Mo/Su depending on locale

Steps to test

  • Open the new settings
  • Set some slots where you want to be available and save them
  • Open the Calendar app
  • Create an event, invite another user or email address and open the free/busy view
  • You should see anything outside the availability slots as out of office (screenshot above)

Ref https://datatracker.ietf.org/doc/html/rfc7953

Follow-ups

@ChristophWurst
Copy link
Member Author

@jancborchardt @nimishavijay what do you think about the design? Would this be acceptable as a first version?

One element missing from the screenshot above is the timezone picker. I guess that has to be above or below the daily pickers.

@skjnldsv skjnldsv mentioned this pull request Oct 13, 2021
@jancborchardt

This comment has been minimized.

@ChristophWurst

This comment has been minimized.

@ChristophWurst

This comment has been minimized.

@ChristophWurst

This comment has been minimized.

@nimishavijay

This comment has been minimized.

@ChristophWurst

This comment has been minimized.

@ChristophWurst ChristophWurst force-pushed the feature/dav-scheduling-availability-settings branch from 1e6553d to 2757298 Compare October 18, 2021 18:03
@ChristophWurst ChristophWurst marked this pull request as ready for review October 18, 2021 18:03
@ChristophWurst ChristophWurst force-pushed the feature/dav-scheduling-availability-settings branch from 2757298 to d64ee1a Compare October 18, 2021 18:20
@ChristophWurst ChristophWurst force-pushed the feature/dav-scheduling-availability-settings branch from d64ee1a to f432dd2 Compare October 18, 2021 18:22
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 18, 2021
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 18, 2021
@ChristophWurst ChristophWurst merged commit a4368ad into master Oct 18, 2021
@ChristophWurst ChristophWurst deleted the feature/dav-scheduling-availability-settings branch October 18, 2021 20:56
ChristophWurst added a commit that referenced this pull request Oct 19, 2021
Tiny bug/limitation of #27466

Signed-off-by: Christoph Wurst <[email protected]>
ChristophWurst added a commit that referenced this pull request Oct 25, 2021
Tiny bug/limitation of #27466

Signed-off-by: Christoph Wurst <[email protected]>
@twlawrenceko
Copy link

Hello, I do not see the groupware option under Personal section. Currently on 21.0.4. Does this functionality require mail, contacts, calendars app installed and configured?

Thank you

@ChristophWurst
Copy link
Member Author

Hello, I do not see the groupware option under Personal section. Currently on 21.0.4. Does this functionality require mail, contacts, calendars app installed and configured?

Thank you

It's a 23 feature. Please refrain from asking questions on a github pull request. This is not a forum. Use https://help.nextcloud.com/c/support/7 for questions ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: dav feature: settings integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A user setting to define office hours for calendar scheduling
6 participants