18F / standup-slack-bot

A Slack bot to streamline team standup without disturbing the overall flow of conversation
https://standup-slack-bot.app.cloud.gov/
Other
87 stars 31 forks source link

Allow users to set themselves OOO for a period of time #70

Closed mgwalker closed 7 years ago

mgwalker commented 8 years ago

If someone knows they're going to be OOO, it might be nice to let standup bot know. It can even prefill their reports. Will put in a proper user story later, but some ideas (in a DM, presumably):

ooo for 3 days
ooo until wednesday
ooo through tuesday

And their report could just be a Today set to "Out of office" - possibly the OOO folks get rolled up in the summary?

stvnrlly commented 8 years ago

I like the idea of putting OOO in the summary. I'm not sure about prefilling, since we don't have a way for the bot to know who it expects to hear from. It also seems that people who are "out" sometimes do the standup anyway.

At a higher level, this is something that the bot could potentially pull from people's display names (since there's a norm of putting OOO in it when out). I wish there were an API method for editing the display name, so that we could make it more interactive.

mgwalker commented 8 years ago

They could put the channel name when they tell the bot: #channel ooo for 3 days, or use the channel name if someone says it from within the channel. But yeah, you've got a point.

stvnrlly commented 8 years ago

Ah, yes: this could be a good way to try out pre-population commands. Although, for this one, I wonder if we'd be building a feature that should really exist in Tock.

stvnrlly commented 8 years ago

Another challenge here: should the bot differentiate between all-day OOO and part-day OOO? And, if so, how?

mgwalker commented 8 years ago

What if the bot just looks for "OOO" in the "today" part of the user's standup? That doesn't help with the pre-populated thing, but it'd solve the all-day/part-day thing, and if someone is OOO but still wants to submit their standup, it'll handle that too.

stvnrlly commented 8 years ago

That's what I have written now (not pushed yet), but I don't think it would handle all-day/part-day. There's just too much variation in how people say it. I'm fine to let it be broad for now, though, and see if that's ok.

mgwalker commented 7 years ago

@waldoj kind of brought this question back up, particularly around all-day/part-day OOO. Is it something we should look into again?

Also, to the question of knowing which users should respond, this is similar to #101 - if the channel's standup is setup with an audience more specific then @here or @channel, the bot could infer that anyone in that audience who has marked themselves OOO should get an auto-filled OOO report. But I suspect that's a pretty narrow use case - out of the 9 channels using the bot in the TTS Slack, only 3 have audiences set.

For automatic OOO reports, the bot could also submit them to every channel where the user is present and there's a standup scheduled.

stvnrlly commented 7 years ago

I'm not sure that standup reports are considered mandatory enough that non-responders could be auto-marked as OOO. Here's a counter-proposal:

waldoj commented 7 years ago

👍 This is very sensible.

(I appreciate that you're probably using "OOO" as a shorthand here, but just in case: make sure that out of office is also a triggering phrase, too. I'm trying to eliminate my use of insular shorthand.)

mgwalker commented 7 years ago

Yep, your third bullet aligns with what I was thinking. And I really like the other two bullets as well. It sounds like we have a path forward.