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

Set user status to busy when own calendar contains busy event #31177

Closed
3 tasks
Tracked by #31607 ...
alexandremottier opened this issue Feb 14, 2022 · 7 comments · Fixed by #40615 or #42309
Closed
3 tasks
Tracked by #31607 ...

Set user status to busy when own calendar contains busy event #31177

alexandremottier opened this issue Feb 14, 2022 · 7 comments · Fixed by #40615 or #42309
Assignees
Labels
2. developing Work in progress enhancement feature: caldav Related to CalDAV internals feature: status

Comments

@alexandremottier
Copy link

alexandremottier commented Feb 14, 2022

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

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

Availability status seems not to be synced with Nextcloud Calendar like Microsoft Outlook with Teams.

Describe the solution you'd like

When a "busy" event is in progress in Nextcloud Agenda, set availability status in Talk as "busy" or "to not disturb" and eventually share informations about the event in progress as status message (in option).

Describe alternatives you've considered**

Microsoft does the same with Outlook and Teams/Skype for Business. If a calendar event is in progress with "busy" status, Teams status is "busy" or "in a meeting". If an event is "out of office", Teams status is "out of office".

Nextcloud is an open source and very powerful alternative to GAFAM, so it would be very interesting, in my opinion.

Work packages

  • Status automation
  • User documentation
  • Admin documentation (if any)

Follow up

@alexandremottier alexandremottier added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Feb 14, 2022
@joshtrichards joshtrichards added the feature: caldav Related to CalDAV internals label Aug 27, 2023
@ChristophWurst ChristophWurst changed the title Enable sync between agenda events and talk status Set user status to busy when own calendar contains busy event Sep 13, 2023
@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Sep 13, 2023
@ChristophWurst ChristophWurst added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Sep 21, 2023
@jancborchardt
Copy link
Member

Some additions after talking with @miaulalala:

  • If there is an event in your calendar and you are busy, the status text is set to "Busy"
  • We could set the status type to "Do not disturb", but after thinking about it we don’t do it either for calls and this might make you miss messages you get while this meeting occurs. So we shouldn’t implicitly set it.
  • If you happen to be in a call, where we use "In a call", this will override the calendar "Busy" state since it is more specific

@miaulalala
Copy link
Contributor

@nimishavijay @jancborchardt I will use the existing "In a meeting" as a text.

But the question is which status we should use (Away isn't really correct, neither is DnD, nor is Online true either.) Can we create a new status which is "Busy" and add it to the status modal?

Would need a new icon for the status:

image

@nimishavijay
Copy link
Member

I think it's a good idea to introduce a "Busy" status :) (for reference Teams has like a whole bunch of statuses and Slack has only available and offline).

The icon depends on what it would be used for. Some options:

🕓 Generic time icon, "busy" seems to be associated with "waiting" or "in progress"
📆 Calendar icon to indicate we are busy with an event

I am not able to figure out if the exsiting icons are MDI icons or emojis or something else. Do you know more about this?

I'm also wondering if we need the "Away" status now, it could most of the time be replaced by the "Offline" or "Busy" status (at least according to my understanding, what do you think?) cc @nextcloud/designers as well :)

@ChristophWurst
Copy link
Member

Reopening because we had to disable the feature for now via #41714.

@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of and removed 2. developing Work in progress labels Nov 29, 2023
@miaulalala
Copy link
Contributor

Reimplement this with an index table that is written to onEventCreate and onEventUpdate for the calendar

@ChristophWurst
Copy link
Member

ChristophWurst commented Dec 11, 2023

The purpose of the index will be to have quick access to events that start or end in a given timeframe (e.g. next/last 5mins).

@ChristophWurst
Copy link
Member

OTOH we already have that, kind of, with firstoccurrence and lastoccurrence in oc_calendarobjects. The only thing missing are recurring events.

So the question is: how much performance benefit do we get from another index vs just using the existing infrastructure and a range request? Do we have flame graphs of the previous meeting automation and how it slowed down the system when a call started?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment