Feature request: the PTO app should send users an iCal invitation to book their time.

NEW
Unassigned

Status

Webtools
PTO
--
enhancement
3 years ago
3 years ago

People

(Reporter: mhoye, Unassigned)

Tracking

Firefox Tracking Flags

(firefox45 affected)

Details

(Reporter)

Description

3 years ago
From email:
--
On Thu, Nov 5, 2015 at 6:30 PM Shea Helms <shelms@mozilla.com> wrote: PLEASE update your calendars with your PTO and be sure it shows you as busy on your calendars. Kelly received 5 declines today and most let her know they would be on PTO. Please please update your calendars.
--

The PTO app should send the person filing their time off an iCal invite that blocks off their schedule and sets it to "busy"

Comment 1

3 years ago
I wonder if this was (or could have been) a feature of the new PTO app that peterbe created a few years ago that was so much better than our current application, but never got launched because of what seemed like internal red tape.

:peterbe?
Flags: needinfo?(peterbe)
The new prototype that I wrote never had that feature unfortunately but it would have been cool. 

I've never worked on the current (aka old) PTO app but what might be a stepping stone progress is to *scream* this message on the page after you've filed in your PTO entry. The repo is https://github.com/mozilla/oldpto
Flags: needinfo?(peterbe)
What if... I were to just convert the app from PHP to NodeJS... would that be a good start?

Comment 4

3 years ago
Something else to consider: MozReview will eventually be able to pick an appropriate code reviewer based on the files that changed. The goal is to be able to throw some code over a figurative wall and it lands on an appropriate reviewer's plate without any human intervention. I want MozReview to have PTO insight so it doesn't select a reviewer if they will be on PTO for a while. This almost certainly requires some kind of privileged account in MozReview that can see PTO and/or calendar state for reviewers.

Please keep my future use case in mind.
(In reply to Gregory Szorc [:gps] from comment #4)
> Something else to consider: MozReview will eventually be able to pick an
> appropriate code reviewer based on the files that changed. The goal is to be
> able to throw some code over a figurative wall and it lands on an
> appropriate reviewer's plate without any human intervention. I want
> MozReview to have PTO insight so it doesn't select a reviewer if they will
> be on PTO for a while. This almost certainly requires some kind of
> privileged account in MozReview that can see PTO and/or calendar state for
> reviewers.
> 
> Please keep my future use case in mind.

Wouldn't it be better for MozReview to just API interface with the Google Calendar? That way it would draw conclusions about peoples presence based on PTO OR regular other absence. 

How about not trying to fix it in the old PHP code that nobody maintains or understands? Instead, we could just have a server-side cron job that accesses that mysql database and posts things *into* Google Calendar. 

Jen, would that be feasible? Have you done anything like that?
Flags: needinfo?(jhayashi)
(In reply to Peter Bengtsson [:peterbe] from comment #2)

> I've never worked on the current (aka old) PTO app but what might be a
> stepping stone progress is to *scream* this message on the page after you've
> filed in your PTO entry. The repo is https://github.com/mozilla/oldpto

Yeah, that would be a nice and simple first step. Perfect, enemy of good, etc etc.

Comment 7

3 years ago
I don't really care *how* MozReview gets availability data: I just care that it is possible in the future. I was merely stating a future use case so we don't accidentally exclude a future consumer.
Haven't done anything like that before.  Let me look into it.
Flags: needinfo?(jhayashi)
You need to log in before you can comment on or make changes to this bug.