microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.25k stars 6.49k forks source link

[Run][New Plugin] Join Meeting #30405

Open amweiss opened 9 months ago

amweiss commented 9 months ago

Description of the new feature / enhancement

I found the calendar functionality of Raycast incredibly helpful for joining my next meeting. I would like to build a plugin for Run that does something similar to this: https://manual.raycast.com/calendar

Scenario when this would be used?

As a power user, it lets me make more of my workflow efficient through the Run PowerToy instead of opening Outlook and finding the next meeting to click the join link.

Supporting information

I can build it as a third-party plugin first, but I figured I would post it here in case anyone else was already thinking of it and eventually I think would make sense to be added if it can be tied into something like Windows.ApplicationModel.Appointments rather than having to add all your calendars to the plugin itself.

htcfreek commented 9 months ago

@crutkas Can we accept this feature request for implementation? @amweiss asked in #28769 if he can start implementing/create a PR.

crutkas commented 9 months ago

I would have to see how this would work agnostically else this would be a community plugin /needinfo

amweiss commented 9 months ago

@crutkas I'm not sure what you mean by agnostically here. Meaning not for Windows 10 or 11? I admit I only read through docs for Windows.ApplicationModel.Appointments so perhaps I should start by getting a PoC working externally first and then apply to get it merged in after.

amweiss commented 9 months ago

I might have realized what you meant now. I setup a basic proof of concept, but:

  1. "New Outlook" doesn't add entries to Windows.ApplicationModel.Appointments so this wouldn't work at all very soon.
  2. Entries that are created from O365 don't correctly set the OnlineMeetingLink values and there appears to be no way to fetch the meeting link.

If you see anything glaring wrong or that I missed, it's here: https://github.com/microsoft/PowerToys/compare/main...amweiss:PowerToys:run-agenda#diff-ffa29c1d9518f89cb6f5f686227491c5fda3c5a76e99e91728de865c9cb9088dR68

Otherwise it would require building out configurations and integrations to every calendar system as part of the plugin.

crutkas commented 9 months ago

Today i learned: https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.appointments.appointment.onlinemeetinglink?view=winrt-22621

amweiss commented 8 months ago

Well not quite the same, but pretty close for a more limited use-case seems like it will be built into Windows soon: https://blogs.windows.com/windows-insider/2024/01/18/announcing-windows-11-insider-preview-build-23619-dev-channel/#attachment_176821